[FFmpeg-devel] [PATCH] Add rc_max_rate to ffprobe stream output

Stefano Sabatini stefasab at gmail.com
Sun Jun 8 12:57:28 CEST 2014


On date Wednesday 2014-06-04 18:49:18 +0000, Carl Eugen Hoyos encoded:
> Stefano Sabatini <stefasab <at> gmail.com> writes:
> 
> > > +    if (dec_ctx->rc_max_rate > 0) print_val 
> > ("max_bit_rate", dec_ctx->rc_max_rate, unit_bit_per_second_str);
> > > +    else                       print_str_opt("max_bit_rate", "N/A");
> > 
> > AVCodecContext.rc_max_rate is an encoding parameter
> 
> The documentation is now fixed.

ffmpeg-codecs(1)

       maxrate integer (encoding,audio,video)
           Set max bitrate tolerance (in bits/s). Requires bufsize to be set.

So the question still stands: what's the use case for this?

Also I suspect we're abusing maxrate for something which is really
MPEG video specific.
-- 
FFmpeg = Fostering Forgiving Magical Ponderous Enlightened Gadget


More information about the ffmpeg-devel mailing list