Wrong video orientation
Moderators: XnTriq, helmut, xnview, Dreamer
Wrong video orientation
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
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
The same with IPhone Videos
Re: Wrong video orientation
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.
Same procedure as in year 2019, I uninstalled the software and use Darktable instead.
Re: Wrong video orientation
Please try to use installed codec
Code: Select all
useInternalVideoPlayer=false
Pierre.
Re: Wrong video orientation
When I make that change many of my phone camera mpg and mov videos refuse to play.
Re: Wrong video orientation
No, I had bad experiences with such packages years ago and avoid them.
Re: Wrong video orientation
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.xnview wrote: ↑Wed Mar 24, 2021 7:38 am Please try to use installed codecCode: Select all
useInternalVideoPlayer=false
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
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
by usingwalhalla 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.
Code: Select all
useInternalVideoPlayer=false
Pierre.
Re: Wrong video orientation
[/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.
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.
-
- Posts: 8
- Joined: Fri May 20, 2022 7:07 am
Re: Wrong video orientation
Temporal solution
viewtopic.php?p=178221#p178221
viewtopic.php?p=178221#p178221
Re: Wrong video orientation
Thanks, that did the trick for me, although all my thumbnails for all the videos disappeared after that, leaving only file icon: 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
Thanks to your detailed description I can reproduce the problem.
Pierre.
Re: Wrong video orientation
Thank you Pierre, I look forward to the next version.