Jellyfin Forum
ASS subtitle burn in fails - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: ASS subtitle burn in fails (/t-ass-subtitle-burn-in-fails)



ASS subtitle burn in fails - maxplosive - 2023-10-05

Hi!

Since enabling quicksync transcoding on my n5105 I'm having a hard time enabling ASS subtitles. When I select them the screen goes black for maybe 30 seconds or so and then I get an error that it failed and then it starts playing without the subs. Before enabling HW acceleration it never failed but also took close to a minute to enable. Any ideas?

Logs from when it just happened again.

Server:https://pastebin.com/wFQQPg7i

Transcode logs:https://pastebin.com/T8mimdP3

https://pastebin.com/fcMMP0ai


Not sure which transcode log is the correct one.


RE: ASS subtitle burn in fails - bitmap - 2023-10-05

Seems like QSV isn't configured correctly. Are you able to get any videos to transcode? Could you share more about your install type, Jellyfin server version, host OS, and hardware specs?

You'll want to make note, if you're on Linux, of this section of the docs: https://jellyfin.org/docs/general/administration/hardware-acceleration/intel#known-issues-and-limitations


RE: ASS subtitle burn in fails - maxplosive - 2023-10-05

(2023-10-05, 07:00 PM)bitmap Wrote: Seems like QSV isn't configured correctly. Are you able to get any videos to transcode? Could you share more about your install type, Jellyfin server version, host OS, and hardware specs?

You'll want to make note, if you're on Linux, of this section of the docs: https://jellyfin.org/docs/general/administration/hardware-acceleration/intel#known-issues-and-limitations


I'm running everything on an Unraid server with the official Jellyfin docker, previously I used binhex version but then I couldn't even play any videos after enabling HWA. These are my Transcode settings:
https://imgur.com/a/dVV1xqM

I've added these settings to the docker container:https://imgur.com/a/MeZmDrx

Followed most of the stuff I found here:https://forums.unraid.net/topic/144179-intel-n5105jasperlake-hw-transcode-with-binhex-jellyfin/

I can see the GPU working and Jellyfin transcoding due to non supported audio/video/subtitle codecs.


RE: ASS subtitle burn in fails - bitmap - 2023-10-05

Quote:previously I used binhex version but then I couldn't even play any videos after enabling HWA.
This sounds like QSV is not working properly.

The fact that ffmpeg is quitting immediately, milliseconds into transcoding suggests that QuickSync isn't configured properly. For low-power encoding, you need a number of things configured, none of which were listed on the page you linked. I don't see a hardware acceleration config section for Unraid and I know there isn't a lot of low-level access on those systems (on purpose), but that makes it hard, particularly with hardware like the N5105 which requires the HWE kernel, HuC/GuC access, specific drivers, render/video group access, things that you can't just plug into a Portainer-like GUI.

Are you able to get bash access to the Jellyfin container anywhere? If so, you could test whether QSV is functioning (the linked HWA documentation has several ways to test/verify). That might be a good place to start.


RE: ASS subtitle burn in fails - maxplosive - 2023-10-06

(2023-10-05, 11:31 PM)bitmap Wrote:
Quote:previously I used binhex version but then I couldn't even play any videos after enabling HWA.
This sounds like QSV is not working properly.

The fact that ffmpeg is quitting immediately, milliseconds into transcoding suggests that QuickSync isn't configured properly. For low-power encoding, you need a number of things configured, none of which were listed on the page you linked. I don't see a hardware acceleration config section for Unraid and I know there isn't a lot of low-level access on those systems (on purpose), but that makes it hard, particularly with hardware like the N5105 which requires the HWE kernel, HuC/GuC access, specific drivers, render/video group access, things that you can't just plug into a Portainer-like GUI.

Are you able to get bash access to the Jellyfin container anywhere? If so, you could test whether QSV is functioning (the linked HWA documentation has several ways to test/verify). That might be a good place to start.

I played an episode that direct plays and then changed to a lower resolution which worked and here's a sc of intel_gpu_top: https://imgur.com/a/eRm58FV

So it seems that it works, I get 99% usage when I play a 4k with wrong codecs: https://imgur.com/a/eLBItPD

Still can't change subtitles which also doesn't make sense because the default subtitles play without issue but they're also ASS and need to be transcoded, it's just when I switch to another subtitle version that it crashes...

HOWEVER, now I tried playing another 4k episode I watched yesterday with no issues but now I get 'This client isnt compatible with the media and the server isn't sending a comaptible medai format', log ends with:  This client isn't compatible with the media and the  This client isn't compatible with the med ia and the server isn't sending a compatible media format.
[AVHWDeviceContext @ 0x55b8b6c37640] Failed to get number of OpenCL platforms: -1001.
Device creation failed: -19.
Failed to set value 'opencl=ocl@va' for option 'init_hw_device': No such device
Error parsing global options: No such device



This only happens with some of the files....???? why OPENCL????