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
#91
2022-04-06, 02:38 AM
VLC is installed. I changed both tuning name entries in the bat file. I am trying to see if i can manually tune and play a channel using ffplay.
RazorRust
Offline

Junior Member

USA
Posts: 19
Threads: 4
Joined: Apr 2022
#92
2022-04-06, 02:41 AM (This post was last modified: 2022-04-06, 02:49 AM by RazorRust.)
ffplay works.

EDIT: Can also enter and play fm station in VLC via open capture device. Radio plays in kodi, web but no sound. In nextpvr app I just see please wait. Believe it is also playing but without sound.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 44,856
Threads: 862
Joined: May 2006
#93
2022-04-06, 02:50 AM
Did you also change :dshow-tuner-frequency=%1 to :dshow-tuner-channel=%1

To test ffplay properly on 94.9 did you do it this way?

"C:\Users\Public\NPVR-data\scripts\AnalogRadio.bat" 94900000 | "C:\Program Files\NextPVR\Other\ffplay" -i -

If that works testing with NextPVR.exe or Kodi would be better.

Martin
RazorRust
Offline

Junior Member

USA
Posts: 19
Threads: 4
Joined: Apr 2022
#94
2022-04-06, 03:01 AM (This post was last modified: 2022-04-06, 03:03 AM by RazorRust.)
I had not changed :dshow-tuner-frequency=%1 to :dshow-tuner-channel=%1. I did now I'm getting a Streaming Failed (transcoder exited) in the web interface.

I did not test ffplay this way, When I run,
"C:\Users\Public\NPVR-data\scripts\AnalogRadio.bat" 94900000 | "C:\Program Files\NextPVR\Other\ffplay" -i -

The radio channel never starts to play. The last line looks like this nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0

EDIT: Something going on. I changed tuner-channel back to tuner-frequeny and im still getting streaming failed (transcoder exited). Maybe a reboot will help.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 44,856
Threads: 862
Joined: May 2006
#95
2022-04-06, 03:08 AM
A reboot will like not help but don't bother with the web app until that ffplay works.

Post the contents of AnalogRadio.bat and we can check.

Martin
RazorRust
Offline

Junior Member

USA
Posts: 19
Threads: 4
Joined: Apr 2022
#96
2022-04-06, 03:11 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 -i audio="Hauppauge Cx23100 Video Capture" -acodec aac -ab 198000 -f mpegts -
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 44,856
Threads: 862
Joined: May 2006
#97
2022-04-06, 03:18 AM
That's ok (at least by the other user who posted) Maybe try adding -crossbar_audio_input_pin_number 3 before the -i audio on the ffmpeg line.
I would also add -vn before -acodec

Martin
RazorRust
Offline

Junior Member

USA
Posts: 19
Threads: 4
Joined: Apr 2022
#98
2022-04-06, 03:24 AM
I will try. Oddly enough when I run "C:\Users\Public\NPVR-data\scripts\AnalogRadio.bat" 94900000 | "C:\Program Files\NextPVR\Other\ffplay" -i - I cannot get anything to work until I reboot. The app says unable to find capture device. failed to start
RazorRust
Offline

Junior Member

USA
Posts: 19
Threads: 4
Joined: Apr 2022
#99
2022-04-06, 03:35 AM
It's working! Working on web, app, and kodi. Thanks for the help!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 44,856
Threads: 862
Joined: May 2006
#100
2022-04-06, 03:40 AM
Great can you share the AnalogRadio.bat file?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (13): « Previous 1 … 8 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 214 2022-11-23, 01:22 PM
Last Post: mvallevand
  IPTV like stream from Sound Card input - FM Radio Project NumberFive 3 141 2022-11-20, 04:28 PM
Last Post: mvallevand
  IPTV Pretuning and Internet Radio mvallevand 5 2,125 2019-02-04, 12:02 AM
Last Post: mvallevand
  Problems with Windows UWP App spitefulgod 4 3,035 2016-12-15, 08:35 PM
Last Post: spitefulgod
  Any ideas about programming for Windows Firewall? bgowland 4 4,464 2014-04-10, 09:05 AM
Last Post: bgowland
  Windows Shortcuts ACTCMS 4 1,917 2012-03-24, 12:22 AM
Last Post: mvallevand
  Creating a Windows service McBainUK 8 2,404 2011-03-30, 03:29 AM
Last Post: mvallevand
  Which channel logo image formats does npvr support? bgowland 2 1,509 2011-03-06, 05:43 AM
Last Post: bgowland
  Webservice API to support Android App development Barsk 4 2,513 2010-10-19, 07:31 AM
Last Post: Barsk
  Using Windows file system shortcuts ACTCMS 0 1,391 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