I have done as your way, and pleasantly found that it really worked sucessfully.
 
I very appreciate you, thank you very much again.
 
------------------
Best Regards,
Justin




------------------ Original ------------------
From:  "Andrey Utkin"<[email protected]>;
Date:  Tue, Apr 9, 2013 07:42 AM
To:  "This list is about using libavcodec, libavformat, libavutil,libavdevice 
and libavfilter."<[email protected]>; 

Subject:  Re: [Libav-user] AAC encoding error



2013/4/8 Justin <[email protected]>:
> 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);
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to