Page 1 of 1
is directshow radio possible ?
Posted: 20 Apr 2006 20:06
by mhwlng
Hi,
when I use the wizard to connect to a directshow device :
dshow-vdev=Hauppauge WinTV PVR USB2 Encoder
then I can select a radio station in the tuner dialog box :
I can enter a frequency and select tuning mode 'fm radio'
is there any way to do this via the command line ?
also, another problem is when I play it locally (using vlc-0.8.5-test2-win32.zip) then the radio sound plays correctly for 10-15 seconds and then it stops...
Regards,
Marcel
Posted: 21 Apr 2006 11:47
by mhwlng
Hello,
just f.y.i.
there is no difference using vlc-0.8.5-test3-win32.zip
* you can only select radio, via tuner dialog box, not command line.
* radio sound plays fine when selecting 'play locally' in the wizard, but stops after 15 seconds.
Regards,
Marcel
Posted: 21 Apr 2006 23:42
by DJ
Have you tried the --no-video option on the command line when opening VLC before configuring your tuner? This may also be set in Preferences, Video, but then it will be permanent requiring a change each time you want to watch video, so a shortcut with the option would be more convenient.
It sounds as though the buffer is being filled and then stopping, perhaps because it is expecting video to lock to and when it can't do that it stops.
I'm guessing, because I do not have that setup to duplicate your situation.
Posted: 21 Apr 2006 23:52
by mhwlng
Hi DJ,
thanks for helping,
But that option doesn't make a difference (other than not showing a black rectangle anymore)
sound still stops after 15 seconds
and of course, if there is no way to set the radio mode/frequency via the command line then it isn't going to work anyway
Marcel
Posted: 22 Apr 2006 02:03
by DJ
Open a DOS box and type: cd c:\progra~1\videolan\vlc and then type: vlc -H and then type: edit vlc-help.txt
You will find all of the command line options here. The ones you are looking for is under DirectShow input.
There have been others here that have gotten it to work so I know it can be done. As to exactly what your problem is, I'm sorry but I do not know.
DirectShow input
--dshow-caching <integer> Caching value in ms
--dshow-vdev {,none} Video device name
--dshow-adev {,none} Audio device name
--dshow-size <string> Video size
--dshow-chroma <string> Video input chroma format
--dshow-fps <float> Video input frame rate
--dshow-config, --no-dshow-config
Device properties (default disabled)
--dshow-tuner, --no-dshow-tuner
Tuner properties (default disabled)
--dshow-tuner-channel <integer>
Tuner TV Channel
--dshow-tuner-country <integer>
Tuner country code
--dshow-tuner-input {0 (Default), 1 (Cable), 2 (Antenna)}
Tuner input type
Posted: 22 Apr 2006 09:14
by mhwlng
Hi DJ,
I already use these directshow options successfully to get tv from the same device....
but, see picture of tuner dialog above :
I can imagine that the fm frequency goes into --dshow-tuner-channel
but the problem is the 'tuning mode' that needs to be switched from tv to radio
I can't find a directshow command line option for that....
(and, of course, there is still the problem that it stops playing after 15 sec.
)
Regards,
Marcel