Closed hfrappier closed 2 years ago
right, it's possible to enable hevc demuxer and add hevc format in v4l2 vda, but i haven't test that.(hevc support is mostly enabled in platform vda, e.g. android/vaapi)
adding hevc in this plugin is quite simple, just add the format here: https://github.com/JeffyCN/libv4l-rkmpp/blob/master/src/libv4l-rkmpp-dec.c#L31
if you can help to test it, i think it's ok to add that.
Which value would be required for the V4L2_PIX_FMT_HEVC case at: https://github.com/JeffyCN/libv4l-rkmpp/blob/master/src/libv4l-rkmpp-dec.c#L622
same as h264 i guess, i was using it in other wrappers for a while, e.g. ffmpeg, gst-mpp
FYI, since chrome has hevc hw decoder support in R104, i've added and tested it with meta-rockchip.
Awesome! Will this be tagged as 1.4.1?
Awesome! Will this be tagged as 1.4.1?
i'm planing to increase the size limits(for newer chips), and switch to meson build system before new tag in next week.
Will this be configurable externally (for older chips)
guessing it would failed (>4k on old chips) and fallback to sw decoder, which might not be usable anyway.
buy it's ok to make it configurable, i'll try to do so
uploaded 1.5.0
Chromium can be compiled to support HEVC demuxing in an MP4 container, and decoding via v4l2:
eg: on 73.0.3683.103: