<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>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.<br><br>There are 3 different ProRES encoders and I'm using prores_kostya encoder.<br><br>According to this link:<br>http://codecs.multimedia.cx/?p=388<br><br>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:<br> av_opt_set(c->priv_data, "preset", "slow", 0);</div></div></body></html>