View previous topic :: View next topic |
Author |
Message |
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Wed May 26, 2004 4:10 pm Post subject: mencoder problems |
|
|
I'm trying to reencode a lot of files, most are ok, but some have some damage. I get theese errors in mencoder:
Code: |
[mpeg1video @ 0x83fe7d0]skiped MB in I frame at 21 10A-V:0.000 [708:137]
[mpeg1video @ 0x83fe7d0]concealing errors
[mpeg1video @ 0x83fe7d0]Warning MVs not available
|
when I watch the result the video skip is not noticable, but the audio doesen't skip at all, so the video goes out of sync.
anyone have any suggestions?
Using theese settings:
Code: |
mencoder -ovc frameno -mc 0 -noskip -oac mp3lame -lameopts br=128:q=4:aq=4 "$filename" -o frameno.avi || exit 1
mencoder -ovc lavc -mc 0 -noskip -lavcopts vcodec=mpeg4:vbitrate=600:vhq:vpass=1 -oac copy "$filename" -vf crop=352:192:0:22,hqdn3d -o "test.avi"
mencoder -ovc lavc -mc 0 -noskip -lavcopts vcodec=mpeg4:vbitrate=600:vhq:vpass=2 -oac copy "$filename" -vf crop=352:192:0:22,hqdn3d -o "test.avi"
|
Also if anyone has any suggestions on better codec choice that'd be great, I can encode the files like that, they'll drop to 50% of original size without any change in quality whatsoever. I just wanna reduce the size without desync'ing em :/
Also if there are any compression algorithms like gzip specialized for media (so it actually gave ok compression rates), that'd be great. A way to compress them fairly well and know I wont screw up the result file. |
|
Back to top |
|
|
tetrahydroc Tux's lil' helper
Joined: 22 Aug 2003 Posts: 144
|
Posted: Wed May 26, 2004 5:37 pm Post subject: |
|
|
Hi,
the 3-pass encoding (frameno-thingy) is known to cause sync problems, so I suggest you to drop that part out. You can read about that in mplayer mailinglists.
HTH,
/tetra |
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Wed May 26, 2004 5:47 pm Post subject: |
|
|
but 2pass will work right?
I'll try 2pass right away , thanks for the hint. |
|
Back to top |
|
|
tetrahydroc Tux's lil' helper
Joined: 22 Aug 2003 Posts: 144
|
Posted: Wed May 26, 2004 7:08 pm Post subject: |
|
|
neuron wrote: | but 2pass will work right?
I'll try 2pass right away , thanks for the hint. |
I use 2-pass encoding when making KSVCD's, it works perfectly. |
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Wed May 26, 2004 8:16 pm Post subject: |
|
|
bah, still get the desync :/, any options to try to skip a piece of the audio if it skips a frame? |
|
Back to top |
|
|
tetrahydroc Tux's lil' helper
Joined: 22 Aug 2003 Posts: 144
|
Posted: Thu May 27, 2004 7:39 am Post subject: |
|
|
neuron wrote: | bah, still get the desync :/, any options to try to skip a piece of the audio if it skips a frame? |
Perhaps mencoder thinks your sourcefiles are badly encoded? Have you tried searching from mplayer mailinglists? I bet you get better help relating mencoder from there. |
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Thu May 27, 2004 9:34 am Post subject: |
|
|
tetrahydroc wrote: | neuron wrote: | bah, still get the desync :/, any options to try to skip a piece of the audio if it skips a frame? |
Perhaps mencoder thinks your sourcefiles are badly encoded? Have you tried searching from mplayer mailinglists? I bet you get better help relating mencoder from there. |
yeah, sent a mail to their mailinglist now, we'll see if I can get some solutions out of them |
|
Back to top |
|
|
|