[Ffmpeg-devel] Intra-frame rate control

Michael Niedermayer michaelni
Thu Apr 12 22:42:51 CEST 2007


On Thu, Apr 12, 2007 at 01:12:33PM -0700, RLopez wrote:
> >On Thur, 12 Apr 2007, Baptiste Coudurier wrote:
> >> On Wed, 11 Apr 2007, RLopez wrote:
> >> 
> >>>> libavcodec supports adapting QP based on spatial and or temporal
> >>>> complexity
> >>>> of macroblocks, if you want to find out how then do as i said and
> >>>> Read The Fine Manual
> >>>
> >>> Can you point me to where the manual discusses this?  I looked through
> >>> all
> >>> the manuals on the ffmpeg website and didn't see any mention of adaptive
> >>> spatial QP for MPEG2.  Are there other manuals elsewhere that I don't
> >>> know
> >>> about?
> >> 
> >> See all the options whose names end in _mask
> >
> >See also -mbd rd -flags +qprd
> Do these switches work for MPEG2?  Do they slow down the encoding when you
> use them?  I'm trying to replace the MPEG2 encoder we use with avcodec.lib
> but I'm having problems getting bitrates that stay within an acceptable
> range.  I thought the problem was because avcodec.lib was only adjusting the
> QP at frame boundaries.  See the test I ran below.  Would using some of the
> switches mentioned give me better results?

what you want to use is the max/min rate and vbv buffer size optionr

and these questions belong to ffmpeg-user

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- 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/20070412/c62d95d2/attachment.pgp>

More information about the ffmpeg-devel mailing list