Page 1 of 2
Video (mov) upside down and stuttering
Posted: Thu May 05, 2022 9:10 am
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.
Re: Video (mov) upside down and stuttering
Posted: Thu May 05, 2022 5:44 pm
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.
Re: Video (mov) upside down and stuttering
Posted: Thu May 05, 2022 6:01 pm
by Timur Born
Good to know. Thanks.
Re: Video (mov) upside down and stuttering
Posted: Wed Jun 01, 2022 8:33 am
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!
Re: Video (mov) upside down and stuttering
Posted: Wed Jun 01, 2022 9:08 am
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.
Re: Video (mov) upside down and stuttering
Posted: Wed Jun 01, 2022 6:18 pm
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.
Re: Video (mov) upside down and stuttering
Posted: Wed Jun 01, 2022 7:15 pm
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
Re: Video (mov) upside down and stuttering
Posted: Wed Jun 01, 2022 7:30 pm
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?
Re: Video (mov) upside down and stuttering
Posted: Wed Jun 01, 2022 7:52 pm
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...

Re: Video (mov) upside down and stuttering
Posted: Thu Jun 02, 2022 5:55 pm
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.
Re: Video (mov) upside down and stuttering
Posted: Fri Jun 03, 2022 1:51 pm
by Dreamer...
Seems like Glisher (autor of Total Commander) solved same issue:
https://ghisler.ch/board/viewtopic.php?p=402025
Re: Video (mov) upside down and stuttering
Posted: Mon Jun 13, 2022 6:10 pm
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
in xnview.ini as suggested by the author
here, but that removed my video thumbnails... Although, I think still preferable.
Re: Video (mov) upside down and stuttering
Posted: Tue Jun 14, 2022 5:45 pm
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.
Re: Video (mov) upside down and stuttering
Posted: Thu Jun 30, 2022 1:34 pm
by xnview

Thanks to your detailed description I can reproduce
the problem.
Re: Video (mov) upside down and stuttering
Posted: Thu Jun 30, 2022 1:58 pm
by Timur Born
Thanks Pierre. But the issue you linked to is named "0001320: Catalog not correctly updated after folder renaming ".
