[MPlayer-users] Re: mp3 pro for mencoder?
Amadeus
5oyzyee02 at sneakemail.com
Sat Mar 13 01:00:40 CET 2004
> I've made several ogm and mkv files from dvd source with good a/v sync.
> The only out-of-sync problem I've seen is the well known constant
> 200-300ms which mencoder has for many dvds. This is easily corrected
> though with mkvmerge and ogmmerge using '--sync'. --sync can
> apparently even fix drifting sync but I've never had to try this.
This sounds excellent, if I can turn to Vorbis for audio! =)
> Please show all the commands you used to make the file.
Making the video:
i=1
for j in /dev/null video.avi; do
cat *.VOB | mencoder \
-sws 2 \
-ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:trell:vbitrate=700:vpass=$i \
-vop scale=496:288,crop=702:572:10:2 \
-aspect 16/9 \
-nosound \
-o $j -
i=2
done
Making the audio (I wish this step could be optimized using pipes and
stdin/stout!):
cat *.VOB > full.mpg
mplayer full.mpg -aid 128 -ao pcm -aofile audio.wav
oggenc -q 5 audio.ogg
Merging:
ogmmerge -o final.ogm video.avi audio.ogg
More information about the MPlayer-users
mailing list