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.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#61
2022-02-12, 07:14 PM
For my Hauppauge device I need to add -crossbar_audio_input_pin_number 3

Martin
canadianeh
Offline

Junior Member

Posts: 18
Threads: 1
Joined: Jan 2013
#62
2022-02-12, 07:32 PM
I added that to the ffmpeg line, but still am not getting audio in NextPVR.

Thank you for your help, but I just don't think this is going to work for me.  Some of this is clearly way over my head.  I appreciate you attempting to patch in a way to do this, but I really wish this was baked into NextPVR 5 again.  My ultimate goal was to be able to add radio channels to Plex via NextPVR, but I'm not even sure if that would have worked here or not.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#63
2022-02-12, 07:42 PM
Never try to get it working in NextPVR before getting it to work with ffplay, that is your first mistake. If you want to put a device in an envelope and mail it to me I can see what I can do and mail it back.

There is zero reason to support this in NextPVR they haven't made these tuners for a long time and it is almost impost to find any FM tuner that isn't SDR that works with Linux.

Sounds like you really should be asking Plex to support this not NextPVR, after all you paid for that.

Martin
canadianeh
Offline

Junior Member

Posts: 18
Threads: 1
Joined: Jan 2013
#64
2022-02-12, 09:49 PM (This post was last modified: 2022-02-12, 09:51 PM by canadianeh.)
Okay, after looking up documentation on both ffmpeg and dshow, I now have both working command lines for ffplay and ffmpeg.

It turns out, I do not have a working command for vlc - the tuning aspect is not working from command line.  It seems to ignore the values set for :dshow-tuner-frequency=99900000.  Interestingly enough, this is not a listed command on the VLC wiki:
https://wiki.videolan.org/Documentation:Modules/dshow/

One other thing of note, If I check the box to see the tuner window within VLC, I can tune using that box.  However, using the "tuning frequency" setting in Advanced Options also has no effect on actually tuning the frequency. 

Are you testing/using this on windows, and if so, I'm curious what version of VLC you have.


Attached Files Thumbnail(s)
   
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#65
2022-02-12, 10:01 PM
VLC I have kept current since this thread started with no issue. 3.0.16

I think I said a couple of times the tuning line wasn't working. Here is the line I use but amtuner 2 and 3 both seem to work.

Code:
"C:\Program Files\Videolan\VLC\vlc.exe" -I dummy --stop-time 1 --no-audio --no-video --no-sout-video dshow://  :dshow-vdev="Hauppauge HVR USB2 Video Capture"  :dshow-tuner-frequency=%1 :dshow-tuner-input=2 :dshow-amtuner-mode=3 vlc://quit

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#66
2022-02-12, 10:04 PM
(2022-02-12, 07:32 PM)canadianeh Wrote: I appreciate you attempting to patch in a way to do this, but I really wish this was baked into NextPVR 5 again.
Ultimately it wouldn't be that hard for me to add it, at least on Windows, but it's hard to justify the develop time due to such a small number of people interested in FM radio these days. Just about all radio stations are available as online streams these days.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#67
2022-02-12, 10:16 PM
FYI, here is an example of how you'd add a couple of streaming radio stations to NextPVR.

In this case, I created a c:\users\public\NPVR-data\extras-NZ-Radio.xml, with following:
Code:
<extras>

  <channel name="91 ZM" service_type="10">
    <command>ffmpeg.exe</command>
    <args>-i https://ais-nzme.streamguys1.com/nz_008/playlist.m3u8 -vn -acodec aac -f mpegts - </args>
  </channel>

  <channel name="NewsTalk ZB" service_type="10">
    <command>ffmpeg.exe</command>
    <args>-i https://nz-ais-nzme.streamguys1.com/nz_002/playlist.m3u8 -vn -acodec aac -f mpegts - </args>
  </channel>

</extras>

This gives me these two radio stations in NextPVR.

For the vast majority of radio stations on the internet, it's just matter of doing the exact same xml, but with a different url in <args>
canadianeh
Offline

Junior Member

Posts: 18
Threads: 1
Joined: Jan 2013
#68
2022-02-12, 10:17 PM
(2022-02-12, 10:04 PM)sub Wrote:
(2022-02-12, 07:32 PM)canadianeh Wrote: I appreciate you attempting to patch in a way to do this, but I really wish this was baked into NextPVR 5 again.
Ultimately it wouldn't be that hard for me to add it, at least on Windows, but it's hard to justify the develop time due to such a small number of people interested in FM radio these days. Just about all radio stations are available as online streams these days.

Hi sub, I'm trying to add our local stations, some of which either do not stream or use proprietary streams on the web.  I'd also be up for testing with one of the rtl SDR dongles, if that would be a better and more current/available solution.  Those devices are pretty neat, as you can use them outside of the AM/FM spectrum, down into HF bands.  Ideally, I wanted to insert a static graphic into the video stream, which would show the stations logo or a generic picture (xxx.jpg matching the frequency or something).



Martin:  I just updated to the latest VLC (3.0.16), and it looks like it is still ignoring my input frequency.  Here is the command I'm trying to use for testing from the CLI:

"C:\Program Files\Videolan\VLC\vlc.exe" dshow:// :dshow-adev="Hauppauge Cx23100 Audio Capture" :dshow-tuner-frequency=92500000 :dshow-amtuner-mode=2

FWIW, I tried both amtuner modes 2 and 3.  

I tried looking up if there was a way to do this same function (simply tuning the card) using the WinTV program, but I wasn't able to find anything that looked too likely to work.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,184
Threads: 958
Joined: May 2006
#69
2022-02-12, 10:55 PM (This post was last modified: 2022-02-12, 11:09 PM by mvallevand.)
I showed how you can manually tune here https://forums.nextpvr.com/showthread.ph...#pid539810

The Extra that I posted on this thread https://forums.nextpvr.com/showthread.ph...#pid539855 supports creating local internet radio as listed on tunein, as well as SDR and FM. Clicking on https://tunein.com/radio/local/ tells you the Internet Radio stations you get, if your ISP has good geo-location. If not the extra configuration also supports specifying the location. For example for sub all the stations here https://tunein.com/radio/Stream-Wellington-r101620/ could be available.

SDR audio quality is poor IMO but HD Radio is also supported and it is a little better, but not better than higher quality Internet radio streams.

Martin
canadianeh
Offline

Junior Member

Posts: 18
Threads: 1
Joined: Jan 2013
#70
2022-02-12, 11:16 PM
(2022-02-12, 10:16 PM)sub Wrote: FYI, here is an example of how you'd add a couple of streaming radio stations to NextPVR.

In this case, I created a c:\users\public\NPVR-data\extras-NZ-Radio.xml, with following:
This gives me these two radio stations in NextPVR.

For the vast majority of radio stations on the internet, it's just matter of doing the exact same xml, but with a different url in <args>

Just providing some feedback here.  I just tried this for two stations I frequently listen to, both are Canadian (I'm in the USA .. barely). The first station is an iheartradio (Virgin Radio Montreal) which a google search shows they hide their URLs - which even wireshark doesn't display a working stream.  The second, is The Beat 92.5 (Montreal), which I found the M3u8 stream, however I'm apparently geo-blocked from the stream:  https://cogecomedia.leanstream.co/cogeco...ylist.m3u8

That being said, I still think there are people who would use an FM radio tuner.  There have been at least 3 others in this thread who have expressed interest.  Granted, 4 is not a huge number - I'll give you that.


Thanks for the tips, though!
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (13): « Previous 1 … 5 6 7 8 9 … 13 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  FM tuner support in NextPVR? Goongyae 2 1,550 2022-11-23, 01:22 PM
Last Post: mvallevand
  IPTV like stream from Sound Card input - FM Radio Project NumberFive 3 1,591 2022-11-20, 04:28 PM
Last Post: mvallevand
  IPTV Pretuning and Internet Radio mvallevand 5 3,326 2019-02-04, 12:02 AM
Last Post: mvallevand
  Problems with Windows UWP App spitefulgod 4 3,977 2016-12-15, 08:35 PM
Last Post: spitefulgod
  Any ideas about programming for Windows Firewall? bgowland 4 5,880 2014-04-10, 09:05 AM
Last Post: bgowland
  Windows Shortcuts ACTCMS 4 2,858 2012-03-24, 12:22 AM
Last Post: mvallevand
  Creating a Windows service McBainUK 8 3,609 2011-03-30, 03:29 AM
Last Post: mvallevand
  Which channel logo image formats does npvr support? bgowland 2 2,172 2011-03-06, 05:43 AM
Last Post: bgowland
  Webservice API to support Android App development Barsk 4 3,400 2010-10-19, 07:31 AM
Last Post: Barsk
  Using Windows file system shortcuts ACTCMS 0 1,860 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