mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
Hardware acceleration with PGS subtitles hangs indefinitely #1636
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mholt on GitHub (May 2, 2020).
Describe the bug
I think there are 2 issues here, but I'll just post the info I know and let you decide! :)
Initiated from this reddit thread which has a little more background.
Hardware-accelerated encoding of a stream with PGS subtitles hangs indefinitely on Raspberry Pi 4. After disabling subtitles, stream works fine, but there's still an error in the logs either way (appears a couple times):
System (please complete the following information):
To Reproduce
Expected behavior
The video should play, I suppose. And from that reddit thread, the other commenter helping me said that the "unspecified size" logs should not happen either, like a bug that was thought to have been fixed already. That might be a separate issue, not sure.
Logs
See logs from both a working stream (no subs) and non-working stream (with subs) here: https://gist.github.com/mholt/1511cf85f8ca983bdd6ddd93ba430e07
Screenshots
n/a
Additional context
When subs are enabled, it's just a black screen forever, and the web UI kinda freezes and I have to reload it to go back.
Let me know what other information you need!
@stale[bot] commented on GitHub (Aug 30, 2020):
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
@mholt commented on GitHub (Aug 30, 2020):
Oh nooooo don't close it 😭
@stale[bot] commented on GitHub (Dec 28, 2020):
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
@mholt commented on GitHub (Dec 28, 2020):
I am not aware that this is fixed; please leave open.
@stale[bot] commented on GitHub (Jun 3, 2021):
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
@mholt commented on GitHub (Jun 4, 2021):
Not fixed yet.
@sparky002 commented on GitHub (Jun 19, 2021):
I get the same error although I'm not using a raspi. Using the latest Jellyfin docker on Unraid with gpu acceleration on.
@nyanmisaka commented on GitHub (Jun 18, 2022):
Not an issue. The processor of RPI4 cannot handle subtitle burn-in.
@mholt commented on GitHub (Jun 18, 2022):
Sorry, but what do you mean, it "cannot handle" it?
@nyanmisaka commented on GitHub (Jun 18, 2022):
Software based subtitle burn-in is a cpu intensive task even for x86, the cpu of Pi4 is not fast enough to do it on the fly.
@mholt commented on GitHub (Jun 18, 2022):
Can the GPU perform this?
@nyanmisaka commented on GitHub (Jun 18, 2022):
GPU scaling filter hasn’t been implemented yet, not to mention the GPU overlay filter.
https://github.com/jc-kynesim/rpi-ffmpeg/issues/42
@EliteElectronic commented on GitHub (Jan 5, 2023):
With hardware acceleration enabled, I found PGS Subtitles ONLY work on the Jellyfin Media Player APP Windows version.
All others does not work! I also tried Jellyfin Media Player APP on Roku DOES NOT work.
Why only Jellyfin Media Player APP Windows version work ??? !!!
My main player is Jellyfin Media Player APP on Roku and all of my movies are Bluray rip with PGS Subtitles.
Jellyfin team, please look into this and make hardware acceleration PGS Subtitles work everywhere !
Thank you !!!