[FFmpeg-devel] [PATCH 1/2] lavc/snowenc: Expose an option to set the rc_eq expression

Alexander Strasser eclipse7 at gmx.net
Wed Aug 12 18:43:04 EEST 2020


On 2020-08-09 14:54 +0200, Michael Niedermayer wrote:
> On Fri, Aug 07, 2020 at 11:26:17PM +0200, Alexander Strasser wrote:
> > Snow uses the ratecontrol module, but does not expose a way to set
> > the rc_eq expression. The default expression, set in the ratecontrol
> > module, will always be used.
> >
> > Make it possible to set rc_eq by adding an AVOption to snowenc.
> >
> > The option definition is mostly a copy from the mpegvideo common
> > options definition of rc_eq (libavcodec/mpegvideo.h), with some
> > minor style adjustments to be closer to the other snowenc option
> > initializer expressions.
> >
> > Signed-off-by: Alexander Strasser <eclipse7 at gmx.net>
> > ---
> >  libavcodec/snowenc.c | 5 +++++
> >  1 file changed, 5 insertions(+)
>
> should be ok

Pushed.

Thank you,
  Alexander


More information about the ffmpeg-devel mailing list