Page 1 of 1

Streaming a channel from a TV Tuner Card

Posted: 07 Oct 2005 16:18
by xno
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!!! :cry:
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.

:)

Posted: 12 Oct 2005 11:36
by xno
Nobody has done that before? :(

I have successfully arrived to do that with Window Media Encoder...Why I cannot do the same thing with VLC? :?

:?:

Posted: 18 Oct 2005 11:53
by mycasa
Try to specify capture size

setup c1 input dshow-size="640 x 480"

Beware of the spaces

Posted: 31 Oct 2005 15:46
by Guest
Thanks for your replay, I will test your solution.

:)

Posted: 31 Oct 2005 15:49
by xno
:oops: ... I was not logged.

For the previous post, the word was 'reply' and not 'replay'.

:roll:

Re: Streaming a channel from a TV Tuner Card

Posted: 16 Dec 2009 15:57
by silid
Just a bit late but perhaps this line should read ouput not input:

setup c1 output #duplicate{dst=std{access=udp, mux=ts, url=client_ip:1234, name="c1"}}