2025-02-11, 05:09 PM

I have been experimenting with nrsc5 streams on an extras tuner. When I manually start the tuner to an HD radio station it works great. However, I would like to start the nrsc5 stream, then either pipe it to ffmpeg, or be able to use a wav file created by nrsc5 to stream live when I click on the channel. I'm using it to listen to AM broadcasts that are available on HD radio channels because the AM band reception is terrible where I live, especially in a house. I am using Windows 11 with the latest version of NPVR. Here are the three files I use.
Extras.xml contents:
<extras>
<channel name="KRLD">
<command>C:\Users\Public\NPVR-Data\Media4Keeps\KRLD.bat</command>
<args></args>
</channel>
</extras>
KRLD.bat contents:
C:\Program Files\NextPVR\Other\ffmpeg -re -i C:\Users\Public\NPVR-Data\Media4Keeps\KRLD.wav -f mp3 -
NRSC5_KRLD.bat contents: (this is the file I use currently to start the stream in wav format)
C:\msys64\mingw64\bin\nrsc5 -o C:\Users\Public\NPVR-Data\Media4Keeps\KRLD.wav 100.3 1
Without manually starting the stream before clicking on the channel, ffmpeg starts and finds no stream.
Please guide me on how I can make this more automated.