transcode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]

Re: [transcode-users] rc buffer underflow with ffmpeg


To: transcode Users Mailing List <transcode-users@xxxxxxxxx>
Subject: Re: [transcode-users] rc buffer underflow with ffmpeg
From: Phil Ehrens <phil@xxxxxxxx>
Date: Tue, 1 Mar 2005 20:34:08 -0800
Delivered-to: itdp@localhost
In-reply-to: <42252456.47550@msgid.achurch.org>
References: <BAY19-F367CA5BDD2A28CFC14B631EF5A0@phx.gbl><42252456.47550@msgid.achurch.org>
User-agent: Mutt/1.4.2.1i

Andrew Church wrote:
> >I was trying to use ffmpeg (instead of mpeg2enc) to encode some clips of 
> >stuff I captured & have been getting rc buffer underflow message(s).
> [...]
> >vrc_maxrate=9800
> 
>      Obvious solution: lower vrc_maxrate.  Even the default only puts it
> at 9000 kbps, and raising it farther really won't gain you anything
> noticeable.  If you continue having problems, lower it even further.  See
> also http://www.transcoding.org/cgi-bin/transcode?FFmpeg_Vs._Mpeg2enc
> 
> ># vrc_buf_size=1792 # suggestion online
> >vrc_buf_size=1835 # DVD setting in man page
> 
>      1792 is correct, leave it alone.  (The manpage you read probably used
> kbit=10^3 bits; this setting uses kbit=2^10 bits.)

Ah, after reading this, I wonder... perhaps the reason I
get tons of buffer underflows when I do 2-pass encoding
is because the ntsc_dvd profile uses -w 5000, and whereas
that does not ever produce an average bitrate anywhere
near that with single pass, maybe it really does with 2-pass,
and mucks things up? Erik, how did you decide on -w 5000 as
the default anyway?

-- 
Phil Ehrens <phil@xxxxxxxx>      | Fun stuff:
The SilverLake Linux Users Group | http://www.ralphmag.org
3428 Winslow Drive               | http://www.yellow5.com
Silverlake, CA 90026             | http://www.slug.org


[Prev in Thread] Current Thread [Next in Thread]