Page 1 of 1

how to stream dshow

Posted: 30 May 2009 02:59
by Jeremiah
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?

Re: how to stream dshow

Posted: 30 May 2009 16:42
by VLC_help
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}

Re: how to stream dshow

Posted: 31 May 2009 02:33
by Jeremiah
thank you very much, vlc_help.
i'll try it.