rk3568 hantro video decding
Nicolas Dufresne
nicolas at ndufresne.ca
Thu Jun 27 13:41:07 UTC 2024
Hi Marek,
Le jeudi 27 juin 2024 à 13:24 +0200, Belisko Marek via gstreamer-devel a écrit :
> Hello,
>
> I would like to ask if in latest gstremaer is some support for hantro VPU
> decoders present in rk3566/68 CPU's. I found some merge request
> (https://gitlab.freedesktop.org/gstreame r/gstreamer-vaapi/-
> /merge_requests/171 [1]) but I'm not sure if it still valid or so.
The VA driver for V4L2 stateless decoders has been abandoned. The approach of
extending the API was a dead-end as Intel completely ignores these proposal.
This could be revived, notably would allow for Firefox HW accelerated decoding,
but the new implementation will require having a bitstream parser in order to
re-parse the slice headers and complete the set of information needed.
The replacement to that is a plugin called "v4l2codecs", which is being shipped
already (subprojects/gst-plugins-bad/sys/v4l2codecs). This should work already
and provides 1080p60 decoding support on these two SoC using mainline Linux
kernel. There is an ongoing effort to support rkvdec2, this will bring 4K60
support, and will be using the same GStreamer plugin / Kernel API.
At the moment, if you need the encoders, the only option is to use Rockchip
kernel, their MPP library (which fortunately is open source) along with their
own GStreamer plugins. Unlike other vendors, this is proper Open Source, but the
kernels needs to be custom.
regards,
Nicolas
p.s. Armbian already ship the V4L2/gstreamer support.
>
> Thanks and BR,
>
> marek
>
> --
> as simple and primitive as possible
> -------------------------------------------------
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
>
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> twitter: #opennandra
> web: http://open-nandra.com
[1] https://gitlab.freedesktop.org/gstreame r/gstreamer-vaapi/-/merge_requests/171
https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/171
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20240627/dad9cb41/attachment.htm>
More information about the gstreamer-devel
mailing list