/dev/dsp|video - clone, fork, sharing of the device
I'm looking for a way to take one device like /dev/dsp or /dev/video and pipe it to another, new device...
source: /dev/dsp
destination1: /dev/dsp1
destination2: /dev/dsp2
The same with the video device...
Why?
1. Be able to stream audio only on one device
2. Be able to stream video and audio on the other device
3. Be able to stream audio/video to DISK w/ 1 app and to the LAN with another app...
Right now, once one application uses the device, it locks it so other applications can't use that device...
I did find that my /dev/audio1 is the same device as /dev/dsp1 so when one is used the other gets locked too =/
I've looked at JACK! but it doesn't seem to work for me, yet... mencoder doesn't have an option to record with jack.
Another option which i'd like to avoid is to get a second sound card and just pipe /dev/dsp1 to /dev/dsp2 with a phisical cable... It would let me work with audio, but not the video... (I suppose I could grab another TV card but there should be a simpler route...)
Ideas?
|