Open MELSunny opened 2 years ago
is the linked blocker the reason why there is no "enable h265 HW decoding" setting in JF atm? h264 is already available.
Hi, has there been any progress towards this on this side of things? Sadly don't know enough about low level stuff to help out with this, but if I can help any other way, please let me know.
Hi, @nyanmisaka could you please tell us if there is any progress? It would help a lot.
@Arthedian
This has been blocked by the fact that scale_v4l2m2m
video scaler it not available in upstream. I'm not versed in Linux V4L2 and the closed source Broadcom GPU so you'd better turn to https://github.com/jc-kynesim/rpi-ffmpeg for help. It seems the author jc-kynesim is an employee of the RPi Foundation.
Raspberry pi officially announced the 64bit OS on Feb 2022. On 64bit Raspbian, I found the following hardware acceleration is available on ffmpeg of rpi's distribution RPi-Distro/ffmpeg. H264 decode/encode H265 decode
It just need a single commend to enable the V4L2 decoder. (For more informations: jc-kynesim/hello_drmprime)
sudo dtoverlay rpivid-v4l2
I downloaded two sample h265 videos
and tried to convert videos from h265/h265-10bit to h264 with RPi-Distro/ffmpeg, here is the output.
RPI4/4GB(RAM) CPU load usage during the conversion is around 0.9 on average, and the converted videos can be correctly played. However, jellyfin-ffmpeg is not working with the following error. I am grateful if jellyfin team could provide hardware encode acceleration for RPI, and make the RPI a cost-effective home media centre with jellyfin.