[MPlayer-users] Uh... wierdness?

Brian Neltner neltnerb at neltner.mit.edu
Sun Jun 6 01:41:47 CEST 2004


On Sat, Jun 05, 2004 at 05:13:18PM -0400, Taylor Smith wrote:
> mencoder -dvd 1 -alang en -ovc frameno -oac mp3lame cbr:br=$2 -o frameno.avi
> 
> mencoder -dvd 1 -alang en -oac copy -ovc lavc -lavcopts
> vcodec=mpeg4:vpass=1:vbitrate=1000 -vop crop=720:364:0:56,scale=576:324
> -sws 2 -o movie.avi
> 
> mencoder -dvd 1 -alang en -oac copy -ovc lavc -lavcopts
> vcodec=mpeg4:vpass=2:vbitrate=1000 -vop crop=720:364:0:56,scale=576:324
> -sws 2 -o movie.avi
> 
> And the file I got cannot be played in Windows Media Player at all, it
> aborts, 

do you have the windoze divx codecs installed?

> and when I play it in MPlayer, the A/V is out of sync by about 6
> seconds on average, but it fluctuates throughout the movie, sometimes
> its really close. 

I remember this happened for me too with the old version of mencoder, I know
one of my friends fixed some timing issue a while back... I'd suggest you try
the real version of mencoder instead of the old one-- probably would fix your
problem right there.  He also said that a lot of the problems occurred because
of three pass encoding, you might try two pass instead.  Or update your
mencoder =)

> I didn't see any error messages from MEncoder, it spit
> out "1 Duplicate Frame(s) Detected" (is there a way to turn off that
> notification) so often that if there were any errors, they flew off the
> screen before I could even see them. 

try -ofps 23.976, most NTSC DVD's need this because it's stored at a goofy frame rate (Section 7.2 of the documentation).

> This was the second DVD I tried and
> I've gotten the same result with each. But I do love the rescaling, and
> the fact that it was able to be in aspect ratio, but as for the rest,
> have I done something wrong?

If you're new, you might want to try using the latest version of mencoder and
acidrip, I've found it to be a nice program to calculate bitrates and things
for me without a calculator.  Just make sure to add trell, v4mv, and mbd=2
(at least) to the lavcoptions section and it should work quite well... even
automatically handles getting cropping information and scaling so that it
keeps the right aspect ratio.
-- 
-Brian

"The teacher guides his students best, by allowing them to lead."
-Lao Tzu, Tao Te Ching, circa 600 B.C.




More information about the MPlayer-users mailing list