NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 5 6 7 8 9 … 43 Next »
Problems with Channel 7 stream in Australia

 
  • 0 Vote(s) - 0 Average
Problems with Channel 7 stream in Australia
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#1
2023-11-17, 03:00 PM
I have been having issues with Matt Huisman's Australian channel 7 IPTV stream for a few weeks, and I wondered if anyone has found a solution. The stream will record for about 30 secs, and then the video freezes and the audio keeps going for a few seconds; after that, everything is back in sync, and then it happens again around 30 secs later. I have had similar issues before with these streams, and sometimes creating an extra with ffmepeg resolves it, but not this time. I have even tried to transcode to an mp4 container after the fact, but it doesn't fix the issue. 

I suspect the Channel 7 stream has been changed to do something weird, and it re-sets the time-line every 30 secs causing some kind of re-sync.

@sbiddle I know you are using the Australian streams with NextPVR, have you seen this issue? Do you know how to solve it? As I remember, you are not using Matt's links, do you have a link for a channel 7 stream that works OK with NextPVR?

Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#2
2023-11-17, 03:25 PM
This is probably the most asked question recently I am surprised a forum search didn't lead you to this thread and possible solution https://forums.nextpvr.com/showthread.ph...#pid586451

Martin
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#3
2023-11-17, 08:29 PM
Thanks Martin, not sure why I didn't find that thread, probably just using the wrong search keywords.

The problem seems to be slightly different, but maybe this will fix it. I started back on 6.1.1, and on that version it would record about 30 secs, and then just stop; then I updated to 6.1.5 and I thought it solved the issue, but now it records the whole show and the video freezes every 30 secs or so, but the audio continues to play, then a second or two later, the video skips a whole bunch of frames and suddenly catches up with the audio, then it's all good for about 30 secs, and it all happens again. Using an extra through ffmpeg with the following does not fix the issue:

Code:
<extras>
    <channel id="mjh-seven-syd" tvg-id="mjh-seven-syd" tvg-logo="https://i.mjh.nz/.images/seven-syd.png" tvg-chno="7" group-title="Sydney" name="Seven" x-tvg-url="https://i.mjh.nz/au/Sydney/epg.xml.gz">
      <command>ffmpeg</command>
      <args>-re -v panic -i https://i.mjh.nz/seven-syd.m3u8 -codec copy -c:s copy -f mpegts -</args>
    </channel>
</extras>


I'll try the updated Nshared.ddl from the other thread to see if it fixes the problem.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#4
2023-11-17, 08:42 PM
The root of the problem is the same. The URL's that Matt Huisaman kindly scrapes and proxies for you are are designed for playback using the custom HTML5 player for each of the channels in a browser. Since NextPVR expects standard m3u8 files if they aren't then issues will arrive.

Good luck, however if ffmpeg as an Extra doesn't work you might still have issues and might need to see if a program like streamlink instead of ffmpeg will help.

Martin
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#5
2023-11-18, 02:50 AM
Updated NShared.dll didn't help. I'm going to install streamlink and play with that to see if it helps.
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#6
2023-11-18, 04:19 PM
OK, I fixed it with streamlink, but it took a little bit of work. Streamlink shows that there are several streams, and it chooses 720 as "best", the problem is that the default 720 stream seems to have that freezing issue, but I noticed another stream called 720p_alt; seems like Matt has kindly added and alternative 720 stream, but the problem is both NextPVR and streamlink (and ffmepeg), by default, will choose the one that causes an issue. This would probably also work with ffmepg with the right parameters, but the right thing to do is choose the alt stream. This extra fixes the issue:

Code:
<extras>
    <channel id="mjh-seven-syd" tvg-id="mjh-seven-syd" tvg-logo="https://i.mjh.nz/.images/seven-syd.png" tvg-chno="7" group-title="Sydney" name="Seven" x-tvg-url="https://i.mjh.nz/au/Sydney/epg.xml.gz">
      <command>streamlink</command>
      <args>-o "-" https://i.mjh.nz/sevenml-FAST.m3u8 720p_alt</args>
    </channel>
</extras>


Note that it asks streamlink to use 720p_alt instead.

Martin, thanks for the streamlink hint, I actually like it better than ffmpeg, it seems easier to use.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#7
2023-11-18, 05:20 PM
That's an odd one, I would suspect it is not Matt that builds the HLS link with the sublinks though so watch for changes. It is pretty easy to change the

Streamlink is the way to go for extras for sure, it still is based on ffmpeg but they are more proactive to the odd m3u8 streams we see and even look int specific troublesome URL's. Installing python and dependencies is the only issue some will have.

Martin
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#8
2023-11-18, 06:01 PM
On ubuntu server, it just installs all the dependencies and works right out of the box using "apt install streamlink". I did have some issues with dependencies on my Debian stretch box, but I'm retiring that in favor of Ubuntu anyway.
Spaldo
Offline

Junior Member

Australia
Posts: 14
Threads: 1
Joined: May 2022
#9
2023-12-14, 12:33 PM
I just wanted to jump on and say in the last 3 days I have started getting pretty much the same issue with Matt's channel 9 (sydney alt) stream. I will have a look and see if I can work out if I can plug this fix into my system
Spaldo
Offline

Junior Member

Australia
Posts: 14
Threads: 1
Joined: May 2022
#10
2023-12-15, 09:07 AM (This post was last modified: 2023-12-15, 12:39 PM by Spaldo.)
Updating the DLL didn't fix the issue. So I will try the streamlink method but with channel 9. Where does the 'extra' go?

Edit; found this https://github.com/sub3/NextPVR/wiki/Extras

Now I just have to work out @ballfam's method for channel 9 Wink
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  MUX List problems Dawladin 2 253 2025-04-17, 05:37 PM
Last Post: Dawladin
Photo EPG Channel sort order spagio 3 359 2025-03-02, 05:28 PM
Last Post: sub
  Channel Editor -- Feature Request? BigKahuna 1 272 2025-02-19, 06:50 PM
Last Post: sub
Question extras.xml | channel management D3iver 3 356 2025-01-12, 09:05 PM
Last Post: mvallevand
  IPTV - Change source IP address, without needing to reimport channel. Paul92 1 365 2024-11-09, 03:23 AM
Last Post: mvallevand
  Adding new channel, using xmltv bigstusexy 3 428 2024-10-26, 12:35 AM
Last Post: bigstusexy
  How to add a new channel without having them all chosen when updating a device? Luisy44 3 440 2024-10-18, 02:31 PM
Last Post: mvallevand
  Help Automating M3U Channel Refresh NextPVR on Unraid (AMD64) mcs_94 5 606 2024-10-06, 08:29 PM
Last Post: sub
  PBS Stations not appearing in channel scans rband 2 365 2024-09-28, 02:22 AM
Last Post: rband
  Channel Groups hdpvr-doug8796 4 463 2024-09-20, 07:07 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode