[FFmpeg-user] Vertically flipped mp4 video

Moritz Barsnick barsnick at gmx.net
Tue Jun 28 15:59:11 EEST 2022


On Tue, Jun 28, 2022 at 14:55:58 +0200, Ulf Zibis wrote:
> Am 28.06.22 um 13:45 schrieb Ulf Zibis:
> > how can I correct a vertically flipped mp4 video without re-encoding? The left side is on the right side and vice versa.
> I tried:
> ffmpeg -i input.mp4  -c copy -metadata:s:v:0 flip=horizontal output.mp4
> But this changed nothing :-(

Metadata flags do exist for rotating, but not for flipping. Thus this
cannot be done without re-encoding.

Even for rotation, the player needs to understand the flag. This is not
the case for all players.

Cheers,
Moritz


More information about the ffmpeg-user mailing list