Wrong video orientation
Moderators: XnTriq, helmut, xnview, Dreamer
-
- Posts: 2
- Joined: Wed Oct 02, 2019 10:32 am
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
-
- Posts: 6
- Joined: Thu Jan 05, 2017 4:11 pm
- Location: Switzerland
Re: Wrong video orientation
The same with IPhone Videos
-
- Posts: 2
- Joined: Wed Oct 02, 2019 10:32 am
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.
-
- Author of XnView
- Posts: 44883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Wrong video orientation
Please try to use installed codec
Code: Select all
useInternalVideoPlayer=false
Pierre.
-
- Posts: 21
- Joined: Sat Oct 31, 2020 4:58 pm
- Location: Highland, Scotland
Re: Wrong video orientation
When I make that change many of my phone camera mpg and mov videos refuse to play.
-
- Author of XnView
- Posts: 44883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 21
- Joined: Sat Oct 31, 2020 4:58 pm
- Location: Highland, Scotland
Re: Wrong video orientation
No, I had bad experiences with such packages years ago and avoid them.
-
- Posts: 37
- Joined: Fri Sep 26, 2014 10:15 am
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.
-
- Posts: 10
- Joined: Sat May 26, 2007 12:59 am
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.
-
- Author of XnView
- Posts: 44883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
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.
-
- Posts: 10
- Joined: Sat May 26, 2007 12:59 am
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
-
- Posts: 14
- Joined: Sat Jun 04, 2022 2:51 pm
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.
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 44883
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Wrong video orientation
Thanks to your detailed description I can reproduce the problem.
Pierre.
-
- Posts: 21
- Joined: Sat Oct 31, 2020 4:58 pm
- Location: Highland, Scotland
Re: Wrong video orientation
Thank you Pierre, I look forward to the next version.