-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[jellyfin/ffmpeg] OpenCL missing from FFmpeg disables hardware acceleration on Intel #6017
Comments
@WesSouza, out of curiosity, on the same hardware what was the conversion rate in Docker? |
Edit: I tested different videos. Transcoding is much slower on the Syno package than when using Docker for the same video. |
@mreid-tt Added two ffmpeg logs to the description (one from this package, one from the docker instance), showing the differences. So far:
I also reenabled the same hardware acceleration settings on both instances and the ffmpeg command has two differences:
Both playbacks were attempted on the same video on the same browser (Safari on macOS), and Jellyfin's display version is the same on both instances. |
The lack of From Jellyfin's code:
All of these are available on the Docker compose instance, but absent from Syno's ffmpeg. |
@WesSouza there are a few caveats when using ffmpeg on you nas, your user must be part of the videodriver group.
|
I have no idea how to add myself to the
Now if I run these commands on the Docker container:
What am I missing here? All signs point to ffmpeg missing opencl. |
@WesSouza at first read it wasn't that obvious that you where referring to opencl missing requirements. Indeed, opencl is not integrated currently in SynoCommunity's ffmpeg. It's on my todo list but didn't got to it yet. |
@th0ma7 is there an open issue for it I should be watching? Or something I could do to help? |
Just rename this ticket to be more relevant to opencl and I'll look into that during my next upgrade cycle. |
@th0ma7 done! |
Jellyfin recommends a modified version of FFMPEG: https://github.com/jellyfin/jellyfin-ffmpeg. Maybe that's what's missing here? |
Yes and no. All jellyfin ffmpeg patches are included in our default build. What's missing are
It is on my todo list but cycles have been rather limited lately. |
Is this a new Bug?
Package Name
jellyfin
Package Version
10.8.13-13
Device Model
DS718+
Device Architecture
x86_64
Firmware Version
DSM 7.2.1-69057 Update 4
What happened?
Playing a video on Jellyfin with hardware acceleration enabled produces a very slow outcome compared to the same setup on a Docker container on the same machine.
It's also slower than software.
Reproduction steps
Install Log
Other Logs
Here's the ffmpeg logs from both installations, indicating a big speed difference:
Additional Information
I also tried to install ffmpeg5 and ffmpeg6 update the
--ffmpeg
arg on/var/packages/jellyfin/scripts/service-setup
but the results were almost identical.I followed this guide to setup the Docker container.
The text was updated successfully, but these errors were encountered: