[Libav-user] Using LibX264 with ffmpeg libraries
nicolas.george at normalesup.org
Mon Jul 23 22:14:22 CEST 2012
Le sextidi 6 thermidor, an CCXX, noahzarc a écrit :
> Apologies for top posting, it's my very first time using a mailing list.
No problem, you fixed it.
> Apologies, it's my very first time using a mailing list. Would this be the
> correct way of setting priv_data?
> AVDictionary *outputDictionary;
> av_dict_set(&outputDictionary, "crf", "0", AV_DICT_APPEND);
> avcodec_open2(outputCodecCtx, codec, &outputDictionary);
You would probably make sure you init outputDictionary to NULL before doing
anything on it. And AV_DICT_APPEND is not necessary here and may be harmful
under some circumstances, but yes, this is the gist of it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the Libav-user