Video (mov) upside down and stuttering

Bugs which are supposed to be fixed in the next test version (not available yet)

Moderators: helmut, XnTriq, xnview, Dreamer

Timur Born
Posts: 16
Joined: Thu Apr 28, 2022 9:35 am

Video (mov) upside down and stuttering

Post by Timur Born »

Hello.

XnViewMP plays my iPhone 7 mov files upside down and playback stutters a lot. The same happens using the 1.0 beta. Playing the same files through Irfanview works without problems.
m-a-r-k
Posts: 17
Joined: Sat Oct 31, 2020 4:58 pm
Location: Highland, Scotland

Re: Video (mov) upside down and stuttering

Post by m-a-r-k »

It's a longstanding problem with HEVC format movies taken in portrait mode on you phone that Pierre doesn't seem able to fix, other than suggesting you use a codec pack.
Timur Born
Posts: 16
Joined: Thu Apr 28, 2022 9:35 am

Re: Video (mov) upside down and stuttering

Post by Timur Born »

Good to know. Thanks.
Dreamer...
Posts: 7
Joined: Fri May 20, 2022 7:07 am

Re: Video (mov) upside down and stuttering

Post by Dreamer... »

To rotate video you can use AddOn exiftool.exe
WIN+R
type cmd
press Enter

input command:

Code: Select all

c:\Program Files\XnViewMP\AddOn\exiftool.exe -overwrite_original -rotation=270 -if "$rotation eq "90"" -ext MP4 -ext mov C:\PATH\TO\DIR\OR\FILE
OR you can copy exiftool.exe from c:\Program Files\XnViewMP\AddOn folder to any you like and rename it to exiftool(-overwrite_original -rotation=270).exe
Then just drag and drop your problem file on it.

Enjoy!
Timur Born
Posts: 16
Joined: Thu Apr 28, 2022 9:35 am

Re: Video (mov) upside down and stuttering

Post by Timur Born »

Thanks for the hint, but that would be unnecessarily much work for so many files, since the problem is not in the files, but in the display of them.

All other software I tried displays the same portrait video files with correct rotation (except Irfanview, which keeps them landscape). So the EXIF is fine and XnViewMp just rotates wrong based on the already proper EXIF data.
m-a-r-k
Posts: 17
Joined: Sat Oct 31, 2020 4:58 pm
Location: Highland, Scotland

Re: Video (mov) upside down and stuttering

Post by m-a-r-k »

This works but changes the date stamp which is a problem for me. Just an additional task to change it back.
Dreamer...
Posts: 7
Joined: Fri May 20, 2022 7:07 am

Re: Video (mov) upside down and stuttering

Post by Dreamer... »

m-a-r-k wrote: Wed Jun 01, 2022 6:18 pm This works but changes the date stamp which is a problem for me.
Try paramet -overwrite_original_in_place except -overwrite_original
Timur Born
Posts: 16
Joined: Thu Apr 28, 2022 9:35 am

Re: Video (mov) upside down and stuttering

Post by Timur Born »

If all other software displays the correct orientation, including Windows Explorer thumbnails, wouldn't rotation via EXIF cause all others to fail? And if only XnView rotates upside down, does that not point to an issue with XnView rather than EXIF data?
Dreamer...
Posts: 7
Joined: Fri May 20, 2022 7:07 am

Re: Video (mov) upside down and stuttering

Post by Dreamer... »

Timur Born wrote: Wed Jun 01, 2022 7:30 pm If all other software displays the correct orientation, including Windows Explorer thumbnails, wouldn't rotation via EXIF cause all others to fail?
Yes it do 🙁
I don't know why dev can't fix this bug. Other soft what uses ffmpeg don't have this issues... 🤷‍♂️
m-a-r-k
Posts: 17
Joined: Sat Oct 31, 2020 4:58 pm
Location: Highland, Scotland

Re: Video (mov) upside down and stuttering

Post by m-a-r-k »

Dreamer... wrote: Wed Jun 01, 2022 7:15 pm Try paramet -overwrite_original_in_place except -overwrite_original
Thank you.
Dreamer...
Posts: 7
Joined: Fri May 20, 2022 7:07 am

Re: Video (mov) upside down and stuttering

Post by Dreamer... »

Seems like Glisher (autor of Total Commander) solved same issue:
https://ghisler.ch/board/viewtopic.php?p=402025
JPro
Posts: 5
Joined: Sat Jun 04, 2022 2:51 pm

Re: Video (mov) upside down and stuttering

Post by JPro »

m-a-r-k wrote: Thu May 05, 2022 5:44 pm It's a longstanding problem with HEVC format movies taken in portrait mode on you phone that Pierre doesn't seem able to fix, other than suggesting you use a codec pack.
Could you please elaborate on that codec pack usage suggestion? Is it relevant to macOS as well?

As for the orientation issue, so far I've been able to remedy that using

Code: Select all

useInternalVideoPlayer=false
in xnview.ini as suggested by the author here, but that removed my video thumbnails... Although, I think still preferable.
m-a-r-k
Posts: 17
Joined: Sat Oct 31, 2020 4:58 pm
Location: Highland, Scotland

Re: Video (mov) upside down and stuttering

Post by m-a-r-k »

No codec pack was suggested to me but the most commonly used one is a K-Lite Codec Pack. I refuse to use them due to bad experiences in the past.

That ini file hack does not work for me. It results in movies not showing at all.
Dreamer's exiftool command works for me and solves the problem.
User avatar
xnview
Author of XnView
Posts: 37883
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Video (mov) upside down and stuttering

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
Timur Born
Posts: 16
Joined: Thu Apr 28, 2022 9:35 am

Re: Video (mov) upside down and stuttering

Post by Timur Born »

Thanks Pierre. But the issue you linked to is named "0001320: Catalog not correctly updated after folder renaming ". ;)