Re: [MEncoder-users] Too many video packets in the buffer
Guillaume POIRIER wrote:
Hi,
On 9/16/05, Dom Holmes <dholmes@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 again, I tried changing the mc setting and anything > 0 results in frames being skipped and the 'too many packets in the buffer' error still happens??? Any idea why this is happening is there something encoded incorrectly on the disc? Thanks again Dom
participants (1)
-
Dom Holmes