Hi.
For a change, I'm not asking about something but posting what I managed to get working today.
I tried many different audio and video codecs supported in mplayer's mencoder, and have come up with the following that provide good quality viewing under Windows Media Player (and mplayer, of course).
Test6) get audio to work with WPM <----THIS IS A GOOD ONE!! rm divx2pass.log frameno.avi nice -n 19 cat [0-9][0-9][0-9].vdr > Combined.vdr MENCODER="nice -n 19 mencoder" $MENCODER -ovc frameno -o frameno.avi -oac mp3lame -lameopts cbr:br=128 Combined.vdr $MENCODER -oac mp3lame -lameopts cbr:br=128 -o /dev/null -ovc lavc -lavcopts vcodec=msmpeg4:vbitrate=1000:vhq:vpass=1 -vop scale=640:400 Combined.vdr $MENCODER -oac mp3lame -lameopts cbr:br=128 -o DoctorWho_divx3LM_mp3.avi -ovc lavc -lavcopts vcodec=msmpeg4:vbitrate=1000:vhq:vpass=2 -vop scale=640:400 Combined.vdr
This provides DivX 3 Low-Motion Video & MPEG-1 Layer 3 Audio (LAME mp3). Although x264 provides better compression and 'oac copy' provides (undetectable) better audio, the above is a good compromise - and many of the .avi s I get off the internet are using the same combination.
Simon
Simon Baxter linuxtv@nzbaxters.com wrote:
I tried many different audio and video codecs supported in mplayer's mencoder, and have come up with the following that provide good quality viewing under Windows Media Player (and mplayer, of course).
Strangely, I could not get MP3 audio to work on Windows. I made a Divx4 stream from a recording, and the Divx4 codec could not play the MP3 sound. This may be related to the codec, though.
This worked:
mencoder -ovc lavc -lavcopts vcodec=mpeg4:vhq -oac pcm -o ct.avi 001.vdr
Neither copy nor mp3lame worked. This resulted in an unnecessarily large Divx4 file :-(