Does WMP or VLC have an option to choose whether or not to obey rotational metadata?
For example, here is a video http://ge.tt/78hJIb63 4 seconds , 10MB
I recorded it with my mobile phone positioned upright. And i'm recording a cordless (phone) handset resting upright against the side of a sofa.
C:\Users\User\Downloads>mediainfo VID_20200822_172736580.mp4
General
Complete name : VID_20200822_172736580.mp4
Format : MPEG-4
.....
Rotation : 90°
...
C:\BLAH>
(ffmpeg -i on that video also shows that there is the rotational metadata there)
(that rotational metadata as shown by mediainfo, is an instruction or suggestion to video players to rotate it 90 degrees clockwise. The mobile phone recorded it such that it needs to be rotated 90 degrees clockwise to show right / be upright!) (So my phone encodes it with an incorrect rotation and uses rotational metadata to adjust!)
Some video players ignore rotational metadata, and some pay attention to it.
Here is how it plays in Windows Media Player 2009 / Windows Media Player in Windows 7.
Here is how it plays in VLC
Here is how it plays in both, if I remove rotational metadata.
ffmpeg -i VID_20200822_172736580.mp4 -metadata:s:v rotate="0" -c copy video_with_rotational_metadata_removed.mp4
In Windows Media Player 2009 / WMP on win7
In VLC
So clearly with WMP 2009 / WMP on Win7, it makes no difference, so WMP-2009-win7 ignores rotational metadata.
And with VLC it makes a difference, so VLC obeys rotational metadata.
Note- WMP 2013 / WMP on Win10 , obeys rotational metadata.
Is there any way, in WMP or VLC or alternative video player , to choose whether or not to obey rotational metadata? VLC does have a transform feature but that's not what i'm looking for.
Best Answer
VLC or WMP can't.
(I see you used ffmpeg to remove rotational metadata, good that it can do that, and coincidentally, also, usefully, ffplay can choose whether or not to obey rotational metadata, with the -noautorotate and -autorotate options that take no parameters are are about whether or not to obey rotational metadata). So e.g.
ffplay blah.mp4 -noautorotate
orffplay blah.mp4 -autorotate
(default)