PINE64
Better rkvdec support in 5.11? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Better rkvdec support in 5.11? (/showthread.php?tid=13191)



Better rkvdec support in 5.11? - ShootTheMoon2 - 02-21-2021

It seems like kernel 5.11 will include some long-awaited changes to video handling (better h264 in v4l2). Right now, v4l2 on the pinebook reports S264 as available on the rkvdec device, but FFmpeg can't seem to actually use it.

With manjaro test branch hitting 5.10.17 this week, I think 5.11 is just around the corner!

Anyone else following these updates and can confirm/deny?

Edit: some links I'm looking at for the news
https://www.collabora.com/news-and-blog/news-and-events/new-year-new-kernel-collabora-contributions-linux-511.html
https://www.phoronix.com/scan.php?page=news_item&px=Stateless-H264-Out-Of-Staging


RE: Better rkvdec support in 5.11? - sigmaris - 02-28-2021

Support for rkvdec and other stateless H.264 decoders in FFmpeg isn't upstream yet. The LibreELEC project has patches to the 5.10 kernel and FFmpeg which add support: https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Rockchip/patches
I'm using these to get hw-accelerated H.264 decoding on my Rockpro64 based media player.


RE: Better rkvdec support in 5.11? - ShootTheMoon2 - 02-28-2021

(02-28-2021, 07:34 AM)sigmaris Wrote: Support for rkvdec and other stateless H.264 decoders in FFmpeg isn't upstream yet. The LibreELEC project has patches to the 5.10 kernel and FFmpeg which add support: https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Rockchip/patches
I'm using these to get hw-accelerated H.264 decoding on my Rockpro64 based media player.

NICE! Giving these a shot. Thanks for the lead!