how to stream dshow

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.
Jeremiah
Blank Cone
Blank Cone
Posts: 53
Joined: 16 Oct 2008 09:31

how to stream dshow

Postby Jeremiah » 30 May 2009 02:59

hi all.
when i use vlc to stream my camera in XP, it doesn't work.

the command is

Code: Select all

vlc dshow:// :dshow-vdev="VIMICRO USB PC Camera (ZC0301PLH)" :dshow-adev="Conexant AMC Audio" :dshow-size=320*240 :sout=#duplicate{dst=display,dst=std{access=file,mux=ts,dst=D:/01.ts}}
the file is created, but it contains nothing.

i tried vlc-0.8.6i & vlc-0.9.9 it works the same. what's the matter?

by the way, when i use vlc-0.8.6i, the video from the carema is good, but using vlc-0.9.9, the video is "white by blue", when i look at myself, i feel myself just like i blue face evil.. :mrgreen: :twisted: . So how to solve the problems?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: how to stream dshow

Postby VLC_help » 30 May 2009 16:42

the video is "white by blue"
The DShow colorspaces are messed up in VLC 0.9.x. You can try to use some other colorspace (aka Video input chroma format) and hope it works better.

And you have to encode video. Dshow returns RAW videodata which isn't really meant for TS. So add options like

Code: Select all

#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2}

Jeremiah
Blank Cone
Blank Cone
Posts: 53
Joined: 16 Oct 2008 09:31

Re: how to stream dshow

Postby Jeremiah » 31 May 2009 02:33

thank you very much, vlc_help.
i'll try it.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 44 guests