Camera works but streaming doesnt seem to work.

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
pcm2a
New Cone
New Cone
Posts: 9
Joined: 23 Jul 2007 18:26

Camera works but streaming doesnt seem to work.

Postby pcm2a » 23 Jul 2007 19:40

My setup, winxp, microsoft USB webcam, cable modem. My first goal: To make a webcam video stream that I can access from another computer or externally via Media Player, VLC, or anything.

In VLC on winxp I pick to open a capture device. I pick my webcam, and hit ok. Now I am looking at my webcam picture in the VLC player. So far so good.

Next I go back into File->Open Capture Device and I check Stream/Save.
I pick Settings.
I check HTTP and put 192.168.10.110 port 8090. This is the ip address of my winxp machine.
I select MP4 for the codec and hit OK. Then hit OK again.

Now I no longer see my webcam feed in my window. Instead I have the default VLC window except with a status bar at the bottom. It has a counter that is counting up. Ex: 24:02:35 / 0:00:00 | x1.00 | dshow://
No video is playing.

I open a second VLC and try to access the feed via the "Open Network Stream" but nothing will play.
I also try it from outside the network with no success.

Any tips?

pcm2a
New Cone
New Cone
Posts: 9
Joined: 23 Jul 2007 18:26

Re: Camera works but streaming doesnt seem to work.

Postby pcm2a » 23 Jul 2007 21:40

Found the output box that shows the debug messages that print when I try to open a stream, and I see a big error in there:
dshow debug: selected video pin accepts format: I420
dshow error: no capture device was detected
dshow error: can't open audio
dshow debug: Playing...

Full debug messages:
main debug: adding playlist item `dshow://' ( dshow:// )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: creating statistics handler
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `std{access=http,mux=asf,dst=192.168.10.110:8090}'
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-standard-access to http
main debug: set sout option: sout-standard-mux to asf
main debug: set sout option: sout-standard-dst to 192.168.10.110:8090
stream_out_standard debug: creating `http/asf://192.168.10.110:8090'
stream_out_standard debug: extension is 110:8090
stream_out_standard debug: extension -> mux=(null)
stream_out_standard debug: using `http/asf://192.168.10.110:8090'
main debug: looking for sout access module: 1 candidate
main: creating httpd
main debug: net: listening to 192.168.10.110 port 8090
main debug: thread 4408 (input) created at priority 1 (input/input.c:265)
main debug: thread 4536 (httpd host thread) created at priority 0 (network/httpd.c:1078)
main debug: using sout access module "access_output_http"
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_asf debug: asf muxer opened
mux_asf debug: Packet size 4096
mux_asf debug: meta data: title='', author='', copyright='', comment='', rating=''
main debug: using sout mux module "mux_asf"
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: using sout stream module "stream_out_duplicate"
main debug: `dshow://' gives access `dshow' demux `' path `'
main debug: creating demux: access='dshow' demux='' path=''
main debug: looking for access_demux module: 1 candidate
dshow debug: found device: Microsoft LifeCam VX-3000
dshow debug: using device: Microsoft LifeCam VX-3000
dshow debug: EnumDeviceCaps: output pin: Capture
dshow debug: EnumDeviceCaps: trying pin Capture
dshow debug: EnumDeviceCaps: input pin default format configured
dshow debug: EnumDeviceCaps: input pin accepts chroma: I420, width:160, height:120, fps:30.000030
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: connecting filters
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo [not connected]
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::QueryFilterInfo
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryAccept [OK] (width=160, height=120, chroma=I420, fps=30.000030)
dshow debug: CapturePin::ReceiveConnection [OK]
dshow debug: CapturePin::NotifyAllocator
dshow debug: filters connected successfully !
dshow debug: MEDIATYPE_Video
dshow debug: selected video pin accepts format: I420
dshow error: no capture device was detected
dshow error: can't open audio
dshow debug: Playing...
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo [OK]
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::Pause
dshow debug: CaptureFilter::Run
main debug: selecting program id=0
main debug: using access_demux module "dshow"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "rawvideo"
main debug: thread 5024 (decoder) created at priority 0 (input/decoder.c:159)
main debug: starting in sync mode
main debug: `dshow://' successfully opened
main debug: adding a new input
stream_out_duplicate debug: duplicated a new stream codec=I420 (es=0 group=0)
main debug: adding a new input
mux_asf debug: adding input
stream_out_duplicate debug: - added for output 0
main warning: late buffer for mux input (32008)
main warning: late buffer for mux input (187036)
.. skipped some of these ...
main warning: late buffer for mux input (118343)
mux_asf debug: Asf muxer creating header
mux_asf debug: pixel aspect-ratio: 1/1
main warning: late buffer for mux input (148900)
main warning: late buffer for mux input (93086)
...skipped about 100 of these ...
main warning: late buffer for mux input (327081)
main warning: late buffer for mux input (375875)
main debug: control type=0
main debug: control: stopping input
main debug: closing input
dshow debug: CaptureFilter::Pause
dshow debug: CaptureFilter::Stop
dshow debug: CapturePin::EndFlush
dshow debug: releasing DirectShow
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo [OK]
dshow debug: CapturePin::Disconnect [OK]
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: CaptureFilter::GetState 0
dshow debug: CaptureFilter::~CaptureFilter
dshow debug: CapturePin::~CapturePin
main debug: removing module "dshow"
main debug: removing module "rawvideo"
main debug: thread times: real 0m5.267574s, kernel 0m0.010014s, user 0m0.040057s
main debug: thread 5024 joined (input/decoder.c:191)
main debug: killing decoder fourcc `I420', 0 PES in FIFO
main debug: removing an input
mux_asf debug: removing input
main warning: no more input streams for this mux
main debug: destroying sout
main debug: destroying chain... (name=duplicate)
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=std)
mux_asf debug: Asf muxer closed
access_output_http warning: HTTP sout access cannot seek
main debug: removing module "mux_asf"
main debug: thread times: real 0m6.799777s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 4536 joined (network/httpd.c:1134)
main debug: HTTP host removed
main debug: no host left, stopping httpd
access_output_http debug: Close
main debug: removing module "access_output_http"
main debug: removing module "stream_out_standard"
main debug: destroying chain done
main debug: removing module "stream_out_duplicate"
main debug: destroying chain done
main debug: thread times: real 0m7.080180s, kernel 0m0.180259s, user 0m0.070100s
main debug: thread 4408 joined (input/input.c:412)
main warning: refcount is 1, delaying before deletion (id=301,type=-7)

pcm2a
New Cone
New Cone
Posts: 9
Joined: 23 Jul 2007 18:26

Re: Camera works but streaming doesnt seem to work.

Postby pcm2a » 23 Jul 2007 21:42

Here is the output I get when I try to open the webcam without doing streaming, which works perfectly. It gets the same error, except my webcam shows up fine.
dshow debug: selected video pin accepts format: I420
dshow error: no capture device was detected
dshow error: can't open audio
dshow debug: Playing...

Full debug listing:
main debug: adding playlist item `dshow://' ( dshow:// )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4596 (input) created at priority 1 (input/input.c:265)
main debug: `dshow://' gives access `dshow' demux `' path `'
main debug: creating demux: access='dshow' demux='' path=''
main debug: looking for access_demux module: 1 candidate
dshow debug: found device: Microsoft LifeCam VX-3000
dshow debug: using device: Microsoft LifeCam VX-3000
dshow debug: EnumDeviceCaps: output pin: Capture
dshow debug: EnumDeviceCaps: trying pin Capture
dshow debug: EnumDeviceCaps: input pin default format configured
dshow debug: EnumDeviceCaps: input pin accepts chroma: I420, width:160, height:120, fps:30.000030
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: connecting filters
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo [not connected]
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::QueryFilterInfo
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryAccept [OK] (width=160, height=120, chroma=I420, fps=30.000030)
dshow debug: CapturePin::ReceiveConnection [OK]
dshow debug: CapturePin::NotifyAllocator
dshow debug: filters connected successfully !
dshow debug: MEDIATYPE_Video
dshow debug: selected video pin accepts format: I420
dshow error: no capture device was detected
dshow error: can't open audio
dshow debug: Playing...
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo [OK]
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::Pause
dshow debug: CaptureFilter::Run
main debug: selecting program id=0
main debug: using access_demux module "dshow"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "rawvideo"
main debug: thread 4724 (decoder) created at priority 0 (input/decoder.c:159)
main debug: `dshow://' successfully opened
main debug: no usable vout present, spawning one
main debug: window size: 160x120
main debug: looking for video output module: 6 candidates
vout_directx debug: creating DirectXEventThread
main debug: waiting for thread completion
vout_directx debug: DirectXCreateWindow
main debug: Registering subpicture channel, ID: 2
main debug: Registering subpicture channel, ID: 3
main debug: Registering subpicture channel, ID: 4
main debug: Registering subpicture channel, ID: 5
vout_directx debug: created video sub-window
main debug: thread 4992 (DirectX Events Thread) created at priority 0 (directx.c:278)
vout_directx debug: DirectXEventThread running
vout_directx debug: DirectXInitDDraw
vout_directx debug: directx-device:
vout_directx debug: DirectXEnumCallback: Primary Display Driver, display
vout_directx debug: screen dimensions (0x0,1280x1024)
vout_directx debug: DirectDraw Capabilities: overlay=0 yuvoverlay=0 can_deinterlace_overlay=0 colorkey=0 stretch=0 bltfourcc=0
vout_directx debug: End DirectXInitDDraw
vout_directx debug: DirectXCreateDisplay
vout_directx debug: DirectXCreateClipper
vout_directx debug: disabling screen saver
main debug: using video output module "vout_directx"
vout_directx debug: NewPictureVec overlay:yes chroma:YV12
vout_directx debug: End NewPictureVec (failed)
vout_directx debug: NewPictureVec overlay:yes chroma:YV12
vout_directx debug: End NewPictureVec (failed)
vout_directx debug: NewPictureVec overlay:yes chroma:YUY2
vout_directx debug: End NewPictureVec (failed)
vout_directx debug: NewPictureVec overlay:no chroma:YV12
vout_directx debug: created plain surface of chroma:RV16
vout_directx debug: End NewPictureVec (succeeded)
main debug: got 1 direct buffer(s)
main debug: picture in 160x120 (0,0,160x120), chroma I420, ar 4:3, sar 1:1
main debug: picture user 160x120 (0,0,160x120), chroma I420, ar 4:3, sar 1:1
main debug: picture out 160x120 (0,0,160x120), chroma RV16, ar 4:3, sar 1:1
main debug: looking for chroma module: 9 candidates
main debug: using chroma module "i420_rgb_mmx"
main debug: indirect render, mapping render pictures 0-7 to system pictures 1-8
main debug: waiting for thread completion
main debug: thread 4960 (video output) created at priority 1 (video_output/video_output.c:421)
main warning: late picture skipped (4150568)
main warning: late picture skipped (4095331)

pcm2a
New Cone
New Cone
Posts: 9
Joined: 23 Jul 2007 18:26

Re: Camera works but streaming doesnt seem to work.

Postby pcm2a » 24 Jul 2007 01:01

I checked the box that says "Play Locally" along with my other options and everything seems to work.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Camera works but streaming doesnt seem to work.

Postby dionoea » 24 Jul 2007 18:36

I420 is raw video. You need to transcode that (which means encode the video in some compressed format) in order to stream it.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Camera works but streaming doesnt seem to work.

Postby dionoea » 24 Jul 2007 18:38

Btw, streaming related questions should be asked in the "Stream output" forum category (you'll get answers faster if you post in the appropriate category ... especially if it's not the "VLC media player for Windows" category :) )
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 66 guests