Page 1 of 1

Wrong video orientation

Posted: Wed Oct 02, 2019 11:10 am
by Opi
Subject: 0.93: Videos taken in portrait mode play in 180° orientation

XnView: MP 0.93.1 - 64 bit
OS: Windows 10 64bit


Actual behaviour: Videos taken in portrait mode with smartphones (tested with huawei p20 and xiaomi mi 9t) in mp4 container with h.264 codec have an rotation tag. XnView MP seems to read this tag, but turns the video in the wrong direction. If I play the same videos in VLC Player it's right.

The Problem is also described for the classic version of XnViev viewtopic.php?t=38328.
In the Classic version the orientation is ignored completely.

A sample file: http://s000.tinyupload.com/?file_id=015 ... 9736920614
Thank you

Re: Wrong video orientation

Posted: Fri Dec 27, 2019 1:26 pm
by Havusilta
The same with IPhone Videos

Re: Wrong video orientation

Posted: Tue Mar 23, 2021 5:29 pm
by Opi
Because nobody cares about it, the problem still exists in year 2021 in version 0.98.
Same procedure as in year 2019, I uninstalled the software and use Darktable instead.

Re: Wrong video orientation

Posted: Wed Mar 24, 2021 7:38 am
by xnview
Please try to use installed codec

Code: Select all

useInternalVideoPlayer=false

Re: Wrong video orientation

Posted: Wed Mar 24, 2021 6:41 pm
by m-a-r-k
When I make that change many of my phone camera mpg and mov videos refuse to play.

Re: Wrong video orientation

Posted: Thu Mar 25, 2021 7:49 am
by xnview
m-a-r-k wrote: Wed Mar 24, 2021 6:41 pm When I make that change many of my phone camera mpg and mov videos refuse to play.
do you have installed codecs like 'Klite codec pack'?

Re: Wrong video orientation

Posted: Thu Mar 25, 2021 5:57 pm
by m-a-r-k
No, I had bad experiences with such packages years ago and avoid them.