Bash trick of the day

Robert La Ferla robertlaferla at comcast.net
Mon Mar 26 08:59:50 EDT 2007


On Mar 25, 2007, at 11:11 PM, Kristian Hermansen wrote:

> On 3/25/07, Robert La Ferla <robertlaferla at comcast.net> wrote:
>> Voila - You can watch a tv stream remotely.
>
> Ahh, but can you can do the same with /dev/dsp?  And more importantly,
> can you mux the streams together in real time?  I would be interested
> to know how vlc/mplayer/xine are able to mux separate audio/video
> streams.  Ideas?

My streaming example assumes that /dev/video is a hardware MPEG  
encoder (like some of the Hauppauge cards) which encode both the  
video and audio for you.

> Also, I would rather use a pipe, as I don't see how mplayer would not
> exit immediately on not having input there.  Plus, a pipe would buffer
> everything for you :-)

That was a typo.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list