Auto rotate a video if it was recorded upside down...

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
ghost zero
Posts: 842
Joined: 26 Apr 2010 17:48

Auto rotate a video if it was recorded upside down...

Post by ghost zero »

Please auto rotate a video if it was recorded upside down. This includes the preview playback and the thumbnail. Example, I used my phone to record an upside down .MP4 video because it was easier to hold my phone that way during the recording, but XYplorer is not smart enough to auto rotate the video back to normal like my phone's player or my computer's player. Please fix.

NOTE: My computer's player, Zoom Player MAX, is able to auto rotate the video because it uses the madVR video renderer.

Horst
Posts: 1354
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Auto rotate a video if it was recorded upside down...

Post by Horst »

For me XY does this already.
I guess this depends of what Codecs your system has installed.
I have the K-Lite codec package installed which includes Icaros for the thumbnails.
The preview pane rotates the IPhone mp4 videos correctly and also the thumbnails are fine.
Windows 11 Home, Version 25H2 (OS Build 26200.7462)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1404a (x64), Everything Toolbar 2.1.1, Listary Pro 6.3.6.99

ghost zero
Posts: 842
Joined: 26 Apr 2010 17:48

Re: Auto rotate a video if it was recorded upside down...

Post by ghost zero »

here is a sample upside down file recorded from my phone for you to test...
https://www.sendspace.com/file/oqcvti

highend
Posts: 14673
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Auto rotate a video if it was recorded upside down...

Post by highend »

Correctly oriented here, thumbnail + preview pane / preview tab...
One of my scripts helped you out? Please donate via Paypal

ghost zero
Posts: 842
Joined: 26 Apr 2010 17:48

Re: Auto rotate a video if it was recorded upside down...

Post by ghost zero »

i'm on win7 x64. not sure if that matters.

Horst
Posts: 1354
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Auto rotate a video if it was recorded upside down...

Post by Horst »

For me its also correctly oriented , thumbnail + preview pane / preview tab
Also the player of the K-Lite Standard (MPC-HC) shows it correctly oriented.
Windows 11 Home, Version 25H2 (OS Build 26200.7462)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1404a (x64), Everything Toolbar 2.1.1, Listary Pro 6.3.6.99

Horst
Posts: 1354
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Auto rotate a video if it was recorded upside down...

Post by Horst »

ghost zero wrote: 08 Jun 2021 14:55 i'm on win7 x64. not sure if that matters.
I guess its not the OS what matters, its the codecs you have installed
and what preview handler is resposible for .mp4
Windows 11 Home, Version 25H2 (OS Build 26200.7462)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1404a (x64), Everything Toolbar 2.1.1, Listary Pro 6.3.6.99

notabot
Posts: 60
Joined: 24 Feb 2021 12:34

Re: Auto rotate a video if it was recorded upside down...

Post by notabot »

Not tested ..

I guess the program you use to preview mp4 files does not respect the metadata that was added to your mp4.

You can use exiftool to show all the saved metadata for that file.
It will show a line Rotation = 180 (or similar; as said: not tested)

Post Reply