flubshi / pvr.waipu

Waipu.tv PVR Plugin for Kodi
21 stars 12 forks source link

Most channels only get 720p, some even 540p #183

Open dominikh opened 2 years ago

dominikh commented 2 years ago

Describe the bug / Beschreibe den Fehler For the majority of channels I am only getting 720p, for example with Pro7, SAT.1, and RTL. Even worse, some channels (which should be in HD) only get 540p, such as Das Erste, ZDF or Welt. Configuring the allowed codecs/resolutions in the plugin's settings doesn't make any difference, to the point that turning off all but 1080p does not prevent the 540p and 720p channels from displaying.

Environment / Umgebung:

dominikh commented 2 years ago

Attached is the debug log, from the moment I start playing ARD. The log clearly shows the selection of 540p.

Fetching the m3u8 mentioned in the logs yields this:

#EXTM3U
#EXT-X-VERSION:4
## Created with Unified Streaming Platform (version=1.10.18-20255)

# AUDIO groups
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-aacl-128",LANGUAGE="de",NAME="German",DEFAULT=YES,AUTOSELECT=YES,CHANNELS="2"

# variants
#EXT-X-STREAM-INF:BANDWIDTH=849000,AVERAGE-BANDWIDTH=772000,CODECS="mp4a.40.2,avc1.64001E",RESOLUTION=640x360,FRAME-RATE=25,AUDIO="audio-aacl-128",CLOSED-CAPTIONS=NONE
ard-l1-v3-3-dd6dcf-a11f4e-audio_1=128000-video=600000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1899000,AVERAGE-BANDWIDTH=1726000,CODECS="mp4a.40.2,avc1.64001F",RESOLUTION=960x540,FRAME-RATE=25,AUDIO="audio-aacl-128",CLOSED-CAPTIONS=NONE
ard-l1-v3-3-dd6dcf-a11f4e-audio_1=128000-video=1500000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=3648000,AVERAGE-BANDWIDTH=3316000,CODECS="mp4a.40.2,avc1.64001F",RESOLUTION=1280x720,FRAME-RATE=25,AUDIO="audio-aacl-128",CLOSED-CAPTIONS=NONE
ard-l1-v3-3-dd6dcf-a11f4e-audio_1=128000-video=3000000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=8312000,AVERAGE-BANDWIDTH=7556000,CODECS="mp4a.40.2,avc1.640020",RESOLUTION=1280x720,FRAME-RATE=50,AUDIO="audio-aacl-128",CLOSED-CAPTIONS=NONE
ard-l1-v3-3-dd6dcf-a11f4e-audio_1=128000-video=7000000.m3u8

# keyframes
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=88000,CODECS="avc1.64001E",RESOLUTION=640x360,URI="keyframes/ard-l1-v3-3-dd6dcf-a11f4e-video=600000.m3u8"
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=219000,CODECS="avc1.64001F",RESOLUTION=960x540,URI="keyframes/ard-l1-v3-3-dd6dcf-a11f4e-video=1500000.m3u8"
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=438000,CODECS="avc1.64001F",RESOLUTION=1280x720,URI="keyframes/ard-l1-v3-3-dd6dcf-a11f4e-video=3000000.m3u8"

which suggests that ARD should at least be hitting 720p.

latest.log

dominikh commented 2 years ago

Forcing the use of MPEG-DASH instead of auto gets me 720p (instead of 540p) on the public channels like ARD, but doesn't do anything for the private channels, which are still stuck at 720p (instead of 1080p). Forcing HLS gets me back to 540p for public channels, and prevents private channels from playing altogether.

I've attached a second log file, this time for playing RTL, as well as the mpd manifest. As far as I can tell, the manifest does not contain an entry for 1080p.

I am inclined to think that the 540p issue and the 720p issue have separate causes. In the 540p/HLS case, the playlist contains a higher resolution but we don't choose it. In the 720p/MPEG-DASH case, waipu doesn't even offer us 1080p. latest2.log manifest.txt

flubshi commented 2 years ago

If higher streams are available in manifest, but Kodi plays lower, it is maybe a bug or wrong setting in Inputstream.adaptive.

dominikh commented 2 years ago

In the 540p/HLS case, the playlist contains a higher resolution but we don't choose it. In the 720p/MPEG-DASH case, waipu doesn't even offer us 1080p in the manifest.

flubshi commented 2 years ago

Are higher resolutions enabled in the plugin settings?

Dave2526 commented 7 months ago

is there a solution? I have the same Problem, but i didnt find anything in the waipu settings/ input helper settings etc. all other then the first (ard) second (zdf) and some "thirds" (br, swr, mdr) are in 1080p

Reinstall Widevine is also no help