is directshow radio possible ?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
mhwlng
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Apr 2006 19:56

is directshow radio possible ?

Postby mhwlng » 20 Apr 2006 20:06

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 :

Image

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

mhwlng
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Apr 2006 19:56

Postby mhwlng » 21 Apr 2006 11:47

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

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 21 Apr 2006 23:42

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.

mhwlng
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Apr 2006 19:56

Postby mhwlng » 21 Apr 2006 23:52

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 :D

Marcel

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 22 Apr 2006 02:03

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

mhwlng
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Apr 2006 19:56

Postby mhwlng » 22 Apr 2006 09:14

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. :D )

Regards,

Marcel


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 55 guests