2022-02-12, 07:14 PM
For my Hauppauge device I need to add -crossbar_audio_input_pin_number 3
Martin
Martin
2022-02-12, 07:14 PM
For my Hauppauge device I need to add -crossbar_audio_input_pin_number 3
Martin
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.
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
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.
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
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.
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> 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>
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.
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
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. 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! |
|