Video thumbnail rotation

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

Post Reply
flatfield
Posts: 7
Joined: Fri Dec 06, 2019 6:39 am

Video thumbnail rotation

Post by flatfield » Sat Jan 11, 2020 4:23 pm

Hello everyone,

with xnviewmp 0.94.2 (16 bit version) I have an issue with video thumbnail rotation. In particular example, it is a video taken with an iPhone selfie cam which has "Rotation=180" in its metadata. VLC plays the video in its correct orientation, also the video thumbnail in Windows explorer has the correct orientation.

But the video thumbnail in xnviewmp is upside down. Could it be that the "Rotation" tag is not evaluated for video thumbnail creation in xnviewmp?

Thanks,
Georg

User avatar
xnview
Author of XnView
Posts: 32762
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Video thumbnail rotation

Post by xnview » Mon Jan 13, 2020 8:21 am

could you send me a video sample?
Pierre.

flatfield
Posts: 7
Joined: Fri Dec 06, 2019 6:39 am

Re: Video thumbnail rotation

Post by flatfield » Mon Jan 13, 2020 5:42 pm

Hi Pierre,

I sent you two small sample vids via email (one for portrait mode, one for 180 degs rotation).

Thanks a lot for looking into this.

Best,
Georg

flatfield
Posts: 7
Joined: Fri Dec 06, 2019 6:39 am

Re: Video thumbnail rotation

Post by flatfield » Sun Mar 22, 2020 8:08 am

Hi Pierre,

did you have a chance to look into this?

Thanks a lot,
Georg

User avatar
xnview
Author of XnView
Posts: 32762
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Video thumbnail rotation

Post by xnview » Mon Mar 23, 2020 4:15 pm

currently i have no way to fix it, i'll ask FFMPEG team
Pierre.

flatfield
Posts: 7
Joined: Fri Dec 06, 2019 6:39 am

Re: Video thumbnail rotation

Post by flatfield » Sat Mar 28, 2020 5:42 am

Hello Pierre,

what's your call to ffmpeg to create the thumbnails?

I have tried

Code: Select all

ffmpeg -i input.MOV -ss 00:00:00.0 -vframes 1 out.jpg
as well as

Code: Select all

ffmpeg -i input.MOV -vf thumbnail -frames:v 1 out.jpg
on my local build of ffmpeg, and the output has the right orientation for the sample videos I sent you.

Please also note, it is not an issue with ALL portrait mode videos. For example, portrait mode videos edited with splice on my iPhone, do have the correct thumbnail orientation in xnviewmp.

Thanks and best regards,
Georg

User avatar
xnview
Author of XnView
Posts: 32762
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Video thumbnail rotation

Post by xnview » Tue Mar 31, 2020 10:16 am

i use QtAV based on ffmpeg not ffmpeg
Pierre.

Post Reply