[Ffmpeg-devel] Usage of RcOverride

Michael Niedermayer michaelni
Mon Feb 12 15:50:55 CET 2007


Hi

On Mon, Feb 12, 2007 at 01:26:24PM +0100, Martin wrote:
> Hello,
> 
> 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?

rc_override_count
and dont forget that rc override only works if the rate control code is
used ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070212/73964243/attachment.pgp>



More information about the ffmpeg-devel mailing list