|
From: Bernhard P. <sha...@ut...> - 2003-10-26 16:16:24
|
Hallo > > Have you tried renecoding the video with the mjpegtools ?? > > It should go like that: > > mkfifo stream.yuv > > mplayer -nofs -nosound -vo yuv4mpeg -ni -quiet $1 </dev/null & > > cat stream.yuv | yuvscaler -O DVD -v 0 | \ > > mpeg2enc -f 8 -o video.m1v > > mplayer -nofs -vo null -ao pcm -waveheader -ni $1 > > mv audiodump.wav audio.wav > > cat audio.wav | mp2enc -r 48000 -o audip.mp2 > > mplex -f 8 audio.mp2 video.m1v -o myvcd%d.mpg > > Thanks for the info, but I'm afraid I'm a bit confused. I assume this > comes out of a script? I assume $1 is the filename of the avi, but > where does the fifo come in? When I try the first mplayer line, it opens > up the mplayer gui and does nothing. Twiche guessed correct. The $1 is the first command line option.. You create that fifo file with the mkfifo command. The %d is for spliting and numbering the output files. Depending on you mplayer version the command might look a bit differnet. For my MPlayer 0.90rc5-3.3 i lookes like this: > mplayer -nosound -vo yuv4mpeg test_p7.mpg > Sorry if I seem a bit thick, this is all new to me. I guess that you find most of the stuff in the mplayer. That special script can also be found in the mjpeg-user mailinglist archive (mjpeg.sf.net). auf hoffentlich bald, Berni the Chaos of Woodquarter Email: sha...@ut... www: http://www.lysator.liu.se/~gz/bernhard |