NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 10 11 12 13 14 … 102 Next »
DVB radio streams stopping

 
  • 0 Vote(s) - 0 Average
DVB radio streams stopping
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#1
2024-08-21, 08:46 AM (This post was last modified: 2024-08-21, 11:03 AM by JP23.)
Hi,

I often stream DVB radio channes by opening them in VLC - ie open http://10.0.0.9/live?channel=707

Almost always, the stream just stops after around 7 minutes. Occasionally it continues indefinitely.

In the nrecord  log I see 'reached end of rolling file. Dropping connection...'

I'm seeing the same behaviour when streaming to a Kodi client using the NextPVR client addon.

Is there a setting I can change to avoid this, or a different method of getting the stream that will work better?

Logs attached.

Version: 6.1.5.231022 on Windows 10


Attached Files
.zip   logs-20240821-0935.zip (Size: 28.78 KB / Downloads: 2)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#2
2024-08-21, 11:33 AM
Looks like the data is very bursty and allows little buffering

2024-08-21 09:32:00.702 [DEBUG][15] Waiting for more data (pos: 10229268, len: 10229456, avail: 188, need:1316
...
2024-08-21 09:32:23.049 [DEBUG][15] Waiting for more data (pos: 10229268, len: 10229456, avail: 188, need:1316

and no data was delivered for 23 seconds during the swap of the live TV rolling file. I suspect you can reduce the problem by allowing a very large Live TV buffer.

BBC 6 has some good m3u8 stream you can listen to directly or add to NextPVR as IPTV.

Martin
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#3
2024-08-21, 02:40 PM
Regarding the Live TV buffer - I can see in the GUI that it's set to 20 minutes, however, the buffer files are never actually getting to more than about 6 minutes 50 seconds before a new file is created, so it seems like that setting isn't having any effect. (This is for TV, radio and IPTV)

Regarding the stream stopping - I can stream TV channels to VLC from the same tuner without the streams ever dropping out.
I've also tested playing the same radio station using the Windows NPVR client, and it carries on playing, albeit with a slight stutter, when the buffer file changes to a new one.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#4
2024-08-21, 02:45 PM
The 20 minutes gets split into 3 segments so you need to divide by 3.

VLC buffers the stream and can deal the bursts with 25 seconds and no data. NextPVR would need a longer wait.

In Kodi are you using timeshift? That is closer to the NextPVR client and it does buffer a little differently.

Martin
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#5
2024-08-23, 01:55 PM
The Kodi client I tested with was using 'realtime' streaming.

I'm not really concerned about Kodi, but I would really like this streaming to work reliably in VLC.

Is there any possible fix for this issue?

Is there perhaps a different method of calling the stream where it might behave differently - perhaps with some minimal level of transcoding?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#6
2024-08-23, 02:18 PM
I thought you might want Kodi for the EPG. Not sure why you can't just use normal AAC streams in VLC since you can get 320bit rate audio streams in the UK.

Its not a transcoding issue it is the bursty delivery, based on the log you could potentially have silence with no data for 20+ seconds at the beginning which would be pretty annoying. In any case sub would need to command on the technical aspects.

Martin
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#7
2024-09-03, 09:08 AM
Hi - I don't really believe that this issue is caused by gaps in the transmission. Recordings work fine and the NPVR windows client is consistently able to play radio without failure.
The failure when streaming to VLC is always where the buffer file rolls over - if there were 20 second gaps in the transmission wouldn't I get pauses and failures at other times?

@Sub - can you offer any insight into this please?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#8
2024-09-03, 12:42 PM (This post was last modified: 2024-09-03, 12:46 PM by mvallevand.)
Apples and oranges.  I don't expect that VLC can even play any in-progress recording video or radio beyond the time where you started playback using the http interface.  http://ip:8866/live?recording_id=### 

You also didn't want to test Kodi with the timeshift mode but that is how NextPVR.exe works and VLC can't use that mode.  If NextPVR.exe works I think that you might get around the issue with Kodi timeshifting too.

As I posted there does look to be an issue related to direct play of low bitrate audio stream when it gets to the rolling file split that sub will need to look at.  In theory a 20 minute live TV buffer will roll after 400000 ms stream_duration. If you look at this snippet the map is growing without rolling https://pastebin.com/8QawWci7 but if you look at this snippet https://pastebin.com/rMuPWTTe some logic looks stalled there.  Given the link to rolling file and the fact you say it is always like this that is too strong to be a coincidence.

I am only offering you suggestions to get this working until sub has time to look at it. 

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Live TV stopping every few minutes Schtele Bunzorz 3 180 2025-06-17, 11:53 PM
Last Post: mvallevand
  How many IPTV streams should i be able to record at the same time? sharkbite 6 697 2025-03-27, 01:26 AM
Last Post: sharkbite
  Recording telerising streams doesn't work tms87 3 404 2025-01-29, 10:04 PM
Last Post: mvallevand
  Radio channels in the TV section Marvi 61 5,246 2024-11-06, 10:40 AM
Last Post: Marvi
  Service stopping due to devicehost errors jobby99 3 520 2024-10-07, 11:36 PM
Last Post: mvallevand
  Streams and Recording Stuttering and Pixelated dj200psi 5 778 2023-09-20, 05:27 AM
Last Post: sub
  Few IPTV streams failed to play but works on VLAN (0x150001 - Likely end of VOD) benoithamet 5 1,204 2023-08-24, 10:44 PM
Last Post: mvallevand
  Desktop App won't play Mono Radio Stations Agamemnon 1 509 2023-07-29, 10:43 PM
Last Post: sub
  Looking to timeshift live radio drchops 41 5,803 2023-06-09, 04:30 AM
Last Post: drchops
  Stopping Music play Bobins 1 520 2023-04-17, 08:59 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode