<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<br>
<br>
Ben Buxton wrote:<br>
<blockquote type="cite" cite="mid20030130201816.GA682@cactii.net">
<pre wrap="">[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Alessio Sangalli <a class="moz-txt-link-rfc2396E" href="mailto:alesan@manoweb.com"><alesan@manoweb.com></a> uttered the following thing:
</pre>
<blockquote type="cite">
<pre wrap="">[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Hi. Is it possible to encode in mpeg2 with mencoder? If yes, is it
possible to encode realtime with a medium-powered processor (let's say
duron 1.3GHz) and directly from a bt848 tv card?
</pre>
</blockquote>
<pre wrap=""><!---->
mpeg2? i'm not sure..
but I can encode directly to divx (mpeg4) from a bt848 card
without drops on an Athlon 650. This includes audio.
This is my command line:
/usr/bin/mencoder -tv on:driver=v4l:width=400:height=300:buffersize=96 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=600 -oac mp3lame -lameopts cbr:br=64 -vop pp=lb -o output.avi
</pre>
</blockquote>
You are encoding at 400x300 resolution here, which is a bit sub par
(At least it is for me on my 80cm Television, very grainy). The
bt878/848 cards handle resolutions up to 768x576. My Duron 1100
*almost* handles mpeg4 encoding at this res but uses about 100% cpu.
That's without the vhq lavc switch. I have been using nupplevideo
(<a class="moz-txt-link-freetext" href="http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/">http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/</a>) to encode to
MJPEG, which only uses about 50% cpu (but about 150 MB a minute disk
space) and then 2 pass re-encoding (and deinterlacing) to Mpeg4 with
much better results. You could also use mjpegtools
(<a class="moz-txt-link-freetext" href="http://mjpeg.sourceforge.net/">http://mjpeg.sourceforge.net/</a>) to re-encode to from nupplevideo to
mpeg 1/2.<br>
<br>
Cheers,<br>
<br>
Graeme<br>
<br>
<pre class="moz-signature" cols="72"> </pre>
</body>
</html>