<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
D Richard Felker III wrote:
<blockquote cite="mid20050311050855.GX24659@brightrain.aerifal.cx"
type="cite">
<blockquote type="cite">
<pre wrap="">
This is very hackish, but it does work and I don't see a better solution.
You said your capture program is MEncoder, so:
mkfifo input output1
mencoder tv:// -endpos 30:00 -o input -ovc raw -oac pcm &
cat input | tee output1 | mencoder - -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=100000 -oac pcm -o goodquality.avi &
</pre>
</blockquote>
<pre wrap=""><!---->
Do NOT use cat here. All it will do is increase cpu usage. Instead:
tee output1 < input | mencoder - -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=100000 -oac pcm -o goodquality.avi &
</pre>
</blockquote>
Hmm, ok snag hit..<br>
<br>
After 351 seconds every time I run it, the two mencoders that are
encoding to a file stop writing to the<br>
file. Though the mencoder processes continue running, a message on the
console says <br>
<br>
ODML: Starting new RIFF chunk at 0MB.<br>
<br>
When I kill the processes the summary says that they have encoded 350
seconds or thereabouts,<br>
but the mencoder process that is capturing from the tv card reports
that it encoded however many<br>
seconds it was until I actually manually killed it..<br>
<br>
Thoughts?<br>
<br>
Cheers,<br>
J.<br>
<br>
<DIV><STRONG></STRONG> ***********************************************************<BR>The
information in this e-mail is confidential and may be legally privileged.<BR>It
is intended solely for the addressee. Access to this e-mail by anyone else<BR>is
unauthorised. If you are not the intended recipient, any disclosure,<BR>copying,
distribution, or any action taken or omitted to be taken in reliance<BR>on it,
is prohibited and may be unlawful.<BR>Please note that emails to, from and
within RTÉ may be subject to the Freedom<BR>of Information Act 1997 and may be
liable to
disclosure.<BR>************************************************************<BR></DIV>
</body>
</html>