NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 18 19 20 21 22 … 43 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: 31
Threads: 6
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
Offline

Posting Freak

Ontario Canada
Posts: 52,839
Threads: 954
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: 31
Threads: 6
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
Offline

Posting Freak

Ontario Canada
Posts: 52,839
Threads: 954
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: 31
Threads: 6
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
Offline

Posting Freak

Ontario Canada
Posts: 52,839
Threads: 954
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: 106,661
Threads: 767
Joined: Nov 2003
#7
2021-09-08, 05:18 PM
This is fixed for the next build.
luguber
Offline

Junior Member

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

Junior Member

Norway
Posts: 31
Threads: 6
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: 106,661
Threads: 767
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
  Controlling the nextpvr server from Jellyfin (via the nextpvr plugin) (no recording) kfmf 2 227 2025-05-04, 02:21 PM
Last Post: mvallevand
  I'm using nextpvr with jellyfin which I share with family. Besse1953 1 214 2025-04-18, 01:01 PM
Last Post: mvallevand
  Successful import from MythTV DB to NextPVR Allan 0 227 2025-02-10, 09:51 PM
Last Post: Allan
  Connection Timeout Issue When Selecting Channels in Kodi with NextPVR Paul92 9 1,088 2024-11-02, 11:40 PM
Last Post: mvallevand
  Can NextPVR work well under docker on oldish hardware? ramiroelliot 1 330 2024-10-29, 11:36 PM
Last Post: sub
  Looking at NextPVR to possibly replace my SageTV implimentation BigBillSD 4 535 2024-10-10, 09:00 PM
Last Post: BigBillSD
  Help Automating M3U Channel Refresh NextPVR on Unraid (AMD64) mcs_94 5 613 2024-10-06, 08:29 PM
Last Post: sub
  NextPVR Deleted All My Important Files on SSD yngsadstn 4 715 2024-09-15, 08:38 AM
Last Post: mvallevand
  How to get xmltv from NextPVR working in Emby? guenti_r 6 966 2024-09-09, 03:35 PM
Last Post: guenti_r
  NextPVR Not Working gilgamesh24 19 1,578 2024-08-15, 01:44 PM
Last Post: gilgamesh24

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

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

Linear Mode
Threaded Mode