Streaming command line arguments for v4l2 with webcam
Posted: 02 Jan 2010 23:50
Hi,
I am a little bit (more than) confused about the syntax for command line with linux. Can someone clear this, please.
In some postings, manuals and wiki entries there is for audio access mentioned:
How can I detect which device my webcam-microphone (or others) is? I know only play -l as infopoint. I am using Ubuntu 9.10. And what is the correct syntax?
Thanks for any reply
Hans
P.S If anyone is interested in. I use the follwing scripts to send and receive in my LAN. It's working over VPN as well.
send.sh"
receive.sh
I am a little bit (more than) confused about the syntax for command line with linux. Can someone clear this, please.
In some postings, manuals and wiki entries there is for audio access mentioned:
Code: Select all
input-slave=alsa//
or
v4l2-adev=alsa://
with follow up by
/\"hw:x,y\"
or
/dev/dspx
Thanks for any reply
Hans
P.S If anyone is interested in. I use the follwing scripts to send and receive in my LAN. It's working over VPN as well.
send.sh
Code: Select all
#/bin/sh
#Sound not working
cvlc -vvv v4l2:///dev/video0:v4l2-adev=alsa:///\"hw:0,2\" :sout="#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100} :duplicate{dst=std{access=udp,mux=ts{ttl=12},dst=239.155.1.1:1234},dst=display}
receive.sh
Code: Select all
#/bin/sh
cvlc udp://@239.155.1.1:1234