sdakp.blogg.se

Ffmpeg rotate video 90
Ffmpeg rotate video 90









ffmpeg rotate video 90

Our goal is to resize videos and transpose them so they are the same way up (we use ffprobe to check their incoming rotation, and then apply the appropriate transpose flags) Is this a bug? Or have we been using ffmpeg incorrectly? I've verified that HEAD appears to give the same result at 3.3 Note the difference in the metadata in the second output.

ffmpeg rotate video 90

As of 3.3, it retains the metadata which makes the output display incorrectly.įfmpeg -noautorotate -i original.mp4 -metadata:s:v rotate=0 -vf scale=640:480,transpose=clock -f mp4 -y rotated.mp4 I'm not sure if this is a deliberate change, but given a h264 video with rotate=90 in its meta data, when you then rotated the video using the command below, the output video used to have no rotate metadata.











Ffmpeg rotate video 90