Page 1 of 2

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.

Re: Wrong video orientation

Posted: Mon Jul 05, 2021 4:12 pm
by fractl
xnview wrote: Wed Mar 24, 2021 7:38 am Please try to use installed codec

Code: Select all

useInternalVideoPlayer=false
I'm also experiencing this problem of inverted portrait videos in Linux version 0.98.4 64bits (May 31 2021). And when I tried to change the setting to false as Pierre suggested above, I went from upside down videos to black screen for every video. :?

Also, are there keyboard shortcuts for Play and Pause? I hate having to find my mouse in the middle of cycling through files just to hit Play, and I've looked through the settings without finding any so far.

Re: Wrong video orientation

Posted: Thu Mar 03, 2022 3:44 am
by walhalla
Same (known for a long time) problem here and no solution. All videos (taken with different divices) are shown correctly with other software (VNC, Faststone, ...). Only XnView is showing all videos upside down (yes, on the same machine). Unusable unfortunately.

Re: Wrong video orientation

Posted: Thu Mar 03, 2022 7:48 am
by xnview
walhalla wrote: Thu Mar 03, 2022 3:44 am Same (known for a long time) problem here and no solution. All videos (taken with different divices) are shown correctly with other software (VNC, Faststone, ...). Only XnView is showing all videos upside down (yes, on the same machine). Unusable unfortunately.
by using

Code: Select all

useInternalVideoPlayer=false

Re: Wrong video orientation

Posted: Thu Mar 03, 2022 2:18 pm
by walhalla
[/quote]
by using [code]useInternalVideoPlayer=false[/code]
[/quote]

Hi, I already tried this when i read it here. Changing this, it shows all videos horizontal / laying on the side. Not 180° wrong - only 90°. Is it better or less bad, but it is wrong. So I removed again.

I tried again, took some short videos with three different devices. All other players / editors show all this videos correctly. Only xnview is showing upside down or laying on side. Windows / Linux, whatever - same result.

Re: Wrong video orientation

Posted: Wed Jun 01, 2022 8:36 am
by Dreamer...

Re: Wrong video orientation

Posted: Mon Jun 13, 2022 6:01 pm
by JPro
xnview wrote: Thu Mar 03, 2022 7:48 am by using

Code: Select all

useInternalVideoPlayer=false
Thanks, that did the trick for me, although all my thumbnails for all the videos disappeared after that, leaving only file icon:
Screen Shot 2022-06-13 at 13.57.01 .png
Screen Shot 2022-06-13 at 13.57.01 .png (23.09 KiB) Viewed 10070 times
Is this expected? Is there a way to get thumbnails back without sacrificing orientation? I'm using XnView MP MacOSX Version 1.0 64bits (Apr 28 2022) with macOS v10.13.6.

Thank you.

Re: Wrong video orientation

Posted: Thu Jun 30, 2022 1:33 pm
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: Wrong video orientation

Posted: Thu Jun 30, 2022 5:50 pm
by m-a-r-k
Thank you Pierre, I look forward to the next version.