[Ffmpeg-devel] h263+: size of encoded frames after opening ffmpeg

Michael Niedermayer michaelni
Wed Jan 17 13:15:15 CET 2007


Hi

On Wed, Jan 17, 2007 at 11:14:40AM +0100, Martin wrote:
[...]
> >>Even better, is there a
> >>possibility to change the bitrate without closing and reopening ffmpeg?
> > 
> > 
> > you can set the quality of frames which affects the bitrate,
> > closing and reopening within the same stream is generally not allowed
> > doing so means you are on your own
> 
> Ok, how can I set the quality within the same stream without closing and
> reopening? I tried to set the AVCodecContext.crf parameter but it
> doesn't seem to have any effect on quality and size of outputted frames.
> Is there another parameter which I can use?

AVFrame.quality 
and set CODEC_FLAG_QSCALE

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

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- 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/20070117/0a5cd1f5/attachment.pgp>



More information about the ffmpeg-devel mailing list