[Libav-user] encoding ProRES - not sure how to configure some settings

Martin Ber martinber764 at yahoo.com
Mon May 13 19:50:34 CEST 2013


I have modified decoding_encoding.c sample code to create a ProRES stream, which I can verify is working properly by decoding the output file with ffmpeg.  However encoding is fairly slow and there are some settings that I don't know how to configure.

There are 3 different ProRES encoders and I'm using prores_kostya encoder.

According to this link:
http://codecs.multimedia.cx/?p=388

to speed up encoding I should set qscale (recommended value of 4).  The other important settings are profile, quant_mat, bits_per_mb, mbs_per_slice and vendor.  I don't see where any of those can be configured with the structures I have access to (AVCodecContext, AVCodec).  Are these to be set on the 'private data' like in that example for H.264 in encoding_decoding.c:
 av_opt_set(c->priv_data, "preset", "slow", 0);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130513/f203c7e0/attachment.html>


More information about the Libav-user mailing list