LibreELEC.tv icon indicating copy to clipboard operation
LibreELEC.tv copied to clipboard

[BUG] Regression playing certain videos on RPi4

Open rschupp opened this issue 2 years ago • 1 comments

Describe the bug

Regression playing certain videos on RPi4

To Reproduce

Steps to reproduce the behavior:

  1. Play any 2 minute news clip ("Tagesschau") from German public tv like http://media.tagesschau.de/video/100s/2022/0811/TV-100s-0807.webxl.h264.mp4 (it doesn't matter if Kodi reads it from the web or you download it to a local file)

  2. The problem is seen in the last 10 seconds: they show a weather map animation followed by a short outro (similar to the intro). In the bad version you can hear the outro fanfare on audio, but the video still shows the last frame of the weather map. In fact, videoplayer doesn't stop after the end of the clip and continues to show the weather map until stopped explicitly.

Informations

  • LE Version: LE 11.0 nightly
  • Hardware Platform: RPi4

Log file

http://ix.io/47gm

Additional context

This is a regression, using nightly builds from https://test.libreelec.tv/11.0/RPi/RPi4/ I narrowed it down to

good: LibreELEC-RPi4.arm-11.0-nightly-20220723-0da8a26.img.gz bad: LibreELEC-RPi4.arm-11.0-nightly-20220724-f32d79d.img.gz

Unfortunately 0da8a26..f32d79d contains both an update for the RPi linux kernel and the RPi specific patch for ffmpeg...

rschupp avatar Aug 11 '22 08:08 rschupp

The above URL is only valid for a few hours, here's how to get a recent one

import requests
from itertools import chain

ONDEMAND100 = "https://www.tagesschau.de/api/multimedia/video/ondemand100~_type-video.json"

# transform a data structure like [{ key1: val1 }, { key2: val2 }, ...] 
# into a single dict { key1: val1, key2: val2, ... }
def mkdict(kv_list):
    return dict(chain(*map(lambda kv: list(kv.items()), kv_list)))

ond100 = requests.get(ONDEMAND100).json()
ts100s = mkdict(ond100["multimedia"])["tsInHundredSeconds"]
url = mkdict(ts100s["mediadata"])["h264xl"]
print(f"{url=}")

rschupp avatar Aug 25 '22 15:08 rschupp

Is this still occurring with le11?/le12?

heitbaum avatar Sep 04 '23 12:09 heitbaum

Is this still occurring with le11?/le12?

Sometimes (when using a local copy). But the above URL doesn't work anymore and news videos shown by e.g. plugin.video.ardundzdf exhibit no problems, so closing this issue.

rschupp avatar Sep 05 '23 15:09 rschupp