Wrong video orientation

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
Opi
Posts: 2
Joined: Wed Oct 02, 2019 10:32 am

Wrong video orientation

Post 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
Havusilta
Posts: 6
Joined: Thu Jan 05, 2017 4:11 pm
Location: Switzerland

Re: Wrong video orientation

Post by Havusilta »

The same with IPhone Videos
Opi
Posts: 2
Joined: Wed Oct 02, 2019 10:32 am

Re: Wrong video orientation

Post 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.
User avatar
xnview
Author of XnView
Posts: 34936
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Wrong video orientation

Post by xnview »

Please try to use installed codec

Code: Select all

useInternalVideoPlayer=false
Pierre.
m-a-r-k
Posts: 7
Joined: Sat Oct 31, 2020 4:58 pm
Location: Highland, Scotland

Re: Wrong video orientation

Post by m-a-r-k »

When I make that change many of my phone camera mpg and mov videos refuse to play.
User avatar
xnview
Author of XnView
Posts: 34936
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Wrong video orientation

Post 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'?
Pierre.
m-a-r-k
Posts: 7
Joined: Sat Oct 31, 2020 4:58 pm
Location: Highland, Scotland

Re: Wrong video orientation

Post by m-a-r-k »

No, I had bad experiences with such packages years ago and avoid them.
Post Reply