[FFmpeg-user] Rotating an mp4 video on Windows
peter.white at posteo.net
Mon Aug 8 12:07:43 EEST 2016
Peter White wrote:
> Elie Grouchko wrote:
>> I have been trying to rotate an mp4 video file on Windows, without
>> affecting the quality, encoding, etc. ...
> I believe that is not possible. At least I cannot think of a way of
> doing it without re-encoding.
Huh, apparently it is possible to do this losslessly. Metadata is the
$ ffmpeg -i input.mp4 -c copy -metadata:s:v rotate=270 target.mp4
But this obviously needs to be respected by the playback application, so
YMMV. VLC does work with this.
More information about the ffmpeg-user