Use VLC to expose video card as an ip webcam

About encoding, codec settings, muxers and filter usage
sog1
New Cone
New Cone
Posts: 2
Joined: 02 Aug 2008 20:59

Use VLC to expose video card as an ip webcam

Postby sog1 » 02 Aug 2008 21:10

When used as a stream server, can VLC be used with a video capture card as the input and stream the output as a jpeg feed. The output would need to appear to other applications as an ip web cam. If so, what would the commandline script look like.

Thanks for any info.

olegkirillov
Blank Cone
Blank Cone
Posts: 46
Joined: 29 Jun 2008 21:04

Re: Use VLC to expose video card as an ip webcam

Postby olegkirillov » 03 Aug 2008 11:40

Not sure what you're trying to do, but I guess you may get what you need by specifying "screen:" as a source for input.

sog1
New Cone
New Cone
Posts: 2
Joined: 02 Aug 2008 20:59

Re: Use VLC to expose video card as an ip webcam

Postby sog1 » 03 Aug 2008 19:50

I am trying to stream video from a Pinnacle video capture card on Windows XP using the following command line:

# VLC media player VLM command batch
# http://www.videolan.org/vlc/
dshow:// :dshow-vdev="Pinnacle DV/AV Capture" :dshow-adev="" :dshow-size="640X480" :sout=#transcode{vcodec=WMV1,vb=1024,scale=1}:duplicate{dst=display,dst=std{access=mmsh,mux=asfh,dst=192.168.1.2:8080}} :sout-all

VLC looks like it is streaming as VLC Media Player shows an increasing time in the status bar at the bottom, but no local dispay shows and I cannot connect to 192.168.1.2:8080 with Windows Media Player nor another instance of VLC Media Player.

I can stream video from the card using Windows Media Encoder 9, so I am sure the video capture card is working ok.

I guess a good start would be simply to view the video capture card's output locally in the VLC media player. I have tried numerous variations of settings and read quite a few posts regarding setup of VLC as a server, but just can't seem to get VLC set correctly to stream.

olegkirillov
Blank Cone
Blank Cone
Posts: 46
Joined: 29 Jun 2008 21:04

Re: Use VLC to expose video card as an ip webcam

Postby olegkirillov » 18 Aug 2008 12:27

You have to get local playback working before you can stream anything. As you do not see the local output it seems that your dshow input is configured incorrectly.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 8 guests