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

Robert Krüger krueger at lesspain.de
Thu Feb 27 14:35:34 CET 2014


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
>


More information about the Libav-user mailing list