Solved Support AV1 Codec (AOMedia Video 1)
#1
Brick 
Kodi 18.3 is currently unable to play AV1 encoded videos.
https://en.wikipedia.org/wiki/AV1

It would be nice if Kodi could ship a ffmpeg version with an enabled AV1 module (libaom or dav1d).
I took a look at the make-file in order to open a PR, but was somewhat overwhelmed: https://github.com/xbmc/xbmc/blob/18.3-L...MPEG.cmake

I'm currently fixing the Kodi plugin for Vimeo. Vimeo now ships a lot of videos AV1 encoded, because Firefox and Chrome support this codec since some time.
But the AV1 encoded videos from Vimeo can't be played in Kodi, which is a bummer...

If there is already a plan to enable AV1, please share a link. I couldn't find anything official in the wiki or forums.

Related
Reply
#2
I managed to compile Kodi with AV1 enabled (ffmpeg 4.2 + libdav1d v0.2.2) Smile
720p runs perfectly smooth on Ubuntu 18.04 (VirtualBox with 2 CPUs). 1080p is stuttering. (But I'm testing on Ivy Bridge, which lacks AVX2 support.)

Image
Reply
#3
Nice! Pull request?
Reply
#4
(2019-08-20, 21:05)M4tt0 Wrote: Nice! Pull request?
Working on it Smile
Reply
#5
Here's the pull request for adding AV1 support: https://github.com/xbmc/xbmc/pull/16933

Still a work in progress, since I'm overwhelmed by the complicated Kodi build setup.
Help would be very much be appreciated. Smile
Reply
#6
Official Kodi 18.5 still can't play AV1 on Windows.
Reply
#7
(2020-02-09, 12:25)djonline Wrote: Official Kodi 18.5 still can't play AV1 on Windows.

I'm still working on it, but Kodi has a very complicated build setup (and I'm not really an expert in cmake).
For AV1 Kodi needs a new ffmpeg version, a dav1d build (which uses meson instead of make) and all dependencies for dav1d.
Oh, and Kodi has five (!) different places were ffmpeg is built (all with different build flags). I hope I can get it to work in time for the first 19.0 alpha release.
Reply
#8
(2020-02-09, 19:56)jay.kody Wrote: For AV1 Kodi needs a new ffmpeg version

Work is in progress to bump ffmpeg to the latest version https://github.com/xbmc/xbmc/pull/17300
Reply
#9
any progress on this?
Ryzen 1500X, 2x8GB 3000 DDR4, RX 560 4GB, 250GB EVO, Windows 10
Reply
#10
(2020-03-03, 18:01)wiak Wrote: any progress on this?

Yep, @lrusak is working on it now, since I couldn't get it working: https://github.com/xbmc/xbmc/pull/16933
Reply
#11
Thank you team all, for the hard work.

Considering the weeny processor even in the R.Pi4, I imagine 1080p AV1 is a pipedream on the Pi4 right?   It needed dedicated hardware just for 265.
Reply
#12
(2020-03-20, 01:31)AbRASiON Wrote: Thank you team all, for the hard work.

Considering the weeny processor even in the R.Pi4, I imagine 1080p AV1 is a pipedream on the Pi4 right?   It needed dedicated hardware just for 265.

The dav1d team is doing some pretty great work on optimizing the decoder for ARM CPUs: https://code.videolan.org/videolan/dav1d...aster/NEWS

If the latest dav1d version is used (https://github.com/xbmc/xbmc/commit/3275...969249aae7), I think 720p will work. I'm not so sure about 1080p...
You can test with Netflix AV1 videos: http://download.opencontent.netflix.com/?prefix=
Reply
#13
What is the latest update on this? Last message was almost 11 months ago.
Reply
#14
What sort of update are you looking for? Dav1d support was added in March 2020 for all v19 nightlies since including alpha/beta/RC releases.
Reply



Logout Mark Read Team Forum Stats Members Help
Support AV1 Codec (AOMedia Video 1)0
This forum uses Lukasz Tkacz MyBB addons.