On 6/19/06, <b class="gmail_sendername">David Watkins</b> <<a href="mailto:watkinshome@gmail.com">watkinshome@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 19/06/06, Neil Sedger <<a href="mailto:mythtv-users@moley.org.uk">mythtv-users@moley.org.uk</a>> wrote:<br>> The latest MPlayer release - 1.0pre8 posted 11th June including the<br>> latest ffmpeg - plays the BBC's 1080i test stream downloaded from
<br>> somewhere (featuring Attenborough and a storm).<br><br>Does this mean than mencoder will be able to transcode it into mpeg2?<br>If so, any tips on how to do so would be very welcome.</blockquote><div><br></div></div>
Well, as far as I know, the general rule is: if MPlayer can play it, Mencoder can read it and encode to a other format.<br><br>I never encode to MPEG2, but this should work for encoding it to MPEG4. I'm sure encoding to MPEG2 won't be very different:
<br><br>mencoder -mc 0 -oac mp3lame -lameopts mode=0:abr:br=160 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000 -o "$OUTPUTFILE" -quiet "$INPUTFILE"<br><br>This encodes an input file to a 2000kbs videostream with a 160kbs audio stream.
<br><br>There are a LOT of other options you can (and should if you want better quality) use, but I didn't include them here for clarity.<br><br>I hope this helps,<br><br>Regards,<br>Wander.<br>