NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
1 2 3 4 5 … 93 Next »
Windows FM Radio support in v5.

 
  • 0 Vote(s) - 0 Average
Windows FM Radio support in v5.
RazorRust
Offline

Junior Member

USA
Posts: 19
Threads: 4
Joined: Apr 2022
#101
2022-04-06, 03:47 AM
@echo off
"C:\Program Files\Videolan\VLC\vlc.exe" -I dummy --stop-time 1 --no-audio --no-video --no-sout-video dshow:// :dshow-adev="Hauppauge Cx23100 Video Capture" :dshow-tuner-channel=%1 :dshow-tuner-input=2 :dshow-amtuner-mode=2 vlc://quit
"C:\Program Files\NextPVR\Other\ffmpeg.exe" -v panic -f dshow -crossbar_audio_input_pin_number 3 -i audio="Hauppauge Cx23100 Video Capture" -vn -acodec aac -ab 198000 -f mpegts -
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,086
Threads: 957
Joined: May 2006
#102
2022-04-06, 03:52 AM
Great hopefully that will help some others. It is not clear to me what will happen if you use this device as FM and ATSC even when you don't use them at the same time so I would avoid that, or at least test that.

Martin
RazorRust
Offline

Junior Member

USA
Posts: 19
Threads: 4
Joined: Apr 2022
#103
2022-04-06, 04:00 AM
Hopefully so. I have switched back and forth from FM and ATSC in kodi with no issues so far. I also was able to leave out the -crossbar_audio_input_pin_number 3 and the -vn. So it seems the issue was not changing frequency to channel. Not sure why it didn't work when I first tried though.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,086
Threads: 957
Joined: May 2006
#104
2022-04-09, 04:20 PM (This post was last modified: 2022-04-09, 10:14 PM by mvallevand.)
I got a WinTV PVR USB2 off ebay (for $25 CDN with shipping) and while it doesn't support ATSC FM works. It is the first device I've found that works well in Linux too. The Extra for Windows was a bit tricky for whatever reason I can't directly run the same command for VLC in the batch file that works from the command prompt so I had to start it and kill it. Of course this also means that VLC can't be running at the same time (you could copy vlc.exe to another name)

AnalogRadio.bat would be

Code:
@echo off
start /b "" "C:\Program Files\Videolan\VLC\vlc.exe" -I dummy --dummy-quiet --no-video --no-audio --no-sout-all dshow:// :dshow-adev="Hauppauge PVR USB2 AVS Video Capture" :dshow-tuner-channel=%1  :dshow-tuner-input=1 :dshow-amtuner-mode=2 --stop-time 1  vlc:quit
"C:\Program Files\NextPVR\Other\ffmpeg.exe"  -v panic -re -f dshow -i audio="Hauppauge PVR USB2 AVS Video Capture" -vn -acodec aac  -af "aresample=async=1"   -ab 198000 -f mpegts -
taskkill  /im vlc.exe /f > NUL

Martin
jsauser11
Offline

Junior Member

Posts: 16
Threads: 2
Joined: Aug 2017
#105
2023-01-12, 06:35 PM
Sorry to ping an old thread, but I have been trying to get this working with a Hauppauge WinTV-HVR-2250 which has an analog fm tuner. As this thread was based upon Version 5 of NextPVR, I am curious if most of the instructions in the thread are usable in Version 6.1.1.221106? I have installed WinTV (v7) and that plays the analog fm just fine. I can get the ffmpeg show_analog_tuner_dialog, and can select frequency, FM, antenna, but when I try and output this to a file, it errors with no stream. If I am silly trying to do this in Version 6 NextPVR, please let me know. Thanks.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,086
Threads: 957
Joined: May 2006
#106
2023-01-12, 06:57 PM
Yes. To avoid confusion I know just say NextPVR and refer to the older version as v4.

I have written a new dotnet installer once you get the ffmpeg line working. It works much better with the cheap SDR radio devices too no config of VLC or FFmpeg needed.

Martin
jsauser11
Offline

Junior Member

Posts: 16
Threads: 2
Joined: Aug 2017
#107
2023-01-12, 07:21 PM
Thanks for the reply. So, I should continue playing around with the ffmpeg tuner settings until I get a good output before proceeding (varying the parameters in the tuner dialog). Directing the output to a .wav file as a test?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,086
Threads: 957
Joined: May 2006
#108
2023-01-12, 07:28 PM (This post was last modified: 2023-01-12, 07:28 PM by mvallevand.)
Yes, figure the device that is yours, and play with the crossbar settings too more then the setting on the dialog.

Martin
jsauser11
Offline

Junior Member

Posts: 16
Threads: 2
Joined: Aug 2017
#109
2023-01-13, 09:07 PM
Not having much luck changing the -crossbar_audio_input_pin_number in the AnalogRadio.bat (taken from post #101). Tried pin numbers 0 thru 4 with no output. Maybe the :dshow-tuner-input or :dshow-antuner-mode numbers are wrong for my capture card? Here is the AnalogRadio.bat I am using for testing:

@echo off
"C:\Program Files\Videolan\VLC\vlc.exe" -I dummy --stop-time 1 --no-audio --no-video --no-sout-video dshow:// :dshow-adev="Hauppauge WinTV-7164 Analog Capture" :dshow-tuner-channel=%1 :dshow-tuner-input=2 :dshow-amtuner-mode=2 vlc://quit
"C:\Program Files\NextPVR\Other\ffmpeg.exe" -v panic -f dshow -crossbar_audio_input_pin_number 3 -i audio="Hauppauge WinTV-7164 Analog Capture" -vn -acodec aac -ab 198000 -f mpegts -
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,086
Threads: 957
Joined: May 2006
#110
2023-01-13, 09:32 PM
Figure out how to tune using the ffmpeg to lock on a channel and then use ffplay to audio and then work backwards is much better than using the batch file commands.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (13): « Previous 1 … 9 10 11 12 13 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  FM tuner support in NextPVR? Goongyae 2 1,490 2022-11-23, 01:22 PM
Last Post: mvallevand
  IPTV like stream from Sound Card input - FM Radio Project NumberFive 3 1,516 2022-11-20, 04:28 PM
Last Post: mvallevand
  IPTV Pretuning and Internet Radio mvallevand 5 3,268 2019-02-04, 12:02 AM
Last Post: mvallevand
  Problems with Windows UWP App spitefulgod 4 3,892 2016-12-15, 08:35 PM
Last Post: spitefulgod
  Any ideas about programming for Windows Firewall? bgowland 4 5,770 2014-04-10, 09:05 AM
Last Post: bgowland
  Windows Shortcuts ACTCMS 4 2,793 2012-03-24, 12:22 AM
Last Post: mvallevand
  Creating a Windows service McBainUK 8 3,493 2011-03-30, 03:29 AM
Last Post: mvallevand
  Which channel logo image formats does npvr support? bgowland 2 2,123 2011-03-06, 05:43 AM
Last Post: bgowland
  Webservice API to support Android App development Barsk 4 3,351 2010-10-19, 07:31 AM
Last Post: Barsk
  Using Windows file system shortcuts ACTCMS 0 1,827 2010-01-26, 11:45 PM
Last Post: ACTCMS

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode