Jellyfin Forum
External SRT subtitles not showing up - 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: External SRT subtitles not showing up (/t-external-srt-subtitles-not-showing-up)



External SRT subtitles not showing up - trash - 2024-01-31

Hi,

No matter what I do, Jellyfin is not displaying subtitles stored in external SRT files. Does not matter whether I try to play via web browser, SwiftFin on iOS or AppleTV. The outcome is all the same. The subtitles are recognizable as I can turn them on or off, but when I select them as on they are not displayed. 

In ffmpeg log I can see what might be a possible error, but I have no idea what this could mean or how to fix:

sub2video: non-bitmap subtitle

The exact same video and subtitles plays just fine on VLC which makes me believe this is something wrong on Jellyfin end. 

Any ideas?


RE: External SRT subtitles not showing up - TheDreadPirate - 2024-01-31

Can you share your full jellyfin logs? And can you provide the ffprobe output for the subtitle file?

Code:
/usr/lib/jellyfin-ffmpeg/ffprobe -i "/path/to/subtitle.srt"



RE: External SRT subtitles not showing up - trash - 2024-01-31

Log file attached, as requested.

Output:

Code:
ffprobe version 5.1.4-Jellyfin Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 10 (Debian 10.2.1-6)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec    59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter    8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample  4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, microdvd, from 'blabla.pol.srt':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Subtitle: microdvd



RE: External SRT subtitles not showing up - TheDreadPirate - 2024-01-31

So microdvd is a plain text subtitle format, but it looks like it is trying to burn it in like it was an image based format (PGS, DVDSUB, etc).

What happens when you change the extension from .srt to .sub? microdvd uses the .sub extension.

Can you attach the unaltered sub file as an attachment or put it in sourcebin?


RE: External SRT subtitles not showing up - trash - 2024-01-31

Nothing really changes when I change the extension to .sub. Same, i.e. ffprobe output is exactly the same and no subtitles displayed on play.

Attached is the .srt.


RE: External SRT subtitles not showing up - TheDreadPirate - 2024-01-31

Definitely not SRT.  You will need to convert the microdvd subs to actual SRT subs.

https://subtitletools.com/convert-to-srt-online

Tested this site with the file you provided and confirmed it created a valid SRT file.


.txt   newSubFile.srt.txt (Size: 39.57 KB / Downloads: 27)

Not sure if there are other tools you can use other than that site.


RE: External SRT subtitles not showing up - trash - 2024-01-31

You are a star! Indeed that did the trick. Now I need to figure out a way how to convert all the subtitles so that they truly are in SRT format or new source of subs. Thanks again!


RE: External SRT subtitles not showing up - TheDreadPirate - 2024-01-31

It looks like ffmpeg does support microdvd (even if Jellyfin is using it incorrectly for burning in subs). When I get home I will see if I can figure out how to convert microdvd to srt with ffmpeg.

Edit: Looks like this is a known issue. JF does treat microdvd like it is an image based sub.

https://github.com/jellyfin/jellyfin/issues/8036#issuecomment-1171133185


RE: External SRT subtitles not showing up - trash - 2024-01-31

It was faster to delete the subs and download them again enforcing the format.

I used http://qnapi.github.io for that.

thanks again TheDreadPirate, much appreciated!