add support for fm radio via directshow

Feature requests for VLC.
mhwlng
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Apr 2006 19:56

add support for fm radio via directshow

Postby mhwlng » 26 Apr 2006 10:20

Hello,

Currently in dshow.cpp is hardcoded : tv mode.

hr = p_TV->put_Mode( AMTUNER_MODE_TV );

Is it possible to add a command line option to change the mode ?

I would like to use the FM Radio part of my Hauppauge WinTV PVR USB2 Encoder

Also, when I set the FM Radio mode manually, via the tuner dialog box, then vlc only plays the radio for 15 seconds. (I assume, it doesn't like the absence of a video signal ?)
I have not found a setting yet that continues playing the radio..

I don't know if this article is of any use ?

http://www.shspvr.com/graph_build/fm_mp3_recording.html

Thanks,

Marcel

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

Postby mhwlng » 02 May 2006 16:38

in vlc-0.8.6-svn-20060502-0001-win32.exe, the radio now keeps playing ok.

so, I think, that all that is needed now, is an option to set the tuner mode :

which is now hardcoded to : in dshow.cpp

hr = p_TV->put_Mode( AMTUNER_MODE_TV );

these are the possibilites :

AMTUNER_MODE_DEFAULT = 0x0000,
AMTUNER_MODE_TV = 0x0001,
AMTUNER_MODE_FM_RADIO = 0x0002,
AMTUNER_MODE_AM_RADIO = 0x0004,
AMTUNER_MODE_DSS = 0x0008

Would that modification, be possible ?

Thanks,

Marcel

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 02 May 2006 21:55

This changeset hopefully adds configuration options in the VLC preferences for AM TUNER MODE: http://trac.videolan.org/vlc/changeset/15527 . I haven't had the opportunity to test it. Please report if it works. (It should be available in tonight's nightly build)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

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

Postby mhwlng » 03 May 2006 10:50

Antoine,

It works great in vlc-0.8.6-svn-20060503-0000-win32.exe

thanks a lot !

Marcel

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 03 May 2006 21:40

Let me know if you have other easy to add options in mind :D
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

santosh.s
New Cone
New Cone
Posts: 3
Joined: 16 Sep 2007 11:35

Re: add support for fm radio via directshow

Postby santosh.s » 21 Sep 2007 06:14

This change seems to be very old, but did it make it to any release?
I am using latest version 0.8.6c (wxWidgets interface) but the option :dshow-amtuner-mode=2 for FM radio doesn't work.
The tuner card is "Pinnacle PCTV 713x Tuner BDA Analog Capture"


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 7 guests