[vdr] mencoding VDR streams - for Windows Media viewing

Simon Baxter linuxtv at nzbaxters.com
Thu Jun 30 23:16:48 CEST 2005


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 
$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.


More information about the vdr mailing list