Try "tee":

cat /dev/video0 |tee 1.mpg >2.mpg

-Kristo

On 10/4/2006 10:12 AM, Guðlaugur Jóhannesson wrote:
> I think vlc has this kind of functionality, but I have no idea how it works.
> 
> Gulli
> 
> On Wednesday 04 October 2006 16:56, Michael Dale wrote:
>> does anyone know of a way to duplicate read access to devices? ie I want
>> to simultaneously encode two versions of a given stream over the command
>> line. Currently it says device is busy or unavailable... is there a way
>> to duplicate the device stream to multiple applications?
>>
>> if the above was not clear...:
>> the first time you run:
>> #ffmpeg2theora /dev/video0 -o high_quality.ogg
>> it works but when you try to simultaneously run a second encode on the
>> same stream:
>> #ffmpeg2theora /dev/video0 -o low_quality.ogg
>> it does dies out.
>>
>>
>> --michael
>>
>> _______________________________________________
>> ivtv-users mailing list
>> [email protected]
>> http://ivtvdriver.org/mailman/listinfo/ivtv-users
> 
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to