Skip Navigation

AV1 playback in LibreELEC on a Pi 4

I installed LibreELEC on a Raspberry Pi 4 yesterday and it's working really well, except for AV1 playback. The thing is, it's almost fast enough but the video stutters every few seconds and is a little slower than it should be. Is there a way to make it faster, by switching the decoder or enabling multi-core decode or something like that?

I found this decoder which might be what I'm searching for but I don't know how to make it work in LibreELEC.

14
14 comments
  • Have you checked CPU usage when playing back AV1?

    • No, will do that once I get back home

    • I tested it again and it actually works sometimes and then sometimes it gets slow again. When it gets slow, CPU usage is at around 330%-380% in top for Kodi. That's the maximum, I think, since it has 4 cores.

      The Pi is already overclocked but overclocking it further is probably my only option. I don't have active cooling so I'm not sure if that would be a good idea.

  • Get active cooling as this kinda sounds like thermal throttling.

    I added a 40mm Noctua fan blowing on the heatsinks of my pi3 to get it to play h265, otherwise I'd keep having issues like what you're describing.

    • That's probably the cheapest option. I already have it overclocked and it's running at about 82-83°C (But at 85°C it resets to the base clock so maybe the overclock isn't even being used). Adding active cooling might also allow me to overclock it further.

  • Based on this pull request, looks like dav1d is at v1.3 already. It was originally merged back in 2021, though there may be a config setting to enable it.

You've viewed 14 comments.