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

Dom Holmes dholmes at sctuk.com
Fri Sep 16 11:35:11 CEST 2005


Guillaume POIRIER wrote:

> Hi,
>
> On 9/16/05, Dom Holmes <dholmes at sctuk.com> wrote:
>  
>
>> Hi there,
>>
>> I'm trying to encode a dvd to use on my HTPC using the following 
>> script...
>>
>>   *nice -n 3 mencoder dvd://$1 -oac copy -mc 0 -vf
>>   crop=720:416:0:82,hqdn3d=2:1:2 -ovc lavc \
>>   -lavcopts
>>
>> vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:autoaspect:vpass=1 
>>
>>
>>   \
>>   -o movie.avi
>>
>>   nice -n 3 mencoder dvd://$1 -oac copy -mc 0 -vf
>>   crop=720:416:0:82,hqdn3d=2:1:2 -ovc lavc \
>>   -lavcopts
>>
>> vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:autoaspect:vpass=2 
>>
>>
>>   \
>>   -o movie.avi
>>
>>   *
>>
>> Initially I was getting the 'Frame Skipped' message, I think the audio
>> was losing sync over time. I added the -mc 0 option like above which
>> starts encoding fine but after a few mins I get the 'Too many video
>> packets in the buffer' error message and I've no idea how to solve this?
>>   
>
>
> If your source is NTSC, make sure you do a proper inverse telecine to
> fix this problem.
>
> If it's not the case, you may try larger values of -mc 0, and see what
> happends. You may also try to copy another track (maybe for some
> reason the type of audio track that you use is not well supported).
>
> If it still doesn't work, you may try to disable sound altogether with
> "-nosound", but it may lead to huge desync when trying to mux audio
> and video back.
>
>
>  
>
>> 2nd quick question is there anything I can add to my script to instruct
>> mencoder to encode the main title instead of having to find it manually?
>>   
>
>
> Not that I know of :-(
>
> Guillaume
>
>  
>
Hi there,

Thanks for the quick response.

The source is a pal dvd with a regular 5.1DD soundtrack. What does the 
mc setting actually do and do you know what actually causes this problem?

I did try another disc and for what I saw it didn't have this problem 
although the disc in question takes until 9% of the first pass before 
the error pops up, this goes on for a few minutes where it's stops only 
to start up a short while later.

Thanks again

Dom




More information about the MEncoder-users mailing list