Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I get the VideoLAN device information that corresponds with /dev/video, and /dev/video1 for vlc targetting?

This command kind of does what I want:

vlc v4l2:// -vvv input_stream --sout='#duplicate{dst=display, dst="transcode{venc=x264{keyint=60,idrint=2},vcodec=h264,vb=300,acodec=mp4a,ab=32,channels=2,samplerate=44100}:rtp{dst=127.0.0.1,port=1234,sdp=file:///home/ecarroll/vlc.sdp}"}

However I want to target my second webcam, not the first one. How do I do the v4l2:// for my second webcam?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I'm not sure if this is the only way to do it but

`v4l2://` `+` `/dev/video1`

= `v4l2:///dev/video1`
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.