[Libav-user] AAC encoding error

Andrey Utkin andrey.krieger.utkin at gmail.com
Tue Apr 9 01:42:35 CEST 2013


2013/4/8 Justin <justin-zhao at qq.com>:
> But, how can I set the additional flag? thank you very much.

This way:

AVDictionary *opts = NULL;
av_dict_set(&opts, "strict", "experimental", 0);
int ret = avcodec_open2(encoder_context, codec, &opts);
av_dict_free(&opts);


More information about the Libav-user mailing list