[FFmpeg-user] Rotating output in transcode pipeline with C

Jim Worrall coniophora at gmail.com
Thu Dec 15 01:05:35 EET 2016


I don't fully understand your question, but you can rotate video clockwise
90* as you input it by adding -vf "transpose=1" before -i

-vf transpose=2 should rotate it counter-clockwise.

On Tue, Dec 13, 2016 at 8:28 AM, Victor dMdB <ffmpeg at eml.cc> wrote:

> Hi!
>
> I have an input stream which comes from a mobile device, and therefore
> has rotation metadata and side_data display matrix.
>
> I would like to transcode this, then output a stream, physically rotated
> without metadata.
>
> Do I have to use avfilter? Or can I set a parameter in avformatcontext
> to transpose it?
>
> I've tried setting the output side_data, but would prefer directly
> output the rotated frames.
>
> Thanks in advance for the help!
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list