Can someone explain about the support of the hevc_v4l2m2m codec. I know it depends of HEVC/H.265 stateless support for V4L2 in the kernel. But with kernel 5.10 or 5.11 rc and dtoverlay=rpivid-v4l2 in config.txt, i have no support. ( but ffplay -vcodec h264_v4l2m2m is functional)
ffplay -decoders have the support.
ffmpeg -decoders | grep v4l2
V..... h264_v4l2m2m V4L2 mem2mem H.264 decoder wrapper (codec h264)
V..... hevc_v4l2m2m V4L2 mem2mem HEVC decoder wrapper (codec hevc)
But
ffplay -vcodec hevc_v4l2m2m -i jellyfish-120-mbps-4k-uhd-hevc-10bit.mkv
HANDLER_NAME : hevc@GPAC0.5.2-DEV-rev565-g71748d7-ab-suite
[hevc_v4l2m2m @ 0xffff7401c4b0] Could not find a valid device
[hevc_v4l2m2m @ 0xffff7401c4b0] can't configure decoder
Failed to open file 'jellyfish-120-mbps-4k-uhd-hevc-10bit.mkv' or configure filtergraph
and
> v4l2-ctl --list-formats-out -d 10
> ioctl: VIDIOC_ENUM_FMT
> Type: Video Output Multiplanar
>
> [0]: 'H264' (H.264, compressed)
> [1]: 'MJPG' (Motion-JPEG, compressed)