video captured from iphone gets rotated when converted to .mp4 using ffmpeg

后端 未结 10 1800
名媛妹妹
名媛妹妹 2020-12-01 02:31

When I try to upload videos captured from my iPhone in my app, the server performs a conversion from .mov to .mp4 so that it can be played in other platforms. However the pr

10条回答
  •  暖寄归人
    2020-12-01 02:48

    Use the vflip filter

    ffmpeg -i input.mov -vf "vflip" output.mp4
    

    Rotate did not work for me and transpose=1 was rotating 90 degrees

提交回复
热议问题