Page 1 of 1

How to stream my live webcam video only?

Posted: 19 Oct 2009 11:55
by extra
Hii..

I got one problem when i try to stream my live webcam using vlc.It also streaming the audio too.
The problem came when i open my voip application. It telling me that the sound card is already in use.
I'm using this command line to open my streaming
cvlc v4l2:// :v4l2-dev= :v4l2-adev= :v4l2-standard=0:v4l2-width=176 :v4l2-height=144 --sout '#transcode{vcodec=h264,vb=800,scale=1}:duplicate{dst=std{access=udp,mux=ts,dst=x.x.x.x:1234}}'
but..when i try to stream my webcam using VLC GUI, it perfectly give me my video streaming without audio.
So how i'm going to disable my audio streaming using command line, I just want a video streaming only

pls ..help
thx
:oops:

Re: How to stream my live webcam video only?

Posted: 20 Oct 2009 00:30
by kdh
Hope I read your question correctly, I think you are asking on how to disable audio and only do video.. correct?

I did a quick search in the wiki and found your answer. check here: http://wiki.videolan.org/VLC_command-line_help

try this: --no-sout-audio

using your example, it would look something like:

Code: Select all

cvlc --no-sout-audio v4l2:// :v4l2-dev= :v4l2-adev= :v4l2-standard=0:v4l2-width=176 :v4l2-height=144 --sout '#transcode{vcodec=h264,vb=800,scale=1}:duplicate{dst=std{access=udp,mux=ts,dst=x.x.x.x:1234}}'
best of luck. =)