[FFmpeg-user] Merge files with different rotations

Gabriele Greco gabrielegreco at gmail.com
Mon Mar 30 12:25:24 EEST 2020

Hi guys,

Just wondering if there is a way to merge multiple files without re
encoding using the concat format (-f concat) when one or more of the files
are recorded with a mobile device using an upside/down orientation (rotate
metadata to 180).

If it's not possible, as i guess, there is a way to set the rotate metadata
not at file level but to handle it from a certain offset in the file so
that after the result file of the concat operation could then be used to
encode a video with a proper rotation for the whole length?


More information about the ffmpeg-user mailing list