[MEncoder-users] "Too many video packets in the buffer"

RC cooleyr at gmail.com
Fri Apr 16 06:50:12 CEST 2010


On Thu, 15 Apr 2010 20:27:02 -0500
Andrew Berg <bahamutzero8825 at gmail.com> wrote:

> mencoder input.m2ts -msglevel all=1:statusline=5 -aid 4352 -fps 50
> -ofps 25 -of avi -oac copy -ovc x264 -x264encopts
> crf=30:force_cfr:turbo=1:frameref=1:scenecut=0:nf:nocabac:bframes=0:p
> artitions=none:no8x8dct:me=dia:subq=0:aq_mode=0:nointerlaced -vf
> yadif=1,filmdint=io=50:25,hqdn3d=0:0:4:4,harddup -o test.avi

I'd bet money that -fps option is the cause...  If it's not exactly the
right value, audio/video will get way out of sync with each other (or
rather, their buffers will), regardless the status line say.  And all it
takes is a few frames dropped from your transport stream to do it...

Assuming you can, omit -fps.  If you can't, use a smaller value, and it
should at least take longer before erroring.  Have you even tried
watching the (partial) output video?  How does it look?

Alternately, you can try pcm in place of "copy", as that definitely
causes problems with some formats.

-- 
Ha. I'm the idiot.


More information about the MEncoder-users mailing list