RPi4 youtube extreme lag on certain videos

  • For a long time I've experienced certain videos have extreme lag on youtube, like video dropping behind audio within seconds then just skips content to catch up, then repeats. Most youtube videos are fine, but certain channels like anything from "daily dose of internet" will always do this. I can't see anything different in the logs. Does anyone else experience this? :@

    Forgot to mention, I'm on 9.2.8


    Might be answering my own question here, but seems something to do with the MPEG-DASH (what ever that is) setting in the youtube app. When I disable it works, wonder why it only effected certain videos though.

    Edited once, last by Bedlore: Merged a post created by Bedlore into this post. (March 15, 2022 at 12:06 PM).

  • I have no experience with the youtube app, but youtube provides its videos in various formats. If you don't specify a specific format, then youtube will choose one for you and that may be the wrong one for your device.

    What you described sounds like youtube chose the wrong one for you and if you got 4k VC-1 format, but your device doesn't support that in hardware, then it decodes it in software on the CPU ... which may not be fast enough and then you'd get the symptoms you described.

  • Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link