[MPlayer-users] encoding audio in vorbis format

Haas Wernfried w.haas at xover.htu.tuwien.ac.at
Sun Jan 5 22:43:25 CET 2003


hi,
On Sun, Jan 05, 2003 at 01:28:10PM +0100, Moritz Bunkus wrote:
> http://www.bunkus.org/videotools/ogmtools/ (and read the README)
> http://www.mplayerhq.hu/pipermail/mplayer-users/2002-December/025948.html
> (for a good discussion about this topic)

another nice link (especially for creating movies with 2 languages)
http://mplayerhq.hu/pipermail/mplayer-users/2002-August/019192.html

and just a messy script i sometimes use, maybe it helps, adopt it to your
needs :)

rm -f audiodump.pcm ; mkfifo audiodump.pcm
nice -n 20 mplayer -quiet -vo null -vc null -aid 129 -ao pcm -nowaveheader \
$1 &
nice -n 20 oggenc --raw --raw-rate=48000 -q 5 -o stream-1.ogg audiodump.pcm \
> audio.1.log 2> audio.1.log & wait
rm -f audiodump.pcm ; mkfifo audiodump.pcm
nice -n 20 mplayer -quiet -vo null -vc null -aid 128 -ao pcm -nowaveheader \
$1 &
nice -n 20 oggenc --raw --raw-rate=48000 -q 5 -o stream-2.ogg audiodump.pcm \
> audio.2.log 2> audio.2.log & wait


time nice -n 20 mencoder -vop scale=768:576 -sws 2 $1 -ovc lavc -lavcopts \
vcodec=mpeg4:vpass=1:vhq:vbitrate=800 -nosound -o film0.avi > 2.1.log 2> \
2.1.log
time nice -n 20 mencoder -vop scale=768:576 -sws 2 $1 -ovc lavc -lavcopts \
vcodec=mpeg4:vpass=2:vhq:vbitrate=800 -nosound -o film0.avi > 2.2.log 2> \
2.2.log

nice -n 20 ogmmerge film0.avi stream-* -o FERTIG.ogm > merge.log 2> merge.log

regards,
	wernfried

-- 
-> Fppmpppffpppmpfpffmffmppmpm Mfpmmmmmmfmm
-> fpp.mfpmmmmmmfmm at fpfppffpmmpppff.ppmfmfmpm.mmmfmp
-> mfpfmpfmppfm://fpfppffpmmpppff.ppmfmfmpm.mmmfmp/~mmmppmpppmpppppmffppfppp
-> http://www.namesuppressed.com/kenny/



More information about the MPlayer-users mailing list