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

Jim Worrall coniophora at gmail.com
Thu Dec 15 01:08:09 EET 2016


Oh, if you need to remove the metadata, assuming the rotation metadata
belongs to the stream, add -map_metadata:s -1 to the command, or just
-map_metadata -1 to remove all metadata, stream or global.

On Wed, Dec 14, 2016 at 4:05 PM, Jim Worrall <coniophora at gmail.com> wrote:

> 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