Solved Support AV1 Codec (AOMedia Video 1)
#16
(2021-09-23, 17:31)yougz Wrote: On an Android device with SoC S905x4 which decodes the AV1, is there a particular setting to be made on Kodi ? Because the videos stutter at home. And only those in AV1. 1080p, 4k and 8k. I do not test 720p.
I think, as of now, only software decoding is supported (via dav1d, https://www.videolan.org/projects/dav1d.html). That may explain why it stutters on your device.
Reply
#17
(2021-09-23, 17:50)jay.kody Wrote:
(2021-09-23, 17:31)yougz Wrote: On an Android device with SoC S905x4 which decodes the AV1, is there a particular setting to be made on Kodi ? Because the videos stutter at home. And only those in AV1. 1080p, 4k and 8k. I do not test 720p.
I think, as of now, only software decoding is supported (via dav1d, https://www.videolan.org/projects/dav1d.html). That may explain why it stutters on your device.

Thank you for your reply.

Does that mean, that there is no point in taking an Android box with a processor that decodes the AV1 for Kodi? Or now? Nor in the future?

I also have an Android box with SoC S905X3 (which does not decode the AV1) and which reads the AV1 smoothly on the Kodi unlike the S905X4 which is normally made for that.
Reply
#18
(2021-09-24, 12:56)yougz Wrote: Thank you for your reply.

Does that mean, that there is no point in taking an Android box with a processor that decodes the AV1 for Kodi? Or now? Nor in the future?

I also have an Android box with SoC S905X3 (which does not decode the AV1) and which reads the AV1 smoothly on the Kodi unlike the S905X4 which is normally made for that.

It DOES make sense to buy a CPU/GPU with AV1 hardware decoding support.

Right now Kodi 19.1 uses FFmpeg 4.3 (https://github.com/xbmc/xbmc/blob/19.1-M....cmake#L36).
FFmpeg 4.4 recently added hardware decoding support for AV1 (https://9to5linux.com/ffmpeg-4-4-release...9-decoding).

So as soon as Kodi ships with FFmpeg 4.4, AV1 hardware decoding should work if you have a compatible GPU.

Spoiler: FFmpeg was already updated to 4.4 in the current master-branch: https://github.com/xbmc/xbmc/commit/e13c...f21e22a08e
So it will probably be included in the next major release.
Reply
#19
(2021-09-24, 17:00)jay.kody Wrote:
(2021-09-24, 12:56)yougz Wrote: Thank you for your reply.

Does that mean, that there is no point in taking an Android box with a processor that decodes the AV1 for Kodi? Or now? Nor in the future?

I also have an Android box with SoC S905X3 (which does not decode the AV1) and which reads the AV1 smoothly on the Kodi unlike the S905X4 which is normally made for that.

It DOES make sense to buy a CPU/GPU with AV1 hardware decoding support.

Right now Kodi 19.1 uses FFmpeg 4.3 (https://github.com/xbmc/xbmc/blob/19.1-M....cmake#L36).
FFmpeg 4.4 recently added hardware decoding support for AV1 (https://9to5linux.com/ffmpeg-4-4-release...9-decoding).

So as soon as Kodi ships with FFmpeg 4.4, AV1 hardware decoding should work if you have a compatible GPU.

Spoiler: FFmpeg was already updated to 4.4 in the current master-branch: https://github.com/xbmc/xbmc/commit/e13c...f21e22a08e
So it will probably be included in the next major release.
Thank you for your precise answer.
Reply
#20
I've downloaded the latest Nexus 20 alpha available for windows.

AV1 software decoding is very laggy. Specially if you compare to the latest mpv build.

I have an old laptop which can decode up to 1080P AV1 10bit using mpv.

Which left me wondering why is that still happening? Isn't both based on Ffmpeg?

Did the latest Dav1D 0.9 2 code reached the ffmpeg version Nexus alpha is built upon it?

Please, let me know.

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Support AV1 Codec (AOMedia Video 1)0