NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 2 3 4 5 6 … 43 Next »
IPTV Streams strange problems

 
  • 0 Vote(s) - 0 Average
IPTV Streams strange problems
RealTeej
Offline

Junior Member

Australia
Posts: 16
Threads: 2
Joined: Apr 2022
#1
2022-04-10, 06:47 AM
Hi all

I utilise Kodi with the NextPVR backend on a Windows 10 Pro machine. It is connected directly to the TV via HDMI using a RTX3050

I am having some strange issues which I've been able to re-create on multiple machines in my house.

When playing an IPTV stream, if the content of the stream changes (for instance a commercial or another episode of a show starts to play) this causes a couple of different results:

* Screen goes completely black (No indication of what is happening). To resolve I have to stop watching the channel then go back into the same channel and it will start working again however you can see that it has either gone onto a different show playing or It'll be on some screen saying "We will be back soon" or something like that.

* Stream successfully transitions to the next video however no audio is playing. Stopping the channel then starting again fixes this.
At the end of a video I've also observed it popping up with "Timeshift" up the top and then it suddenly starts to play back the last video that was playing. It is as if it rewound itself to when I first started watching the channel and started playing the same stuff again.. talk about groundhog day huh!

The IPTV streams I've noticed this occuring on is PlutoTV, SamsungLiveIPTV streams. Also I utilised VLC to create my own stream where it loops through different animation shows just for my internal use. This also has the same problems as Pluto, SamsungLive streams.

I have noticed in some testing using my own stream from VLC playing videos of the same format (as in running my own IPTV stream where it goes through multiple .mp4 videos in a row) it appears to work fine... chuck another format like mkv or avi into the mix and it starts displaying similar outcomes as the two points above.

So far I have tried:
  • Reinstall of the whole computer (Tried windows 11 initially but found it was incompatible with other software I needed)
  • Fiddling with NextPVR backend settings like padding, livetv buffer etc.
  • Turning "Use direct stream" on/off but no change

I have used some people suggest different decoders like LAVFilters? However I couldn't find any way to change the decoders in Kodi (albeit I am new to the software still).

Any suggestions would be super helpful! Happy to provide logs and all just might need guidance where to grab them from please.

TJ
RealTeej
Offline

Junior Member

Australia
Posts: 16
Threads: 2
Joined: Apr 2022
#2
2022-04-15, 01:51 AM (This post was last modified: 2022-04-15, 02:13 AM by RealTeej.)
Have uploaded logs for this issue

Kodi Log: https://mega.nz/file/p0YXwJZB#Zy0IHo5ePW...TzMx5gfD30
NextPVR Log: https://mega.nz/file/lwh0SL4I#AnTIT46_St...ywUQGHqp74

The IPTV stream went to a black screen, I waited about 10-15seconds then proceeded to manually stop it so I could go back into the channel.. This time however it actually crashed Kodi
Approx time occured 2022-04-15 11:34


EDIT: Not sure if it is related but Kodi completely crashed whilst watching one of the streams that does have the odd issues
https://mega.nz/file/08xElCaA#YhauRI9BTb...W-W4UOPbyI
bizzerk212
Offline

Junior Member

United States
Posts: 1
Threads: 0
Joined: Jun 2023
#3
2023-06-14, 12:19 PM
I am having the same problem.  Was there ever any resolution?

I am using this .m3u8 file https://i.mjh.nz/PlutoTV/us.m3u8

I had a similar issue on kodi when using IPTV Simple Client with this .m3u8 file, however I was able to fix it in IPTV Simple Client by going to the advanced settings and changing the MIME Type to application/vnd.apple.mpegurl
I don't see a way to do the same thing in NextPVR though.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,101
Threads: 957
Joined: May 2006
#4
2023-06-14, 12:32 PM
Typically Pluto streams are not designed for viewing with a URL so I don't support using them. Any changes would need to be made by sub. Problems typically occur when Pluto and other FAST providers insert commercials in the m3u8 file. I did create a Pluto addon for NextPVR that uses streamlink that plays these files better, but I lost interest in the Pluto content and no longer plan on keeping it current.

@RealTeej I was out of the country i was out of country for you original post an missed it. Looking at your NextPVR logs it is also something sub would need to address.

Martin
RealTeej
Offline

Junior Member

Australia
Posts: 16
Threads: 2
Joined: Apr 2022
#5
2023-06-24, 09:35 AM
(2023-06-14, 12:19 PM)bizzerk212 Wrote: I am having the same problem.  Was there ever any resolution?

I am using this .m3u8 file https://i.mjh.nz/PlutoTV/us.m3u8

I had a similar issue on kodi when using IPTV Simple Client with this .m3u8 file, however I was able to fix it in IPTV Simple Client by going to the advanced settings and changing the MIME Type to application/vnd.apple.mpegurl
I don't see a way to do the same thing in NextPVR though.

I ended up transitioning back to tvheadend.. despite it being incredibly complex it allows a lot more ways to configure and set different options.
Overall though the problem is well known about on different forums and such, @mvallevand is correct it is an issue with how commercials are added into the m3u8 playlists by the sub. ffmpeg (which manages the playback of the stream in the backend) doesn't support PTS DISCONTINUITY which is required when dealing with subs that insert commercials into their stream.
Using the likes of this ffmpeg build - https://github.com/jjustman/ffmpeg-hls-p...ty-reclock seems to be the best solution until someone in the ffmpeg community commits a proper patch to the main branch of the program. Disclaimer I am not by any means an expert in how streams work but thought I'd share my findings.

(2023-06-14, 12:32 PM)mvallevand Wrote: Typically Pluto streams are not designed for viewing with a URL so I don't support using them. Any changes would need to be made by sub. Problems typically occur when Pluto and other FAST providers insert commercials in the m3u8 file. I did create a Pluto addon for NextPVR that uses streamlink that plays these files better, but I lost interest in the Pluto content and no longer plan on keeping it current.

@RealTeej I was out of the country i was out of country for you original post an missed it. Looking at your NextPVR logs it is also something sub would need to address.

Martin

No worries
meccano
Offline

Member

Canada
Posts: 128
Threads: 41
Joined: Jan 2008
#6
2023-07-03, 03:02 PM
Out of curiosity I setup PlutoTV for recording under NextPVR using Streamlink, using the instructions provided.
Recording shows works well, but the video needs to be post-processed using ffmpeg before it can be played back.
In PostProcessing.bat I used these ffmpeg.exe options:

ffmpeg.exe -y -i %infile% -fps_mode drop -map 0:v -vcodec copy -map 0:a -acodec aac %outfile%

This fixes most recordings, apart from Southpark episodes.
meccano
Offline

Member

Canada
Posts: 128
Threads: 41
Joined: Jan 2008
#7
2023-07-03, 05:25 PM
I also meant to say that the input file is .ts and the output file is .mp4
The output file still contains Pluto TV test patterns but these are easily detected by comskip.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Seeking Guidance on Recording Settings for IPTV Channels Gonvir 3 480 2025-04-22, 10:22 PM
Last Post: sub
  Automated Updates of IPTV Channels in NPVR and Kodi via APIs taylormia 1 1,011 2025-02-04, 03:13 AM
Last Post: lustfulmacaw
  direct streams and recording jsox79 6 1,026 2024-07-26, 01:01 PM
Last Post: mvallevand
  Issue accessing channels from IPTV device thool 1 897 2023-04-23, 06:00 PM
Last Post: mvallevand
  Timeshift performance vs Simple IPTV client is7s 16 7,043 2022-12-01, 01:37 AM
Last Post: mvallevand
  Lots of problems playing on Shield TV picklechop 2 1,232 2022-05-25, 05:23 PM
Last Post: picklechop
  Enable Direct Streams 2leftfeet 7 3,664 2022-03-13, 10:03 PM
Last Post: mvallevand
  Kodi: Very strange display power issue. SiyonKart 1 923 2021-08-24, 02:58 PM
Last Post: mvallevand
  Which device to use to avoid interlacing problems? chemoul 2 1,991 2021-02-14, 05:28 PM
Last Post: mvallevand
  IPTV Crash Tunes0710 3 1,709 2020-05-30, 05:20 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