[Ffmpeg-devel] Usage of RcOverride
Tue Feb 13 14:55:26 CET 2007
Michael Niedermayer wrote:
> On Mon, Feb 12, 2007 at 01:26:24PM +0100, Martin wrote:
>>can the struct RcOverride be used to change the rate control for a
>>number of frames? If this is the case, how is it used?
>>In order to lower the quality of the first 5 frames I tried:
>>RcOverride * my_rc_override = new RcOverride;
>>my_rc_override.start_frame = 1;
>>my_rc_override.end_frame = 5;
>>my_rc_override.qscale = 0;
>>my_rc_override.quality_factor = 10000;
>>ffavcc->rc_override = my_rc_override;
>>Unfortunately it had no effect. Do I need to set another flag or did I
>>misinterpret the use of RcOverride completely?
> and dont forget that rc override only works if the rate control code is
> used ...
I have to set rc_overide_count = 1, right? How do I make sure that rate
control code is used? What are the effects if I use the rate control code?
More information about the ffmpeg-devel