-
-
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: Update to v10.8.10 #5706
Conversation
087d484
to
4a00631
Compare
@th0ma7, I was looking at #5620 and tried to install this build on DSM 7.2 beta with ffmpeg 6 however in the service log I only see:
Now in the Makefile we have: Line 24 in cd787a6
And as far as I know there isn't a way to configure packages to have a logical OR for packages dependencies. Was it the intent to change this or should Jellyfin be able to access the new ffmpeg versions if installed? |
I'm presuming this is due to jellyfin using a hardcoded path pointing to
Yes, no, maybie? I mean if the code is fixed to the v4 version there is nothing we can do about it. On the other hand, newer ffmpeg packages are now called @nyanmisaka any thoughts on this? |
This tests well with DSM 7.2 beta for media playback. However a similar test in DSM 6.2 fails. The service log shows the following:
Any thoughts on this @th0ma7 ? |
This is weird... and I see a correlation with AlexPresso/VideoStation-FFMPEG-Patcher#66 |
Interestingly enough, as you brought up a hardcoded path, I saw the path listed under
As far as I know if you add packages to the EDIT: I can confirm that despite the hardcoding (below), once the ffmpeg binary path is changed to v6, the configuration survives both an app and DSM restart. spksrc/spk/jellyfin/src/service-setup.sh Line 11 in 1e90b5f
|
Interestingly enough, on switching the EDIT: I also tested with ffmpeg v5 and the video played successfully.
|
@th0ma7, I've found the cause of the playback issue with ffmpeg v4. Looking at the logs in [Dashboard] -> [Logs] there are a number of
So, I gave permissions to
So I then took a look and compared the binary files:
I noted that the user had the permissions spksrc/spk/ffmpeg4/src/service-setup.sh Lines 25 to 26 in 8a7f712
spksrc/spk/ffmpeg6/src/service-setup.sh Lines 25 to 26 in 8a7f712
The first was the line which set the permission. The second is the same line in the
Once this was done, the video played correctly in DSM 6. These service setup script commands only run in DSM 6 and I wonder if the note which says "setuid for proper vaapi access", is still valid. If not, then these should be removed from ffmpeg v4, v5 and v6. Based on some research this command has the following meaning:
The problem with this approach is that the folders it has to interact with do not allow the user
|
1e90b5f
to
5b8e9e4
Compare
If i recall on older dsm regular users could not have access to the gpu device file as such ffmpeg4 was installed as root with set-uid-bit (unsecure but functional). On dsm7 there is now a videodriver group which solves things whereas long as the user is in that group he's then good to go. What i may have change is switching ffmpeg on dsm6 now belonging to user sc-ffmpeg which blew things up. I'll have to reconvene and fix this. AFK currently, would you mind opening up an issue and linking opened items? I'll look at it later this week. Thnx. |
Hmm, not familiar with this one. It does seem that the
Sure, check out #5710 for the issue as requested. |
IIRC As a user I gave both jellyfin an ffmpeg permisions to my media files and both ffmpeg an jellyfin had the videodriver worker / group, Not sure if the last one is nessessary anymore but it allowed jellyfin access to ffmpeg back when DSM7 was in beta. |
Description
This PR includes the following:
Fixes #
Checklist
all-supported
completed successfullyType of change