Streaming a channel from a TV Tuner Card
Posted: 07 Oct 2005 16:18
Hi all !
I am a little bit lost with VLC and all its commands.
I would like to stream a video flow from a capture peripheral like a TV tuner card, and show this flow with a media player (vlc, windows media player, ...).
This is relatively simple to do with vlc with a command line like:
vlc.exe dshow:// --dshow-vdev="Pinnacle PCTV 110i BDA Analog Capture" --dshow-adev="none" :sout=#transcode{vcodec=DIV3, vb=192, scale=1}:duplicate{dst=std{access=udp, mux=ts, url="client_ip:1234"}}
This line pushs a streaming flow to a client, and I can show it from VLC. That works fine!
But, I would like to do the same with a VLM configuration file. From the documentation, I arrived to make it work with some video files, but not from a tv tuner source.
I have this code:
vlc -I telnet --vlm-conf vlm.conf
with vlm.conf:
new c1 broadcast enabled
setup c1 input dshow://
setup c1 input dshow-vdev="Pinnacle PCTV 110i BDA Analog Capture"
setup c1 input dshow-adev="none"
setup c1 input #duplicate{dst=std{access=udp, mux=ts, url=client_ip:1234, name="c1"}}
control c1 play
This code does not work!!!
I surely missed something with all these commands, but where?
My OS is Windows XP SP2 and VLC version is 0.8.4-test1a.
Please help. Thanks.
I am a little bit lost with VLC and all its commands.
I would like to stream a video flow from a capture peripheral like a TV tuner card, and show this flow with a media player (vlc, windows media player, ...).
This is relatively simple to do with vlc with a command line like:
vlc.exe dshow:// --dshow-vdev="Pinnacle PCTV 110i BDA Analog Capture" --dshow-adev="none" :sout=#transcode{vcodec=DIV3, vb=192, scale=1}:duplicate{dst=std{access=udp, mux=ts, url="client_ip:1234"}}
This line pushs a streaming flow to a client, and I can show it from VLC. That works fine!
But, I would like to do the same with a VLM configuration file. From the documentation, I arrived to make it work with some video files, but not from a tv tuner source.
I have this code:
vlc -I telnet --vlm-conf vlm.conf
with vlm.conf:
new c1 broadcast enabled
setup c1 input dshow://
setup c1 input dshow-vdev="Pinnacle PCTV 110i BDA Analog Capture"
setup c1 input dshow-adev="none"
setup c1 input #duplicate{dst=std{access=udp, mux=ts, url=client_ip:1234, name="c1"}}
control c1 play
This code does not work!!!
I surely missed something with all these commands, but where?
My OS is Windows XP SP2 and VLC version is 0.8.4-test1a.
Please help. Thanks.