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
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#1
2020-05-01, 06:07 PM (This post was last modified: 2020-05-01, 06:07 PM by mvallevand.)
I want to do this in stages so I can post some thing on wiki.  Remember that FM analog radio devices are dead technology vendors haven't produced them since the digital migration so expect some bumps.  Lucky users will find a device with linux support I haven't found one and certainly wouldn't spend money to get one. Streaming and SDR FM are the future and much easier to get working.

Anyway for stage one,  I would like you to run this command and send the output

ffmpeg -list_devices true -f dshow -i dummy

ffmpeg is distributed with NextPVR and is in "C:\Program Files\NextPVR\Other"

Martin
UncT
Offline

Member

Posts: 123
Threads: 20
Joined: Dec 2015
#2
2020-05-01, 07:10 PM
C:\Program Files\NextPVR\Other>ffmpeg -list_devices true -f dshow -i dummy
ffmpeg version 4.2 Copyright © 2000-2019 the FFmpeg developers
built with gcc 9.1.1 (GCC) 20190807
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
[dshow @ 064c3740] DirectShow video devices (some may be both video and audio devices)
[dshow @ 064c3740] "AVerMedia USB Polaris Analog Capture"
[dshow @ 064c3740] Alternative name "@device_pnp_\\?\usb#vid_07ca&pid_0837&mi_01#7&2e0c3b7d&0&0001#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{9b365890-165f-11d0-a195-0020afd156e4}"
[dshow @ 064c3740] "Hauppauge WinTV 885 Video Capture"
[dshow @ 064c3740] Alternative name "@device_pnp_\\?\pci#ven_14f1&dev_8880&subsys_2a180070&rev_04#6&33eb4766&0&0038020b#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{9f0e8b75-c677-11db-beb4-00a0c9f21fc7}"
[dshow @ 064c3740] "Hauppauge WinTV 885 Video Capture"
[dshow @ 064c3740] Alternative name "@device_pnp_\\?\pci#ven_14f1&dev_8852&subsys_6b180070&rev_03#6&1ecbf3d0&0&0010001a#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{9f0e8b75-c677-11db-beb4-00a0c9f21fc7}"
[dshow @ 064c3740] "Hauppauge WinTV 885 Video Capture"
[dshow @ 064c3740] Alternative name "@device_pnp_\\?\pci#ven_14f1&dev_8852&subsys_6a180070&rev_03#6&4c36b8f&0&0008001a#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{9f0e8b75-c677-11db-beb4-00a0c9f21fc7}"
[dshow @ 064c3740] DirectShow audio devices
[dshow @ 064c3740] Could not enumerate audio only devices (or none found).
dummy: Immediate exit requested

C:\Program Files\NextPVR\Other>
UncT
Offline

Member

Posts: 123
Threads: 20
Joined: Dec 2015
#3
2020-05-01, 07:11 PM
Is this what you wanted?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#4
2020-05-01, 07:37 PM (This post was last modified: 2020-05-01, 07:38 PM by mvallevand.)
Yes, which device do you want to try with Avermedia or Hauppauge

Martin
UncT
Offline

Member

Posts: 123
Threads: 20
Joined: Dec 2015
#5
2020-05-01, 08:23 PM
I think the Avermedia, but Martin, if one is easier than another, you can decide.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#6
2020-05-01, 08:35 PM (This post was last modified: 2020-05-01, 08:35 PM by mvallevand.)
No that is fine.  No lets try

ffmpeg -show_analog_tv_tuner_dialog true -f dshow -i video="AVerMedia USB Polaris Analog Capture"

Do you get something like this that allows you to select FM

Martin


Attached Files Thumbnail(s)
   
UncT
Offline

Member

Posts: 123
Threads: 20
Joined: Dec 2015
#7
2020-05-01, 08:53 PM
Yes
UncT
Offline

Member

Posts: 123
Threads: 20
Joined: Dec 2015
#8
2020-05-01, 08:58 PM
Martin, wife needs me for some work outside. Leave me instructions and I will complete them later tonight or tomorrow for sure. Thanks my friend,
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#9
2020-05-01, 09:11 PM (This post was last modified: 2020-05-01, 09:21 PM by mvallevand.)
Sorry I am doing other things too I know it seems slow but I want to make sure every step is ok. I've been burnt a few times making an extra device where steps get overlooked. Also this is new.

If you have ffplay on your system use the dialpad and change the frequency to a known fm frequency and

ffplay -f dshow -i audio="AVerMedia USB Polaris Analog Capture"

Martin
bourret.brandon
Offline

Junior Member

United States
Posts: 15
Threads: 2
Joined: Apr 2020
#10
2020-05-02, 05:26 AM (This post was last modified: 2020-05-02, 05:59 AM by bourret.brandon.)
The first command/output you asked for

C:\Program Files\NextPVR\Other>ffmpeg -list_devices true -f dshow -i dummy
ffmpeg version 4.2 Copyright © 2000-2019 the FFmpeg developers
  built with gcc 9.1.1 (GCC) 20190807
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 31.100 / 56. 31.100
  libavcodec    58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter    7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample  3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[dshow @ 00df36c0] DirectShow video devices (some may be both video and audio devices)
[dshow @ 00df36c0]  "Logitech HD Pro Webcam C910"
[dshow @ 00df36c0]    Alternative name "@device_pnp_\\?\usb#vid_046d&pid_0821&mi_02#8&267a3083&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}"
[dshow @ 00df36c0]  "USB2.0 HD UVC WebCam"
[dshow @ 00df36c0]    Alternative name "@device_pnp_\\?\usb#vid_13d3&pid_56a2&mi_00#6&c91c3a9&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
[dshow @ 00df36c0]  "Hauppauge Cx23100 Video Capture"
[dshow @ 00df36c0]    Alternative name "@device_pnp_\\?\usb#vid_2040&pid_b123&mi_01#7&210fa1d2&0&0001#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{9b365890-165f-11d0-a195-0020afd156e4}"
[dshow @ 00df36c0] DirectShow audio devices
[dshow @ 00df36c0]  "Microphone (HD Pro Webcam C910)"
[dshow @ 00df36c0]    Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{F78A6D31-2248-42CE-BFFB-73E605733C7F}"
[dshow @ 00df36c0]  "Microphone (Realtek High Definition Audio)"
[dshow @ 00df36c0]    Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{BE798145-2B01-4A12-883F-783C3453016B}"
dummy: Immediate exit requested


The second command/output you asked for

C:\Program Files\NextPVR\Other>ffmpeg -show_analog_tv_tuner_dialog true -f dshow -i video="Hauppauge Cx23100 Video Capture"
ffmpeg version 4.2 Copyright © 2000-2019 the FFmpeg developers
  built with gcc 9.1.1 (GCC) 20190807
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 31.100 / 56. 31.100
  libavcodec    58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter    7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample  3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100

Brings up the resulting window

   

Which I adjusted to a working local FM station

   

And then just for shits and giggles ...

C:\Program Files\NextPVR\Other>ffmpeg -show_analog_tv_tuner_dialog true -f dshow -i audio="Hauppauge Cx23100 Video Capture" "C:\Users\anonymous\Desktop\test.wav"
ffmpeg version 4.2 Copyright © 2000-2019 the FFmpeg developers
  built with gcc 9.1.1 (GCC) 20190807
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 31.100 / 56. 31.100
  libavcodec    58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter    7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample  3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[dshow @ 068e3ac0] Could not find audio only device with name [Hauppauge Cx23100 Video Capture] among source devices of type audio.
[dshow @ 068e3ac0] Searching for audio device within video devices for Hauppauge Cx23100 Video Capture
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, dshow, from 'audio=Hauppauge Cx23100 Video Capture':
  Duration: N/A, start: 347411.601704, bitrate: 1536 kb/s
    Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'C:\Users\anonymous\Desktop\test.wav':
  Metadata:
    ISFT            : Lavf58.29.100
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      encoder        : Lavc58.54.100 pcm_s16le
size=    8974kB time=00:00:47.84 bitrate=1536.3kbits/s speed=  1x
video:0kB audio:8974kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000849%

Produced a valid WAV output of the FM station I tuned into above. Played it in VLC, and it sounded great!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (13): 1 2 3 4 5 … 13 Next »
Jump to page 


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