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

Peter Gade nvdung12101 at gmail.com
Thu Dec 15 06:55:47 EET 2016


hello gúy
i need code change frequency audio. (my imput is imput.mp4). I want to
change up to 98kHz. Thanks

2016-12-15 10:10 GMT+07:00 Victor dMdB <ffmpeg at eml.cc>:

> Sorry, my question wasnt clear enough!
>
> It is referring to the ffmpeg C lib, not the cli!
>
> As in how does one implement the rotation with
> avformatcontext/avcodeccontext/avstream/avpacket/avframe (I'm not sure
> which one to use in this case).
> Show quoted text
>
>
> On Thu, 15 Dec 2016, at 07:05 AM, Jim Worrall 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".
> > _______________________________________________
> > 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".
> _______________________________________________
> 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