[MEncoder-users] Re:
Jonathan Lundberg
lundbej at rte.ie
Thu Mar 10 17:05:46 CET 2005
wrote:
>>What I have to do is grab from the tv capture card to filename.avi, and
>>while it's still grabbing from the
>>tv card, run mencoder against filename.avi to also produce an identical
>>file at a lower bitrate. My
>>problem is that the second mencoder runs faster than real time, catches
>>up with the end of the file,
>>and then exits while the primary encode is still running.
>>
>>
>
>What about using pipes and tee, something like this (I cannot test
>this as I currently have no Linux available):
>
># make a named pipe
>mkfifo testfilename.avi
>
># start capturing
>captureprog | tee testfilename.avi | mencoder settings-for-high-quality
>cat testfilename.avi | mencoder settings-for-low-quality
>
>tee splits the input from the capturing program and writes it to both
>stdout and the named pipe. I think something like this should work,
>but I am not shure if mencoder supports encoding from stdin :-)
>
>
>
Interesting.. mencoder _is_ the captureprog though...
J.
******************************************************************************
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this e-mail by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful.
Please note that emails to, from and within RTÉ may be subject to the Freedom
of Information Act 1997 and may be liable to disclosure.
******************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mencoder-users/attachments/20050310/5a7690f7/attachment.htm>
More information about the MEncoder-users
mailing list