[FFmpeg-user] Video filters are ignoring -noautorotate

Andrew Pratt apratt at bookcameo.com
Thu Jul 22 22:10:05 EEST 2021


I’m noticing that -noautorotate is not being accounted for by the video filters. This is apparent with a rotated video input and grabbing a thumbnail from it using the video filters.

Tried it with a couple different commands, with the same results:

`ffmpeg -noautorotate -i [rotated-video.mov] -f mp4 output.mp4 -vframes 1 thumbnail.jpg`

`ffmpeg -noautorotate -i [rotated-video.mov] filter_complex split=1[screen0] -f mp4 output.mp4 -vframes 1 -map [screen0] thumbnail.jpg`

The output.mp4 is output without following the rotation metadata, but the thumbnail.jpg is output following the rotation metadata.

I would expect that with the -noautorotate flag on the input it would also honor that when applying the filters to the input.


More information about the ffmpeg-user mailing list