[MEncoder-users] Audio from the wrong part of the movie
Tomasz Primke
tprimke at interia.pl
Wed Aug 3 20:41:58 CEST 2005
I have a problem with mencoder (I suppose). I learned how to rip from the page
http//gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide (it was on the last
Sunday). I was doing it as follows:
$ mencoder dvd://1 -ovc frameno -oac lavc -o frameno.avi
$ mencoder dvd://1 -o /dev/null -oac lavc -ovc lavc -lavcopts \
vcodec=mpeg4:vbitrate=[some_value]:vhq:vpass=1 -vop scale=720:480; \
mencoder dvd://1 -o test.avi -oac lavc -ovc lavc -lavcopts \
vcodec=mpeg4:vbitrate=[some_value]:vhq:vpass=2 -vop scale=720:480
After the first command mencoder was telling me about bitrate and number of
CDs (e.g. if I wanted to have a movie on two 700MB CDs I should use a bitrate
given by this command).
My problem was that if I was ripping this way for 2 CDs I was getting one huge
avi file. (I wanted to cut it with avidemux later, but this is not a
problem.) When I was trying to play this file (with avidemux), I was getting
the message:
[mpeg4 @ 0x8e95cc0]ac-tex damaged at 31 15
[mpeg4 @ 0x8e95cc0]Error at MB: 721
[mpeg4 @ 0x8e95cc0]concealing errors
error in FFMP43/mpeg4!
(there were more such errors; they were always at 721 MB)
If I riped for 1 CD all was OK. I also got no errors when I ripped with
-endpos (I set it to 5-6 minutes).
I have posted about this problem on LinuxQuestions.org, but the only answer I
got was suggestion to use AcidRip instead of mencoder. I got this AcidRip,
but failed to use it. When I was ready to rip, it just did nothing. But I got
the commands AcidRip should execute in a shell. With these commands I managed
to rip DVD for 2 avis as follows:
$ mencoder dvd://1 -ovc frameno -oac lavc -o frameno.avi
(1) $ mencoder dvd://1 -chapter 1-11 -o /dev/null -oac lavc -ovc lavc \
-lavcopts vcodec=mpeg4:vbitrate=[some_value]:vhq:vpass=1 -vop scale=720:480
(2) $ mencoder dvd://1 -chapter 1-11 -o part1.avi -oac lavc -ovc lavc \
-lavcopts vcodec=mpeg4:vbitrate=[some_value]:vhq:vpass=2 -vop scale=720:480
$ remove -f divx2pass.log
(3) $ mencoder dvd://1 -chapter 12-20 -o /dev/null -oac lavc -ovc lavc \
-lavcopts vcodec=mpeg4:vbitrate=[some_value]:vhq:vpass=1 -vop scale=720:480
(4) $ mencoder dvd://1 -chapter 12-20 -o part2.avi -oac lavc -ovc lavc \
-lavcopts vcodec=mpeg4:vbitrate=[some_value]:vhq:vpass=2 -vop scale=720:480
(1) - (4) are commands I got from AcidRip. With these commands I was able to
rip 2 smaller avis, but there is one new problem - the second avi has the
proper video, but audio is from the first part of the movie...
How can I fix it?
Best regards,
Tomasz "TPJ" Primke
More information about the MEncoder-users
mailing list