[FFmpeg-user] How to remove rotation of a video?

Reino Wijnsma rwijnsma at xs4all.nl
Sun Mar 1 15:55:50 EET 2020


On 2020-02-27T13:23:02+0100, Ulf Zibis <Ulf.Zibis at gmx.de> wrote:
> unfortunately I now see, that there is a problem with that. Some other
> tags were completely removed, e.g. creation time, geo tags, etc
>
> What must I do to preserve all tags?
I believe the -map_metadata option is what you're looking for.

ffmpeg -i <input> -map_metadata 0 -metadata:s:v rotate=0 -c copy <output>

-- Reino

P.s. top-posting here is considered rude, so please stop it.


More information about the ffmpeg-user mailing list