VLC, TV Tuner and Visual Basic
Posted: 08 Apr 2008 02:24
I've some troubles setting up VLC in Visual Basic with my TV Tuner (Hauppauge WinTV PVR 250). I can get video and audio, but I can't change channel. I've added channels to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\TV System Services\TVAutoTune\TS0-1
It's possible for me to change in VLC, but when I try from Visual Basic 6 nothing happens, it just keep using the last channel I used in VLC - any suggestions?
This is the code I'm trying to use in Visual Basic:
VLC.addTarget "dshow:// :dshow-vdev=""""", Array(":dshow-adev="""" :dshow-size="""" :dshow-caching=200 :dshow-chroma="""" :dshow-fps=0.000000 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=3 :dshow-tuner-country=0 :dshow-tuner-input=1 :dshow-video-input=0 :dshow-audio-input=4 :dshow-video-output=-1 :dshow-audio-output=-1"), VLCPlayListAppendAndGo, -666
The array is copy/pasted from VLC itself-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\TV System Services\TVAutoTune\TS0-1
It's possible for me to change in VLC, but when I try from Visual Basic 6 nothing happens, it just keep using the last channel I used in VLC - any suggestions?
This is the code I'm trying to use in Visual Basic:
VLC.addTarget "dshow:// :dshow-vdev=""""", Array(":dshow-adev="""" :dshow-size="""" :dshow-caching=200 :dshow-chroma="""" :dshow-fps=0.000000 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=3 :dshow-tuner-country=0 :dshow-tuner-input=1 :dshow-video-input=0 :dshow-audio-input=4 :dshow-video-output=-1 :dshow-audio-output=-1"), VLCPlayListAppendAndGo, -666
The array is copy/pasted from VLC itself-