-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
h264_v4l2m2m acceleration in Raspberry Pi 4 - 64 bits #110
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm having the exact same issue. Host OS is Ubuntu 64 bit, and I would love to get HW acceleration for HEVC content. |
same problem |
same |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
still not working as far as I can tell |
Same Here. Running docker on 64bits arm ubuntu server 21.04 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale |
When using v4l2 on Raspberry Pi OS ArmHF I had same error. Here Is my compose: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
also would like this issue resolve for Rpi4 running raspios-bullseye-arm64-lite
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still unresolved |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still unresolved. But it looks like the base image fixed the issue: jellyfin/jellyfin#7291 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still unresolved |
I have been struggling with this issue as well. Using the official Raspberry Pi OS 64 bit Ubuntu image Ubuntu 21.10.
How can I test this myself, do I need to use the latest tag or do I need to pull the nightly image? I am using the latest , installed a few days ago and I can confirm it still does now work, ffmpeg exits with status 1 when a file that needs to be transcoded is played. Has anyone found any solution to this issue? |
If you use |
Yeah, he's right. Tested and working fine, getting around 1.3x speed transcoding 1080p x265 > 1080p x265. But jellyfin still has some annoying bugs to me. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still unresolved |
So reading through these comments, It seems like it's not a container issue, it's more a jellyfin/hardware issue? |
According to the change log, the ffmpeg version has been updated: Does this mean the hardware encoding now works with version 11.06.22 of this image? Has anyone tested it? |
from what I can tell, h264 should be working now. At least my transcoding logs indicate that |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I think my issue was similar and I solved mine running this in the container console:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
As it appears this was a jellyfin issue, not a container issue (mixed with a permissions issue on the host) I will close this as we cannot resolve upstream dev issues or host permissions issues. |
Good evening! I'm trying to get hardware acceleration to work in the Jellyfin container on a RPi4 64bit OS (Manjaro ARM), so far without luck. As OMX doesn't work on 64bit (and is getting deprecated anyway) it is suggested in different places to use V4L2. This does work with ffmpeg on the host machine without problems (with
ffmpeg -i ... -c:v h264_v4l2m2m ...
), but inside the container it doesn't. I have added devices/dev/video10
(as well as 11 & 12) to the container.See also: jellyfin/jellyfin-ffmpeg#310
Expected Behavior
L4L2 hardware acceleration works.
Current Behavior
L4L2 hardware acceleration doesn't work. The error is:
When trying to run
ffmpeg
manually with-pix_fmt yuv420p
as suggested in jellyfin/jellyfin-ffmpeg#310 I get this error:Steps to Reproduce
Environment
OS: Manjaro ARM
CPU architecture: arm64
How docker service was installed:
ghcr.io/linuxserver/jellyfin
via docker-composeCommand used to create docker container (run/create/compose/screenshot)
Docker logs
https://gist.github.com/randm-ch/285b175f95dac3fd02c3de3f86728c05
The text was updated successfully, but these errors were encountered: