Hi friends,

I'm trying to encode using libtheora, I'm able to using command line
argument -q:v 0-10 to set video quality. But I had problem when setting it
in my program.

My code looks like below:

AVDictionary* options = NULL;
av_dict_set(&options, "qscale", "0", 0); // also tried "q:v"
avcodec_open()

but seems encoder can't understand the keys.

Could anyone let me know how to set the video qscale in this case?

Great thanks
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to