[FFmpeg-devel] [PATCH] Add bitrate and framerate option for openH264

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jul 14 13:22:42 EEST 2016


Steven Liu <lingjiujianke <at> gmail.com> writes:

> +    { "bitrate", "Set bitrate", OFFSET(bitrate), 
> AV_OPT_TYPE_INT, { 0 }, 0, 700000, VE },
> +    { "framerate", "Set framerate", OFFSET(framerate), 
> AV_OPT_TYPE_INT, { 0 }, 0, 30, VE },

Both options already exist in FFmpeg, it may be a good idea 
to map them to openh264 (do I understand correctly that the 
current encoder doesn't allow to set a target bitrate?) but 
there should be no need to add these strings to options[].

Carl Eugen



More information about the ffmpeg-devel mailing list