NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 9 10 11 12 13 … 34 Next »
NextPVR is chosing the lowest quality stream from one m3u8

 
  • 0 Vote(s) - 0 Average
NextPVR is chosing the lowest quality stream from one m3u8
luguber
Offline

Junior Member

Norway
Posts: 27
Threads: 5
Joined: Sep 2021
#1
2021-09-08, 08:12 AM
Hi, I just started using NextPVR a couple of days ago, so I don't have much experience with it yet, and I can't say if my problem was introduced in a later release or not.
I started directly on version 5.1.4.210802

My issue is that in one perticular m3u8 stream, NextPVR is for some reason picking the lowest quality stream of the options available.
Its an hls stream with 5 different qualities. NextPVR choses the lowest and sticks with it.

The same stream works fine with VLC, Kodi, or ffmpeg directly. They all pick the highest quality option.

This is on Linux (Debian 11), as I don't have Windows machine available I can't test if this is a Linux spesific issue or not.


Attached Files
.zip   logs-20210908-0932.zip (Size: 1.73 MB / Downloads: 6)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,319
Threads: 865
Joined: May 2006
#2
2021-09-08, 01:10 PM
Some content will be based on ffmpeg's decision

2021-09-08 06:59:00.879 [DEBUG][18] m3u8 has separate audio / video streams streams...forcing transcode...

Martin
luguber
Offline

Junior Member

Norway
Posts: 27
Threads: 5
Joined: Sep 2021
#3
2021-09-08, 02:19 PM
Yes, but at that point NextPVR has already selected the low quality stream, and is feeding that stream to ffmpeg.
As mention in first post, I can take the original m3u8 and feed to ffmpeg and ffmpeg will select the correct hig quality stream.
If you see 4 lines down from the line you mention you can see that ffmpeg is already fed with the low quality stream rather than the original m3u8.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,319
Threads: 865
Joined: May 2006
#4
2021-09-08, 02:29 PM (This post was last modified: 2021-09-08, 03:22 PM by mvallevand.)
Sub, the author would have to confirm, but NextPVR isn't rebuilding the m3u8 file to send to ffmpeg when it requesting the separate a/v components, that wouldn't make sense. Edit: I see that two streams are sent but no subtitles.

What do you see for bandwidth and codecs when you use

curl original.m3u8

Also perhaps you have more than one m3u entry for that channel?

Martin
luguber
Offline

Junior Member

Norway
Posts: 27
Threads: 5
Joined: Sep 2021
#5
2021-09-08, 03:09 PM
I only have this channel once. (I don't have that many channels in total, so its easy to keep track of them)
This is the output given. (the stream links below will expire).
The link that is given to ffmpeg is the one with 256x144 resolution. The stream link ends with /a.m3u8. This is the link you can see is fed to ffmpeg in the log file.
If it will help I can send you the original m3u8 link in pm. It's not geoblocked, the channel is also free to watch.

Code:
curl original.m3u8
#EXTM3U
#EXT-X-VERSION:6
#EXT-UPLYNK-LIVE
#EXT-X-START:TIME-OFFSET=0.00
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="English",LANGUAGE="en",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-MEDIA:TYPE=CLOSED-CAPTIONS,NAME="English",AUTOSELECT=YES,DEFAULT=YES,LANGUAGE="en",INSTREAM-ID="CC1",GROUP-ID="ccs"
#UPLYNK-MEDIA0:960x540x30,main-31,2x48000
#EXT-X-STREAM-INF:RESOLUTION=960x540,BANDWIDTH=1798851,CODECS="mp4a.40.5,avc1.4d001f",FRAME-RATE=30.000,AUDIO="aac",CLOSED-CAPTIONS="ccs",AVERAGE-BANDWIDTH=1673288
https://content-zeuuks-up-1.uplynk.com/channel/26bd482ffe364a1282bc3df28bd3c21f/d.m3u8?pbs=a63b410defa24354bf96691e7bd96273
#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,RESOLUTION=960x540,BANDWIDTH=58214,CODECS="avc1.4d001f",URI="https://content-zeuuks-up-1.uplynk.com/channel/26bd482ffe364a1282bc3df28bd3c21f/ifo.m3u8?pbs=a63b410defa24354bf96691e7bd96273"
#UPLYNK-MEDIA0:1280x720x30,high-31,2x48000
#EXT-X-STREAM-INF:RESOLUTION=1280x720,BANDWIDTH=2844601,CODECS="mp4a.40.5,avc1.64001f",FRAME-RATE=30.000,AUDIO="aac",CLOSED-CAPTIONS="ccs",AVERAGE-BANDWIDTH=2607012
https://content-zeuuks-up-1.uplynk.com/channel/26bd482ffe364a1282bc3df28bd3c21f/e.m3u8?pbs=a63b410defa24354bf96691e7bd96273
#UPLYNK-MEDIA0:256x144x15,main-12,2x48000
#EXT-X-STREAM-INF:RESOLUTION=256x144,BANDWIDTH=224351,CODECS="mp4a.40.5,avc1.4d000c",FRAME-RATE=15.000,AUDIO="aac",CLOSED-CAPTIONS="ccs",AVERAGE-BANDWIDTH=211205
https://content-zeuuks-up-1.uplynk.com/channel/26bd482ffe364a1282bc3df28bd3c21f/a.m3u8?pbs=a63b410defa24354bf96691e7bd96273
#UPLYNK-MEDIA0:416x234x30,main-13,2x48000
#EXT-X-STREAM-INF:RESOLUTION=416x234,BANDWIDTH=441726,CODECS="mp4a.40.5,avc1.4d000d",FRAME-RATE=30.000,AUDIO="aac",CLOSED-CAPTIONS="ccs",AVERAGE-BANDWIDTH=400554
https://content-zeuuks-up-1.uplynk.com/channel/26bd482ffe364a1282bc3df28bd3c21f/b.m3u8?pbs=a63b410defa24354bf96691e7bd96273
#UPLYNK-MEDIA0:640x360x30,main-30,2x48000
#EXT-X-STREAM-INF:RESOLUTION=640x360,BANDWIDTH=805976,CODECS="mp4a.40.5,avc1.4d001e",FRAME-RATE=30.000,AUDIO="aac",CLOSED-CAPTIONS="ccs",AVERAGE-BANDWIDTH=731449
https://content-zeuuks-up-1.uplynk.com/channel/26bd482ffe364a1282bc3df28bd3c21f/c.m3u8?pbs=a63b410defa24354bf96691e7bd96273
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,319
Threads: 865
Joined: May 2006
#6
2021-09-08, 03:21 PM
Gotcha, I see sub is actually sending two stream URLs to ffmpeg so he will have to respond.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,394
Threads: 741
Joined: Nov 2003
#7
2021-09-08, 05:18 PM
This is fixed for the next build.
luguber
Offline

Junior Member

Norway
Posts: 27
Threads: 5
Joined: Sep 2021
#8
2021-09-08, 07:21 PM
Perfect, thank you!
luguber
Offline

Junior Member

Norway
Posts: 27
Threads: 5
Joined: Sep 2021
#9
2021-09-12, 01:42 PM
Can confirm that this was fixed in the new build
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,394
Threads: 741
Joined: Nov 2003
#10
2021-09-12, 03:48 PM
Great!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Frequent Recording Failure: Stream Unavailable DerBigBearen 4 111 2023-03-12, 10:32 PM
Last Post: DerBigBearen
  LibreElec NextPVR Server jcjefferies 4 144 2023-01-31, 11:45 PM
Last Post: jcjefferies
  Possible to filter channels to KODI but have them in NextPVR? markosjal 3 188 2022-12-11, 07:10 AM
Last Post: sub
  NextPVR Not Detecting Specific Channel MarkieMark96 4 387 2022-11-17, 05:51 PM
Last Post: sub
  NextPVR Releases sub 44 207,176 2022-11-06, 04:17 AM
Last Post: sub
  Can we tell NextPVR to rebuild the recording list? kamhouse 15 1,443 2022-10-26, 12:29 AM
Last Post: mlb
  IPTV stream drops hootie318 6 315 2022-09-29, 12:37 AM
Last Post: mvallevand
  Cant play more then a single stream concurrently xtinct101 16 487 2022-08-24, 09:21 PM
Last Post: mvallevand
  No Metadata on audio stream. Paul92 2 176 2022-08-23, 07:59 AM
Last Post: mvallevand
  BBC News HD - Embed M3U8 playlist as extras device cbconrad92 12 1,191 2022-08-05, 07:25 PM
Last Post: cbconrad92

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

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

Linear Mode
Threaded Mode