[Libav-user] How to add "-strict -2" with AAC programmatically?

Wagner Patriota wagner.patriota at gmail.com
Thu Feb 27 15:00:57 CET 2014


thanks. it worked! ;-)


On Thu, Feb 27, 2014 at 10:35 AM, Robert Krüger <krueger at lesspain.de> wrote:

> Try setting the field strict_std_compliance in the codec context to
> -2. Works for me.
>
> On Thu, Feb 27, 2014 at 2:14 PM, Wagner Patriota
> <wagner.patriota at gmail.com> wrote:
> > The encoder 'aac' is experimental but experimental codecs are not
> enabled,
> > add '-strict -2' if you want to use it.
> >
> > I tried to add it to the codec options in avcodec_open2() but got no
> > success... how do I add this programmatically?
> >
> > Thanks
> >
> > _______________________________________________
> > Libav-user mailing list
> > Libav-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/libav-user
> >
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140227/d2b969ad/attachment.html>


More information about the Libav-user mailing list