Open piaste opened 3 years ago
@piaste what's the output of v4l2-ctl -d 10 --list-formats-out
and lsmod | grep v4l
?
@billyzs
v4l2-ctl -d 10 --list-formats-out
:
ioctl: VIDIOC_ENUM_FMT
Type: Video Output Multiplanar
[0]: 'H264' (H.264, compressed)
[1]: 'MJPG' (Motion-JPEG, compressed)
[2]: 'VP80' (VP8, compressed)
lsmod | grep v4l
:
bcm2835_v4l2 45056 0
bcm2835_mmal_vchiq 32768 3 bcm2835_codec,bcm2835_v4l2,bcm2835_isp
v4l2_mem2mem 32768 1 bcm2835_codec
videobuf2_vmalloc 20480 1 bcm2835_v4l2
videobuf2_v4l2 28672 4 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,bcm2835_isp
videobuf2_common 53248 5 bcm2835_codec,videobuf2_v4l2,bcm2835_v4l2,v4l2_mem2mem,bcm2835_isp
videodev 262144 6 bcm2835_codec,videobuf2_v4l2,bcm2835_v4l2,videobuf2_common,v4l2_mem2mem,bcm2835_isp
mc 49152 6 videodev,bcm2835_codec,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem,bcm2835_isp
30 Oct 2020: sadly, due legal obligations arising from a recent change in my 'real world' job, I must announce I am standing down as maintainer of this project with immediate effect. For the meantime, I will leave the repo up (for historical interest, and since the images may be of use still in certain applications); however, there will be no further updates to the underlying binhost etc., nor will I be accepting / actioning further pull requests or bug reports from this point. Email requests for support will also have to be politely declined, so, please treat this as an effective EOL notice.
For further details, please see my post here.
Many thanks for your interest in this project!
With sincere apologies, sakaki ><
Hello. First, thank you a lot for this image and even more for its excellent documentation.
I'm trying to enable Jellyfin hardware acceleration using the LinuxServer.io image on a Pi4 4GB, with the 1.6.0 lite image.
Jellyfin has access to the following relevant paths:
and
/boot/config.txt
has the following settings enabled (unchanged from default except for extragpu_mem
):The two available options are OpenMAX (with MMAL for h.264 decoding) and V4L2. OpenMAX isn't available on 64bit, as the project readme says, and indeed the playback crashes because the
bcm_host
library is missing from/opt/vc/lib
... although it is present in/usr/lib64
, which has me a little confused.Switching to V4L2 gives this error when I try to play a HEVC file:
Googling this error isn't leading me anywhere as
yuv420p
seems to be a default ffmpeg codec..After reading a bunch of threads, I found this one where @sakaki- was investigating V4L2 support on 64-bit. So I tried the same commands in one of the posts, and the V4L2-powered transcoding appeared to work properly:
At this point I'm kind of stuck.
Is there any way I can at least figure out if the problem is something system-wide or with the ffmpeg in the Jellyfin image?