Kodi Community Forum
H.264 stopped working after upgrading Raspberry Pi OS - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: H.264 stopped working after upgrading Raspberry Pi OS (/showthread.php?tid=379267)



H.264 stopped working after upgrading Raspberry Pi OS - lvella - 2024-10-25

I am still able to hardware decode and play H.265, but H.264 videos shows no video.

It happened after doing normal Debian based upgrade of:
bash:

sudo apt update
sudo apt upgrade

The log with debug enabled is here:
https://paste.kodi.tv/okejisomed.kodi

In this session I tried playing a H.264 video twice, and a H.265 video once.

Do you know why I can no longer reproduce H.264?


RE: H.264 stopped working after upgrading Raspberry Pi OS - lvella - 2024-10-25

Ok, just after posting, I read the logs and after a brief googling, I found that this dmaheap device is
Code:
/dev/dma_heap/linux,cma
. This device was owned by and only readable/writable by root. I changed its group to the group I run kodi under, and gave rw permission to the group, and H.264 is working again.

Probably will have to change some udev rule for this fix to stick.

But I wonder why H.264 and H.265 hardware decoding interfaces are so different...