• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Cannot Get .srt Subtitles In Same Folder To Play / "Undefined - SUBRIP - External"

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Cannot Get .srt Subtitles In Same Folder To Play / "Undefined - SUBRIP - External"

    Shortstop
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #1
    2024-08-19, 07:21 AM (This post was last modified: 2024-08-19, 07:24 AM by Shortstop. Edited 1 time in total.)
    Hey there,

    I did some research and am having the same exact problem as this thread:
    - https://forum.jellyfin.org/t-external-sr...showing-up

    I have Jellyfin deployed on Portainer within Windows 11 + Docker Desktop via this Docker compose file:

    ---
    services:
      jellyfin:
        image: lscr.io/linuxserver/jellyfin:latest
        container_name: jellyfin
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=Etc/UTC
        volumes:
          - C:\Users\Sam\jellyfinConfused-faceconfig
          - D:\MoviesConfused-facedata/movies
        ports:
          - 8096:8096
        restart: unless-stopped



    With this in mind, I tried to watch a movie aka Kill Bill Vol 1 but the subtitles do not work while on the Jellyfin web app.

    I tried using the mobile Android Jellyfin app but received the same result of the subtitles not working.

    This is important for this particular movie since there are Japanese spoken sections that were translated to English in theaters that were meant to be understood, and without them, it makes any attempt to watch this movie useless.

    The weird thing is that VLC player "just works" with the same exact movie and subtitles.

    The subtitles are in .srt format, and it is named exactly the same as the movie:

    Related command used:

    user@windesktop C:\Users\user>docker exec jellyfin ls /data/movies


    Related output:

    Kill.Bill.Vol.1.2003.1080p.BrRIp.x264.YIFY.mp4
    Kill.Bill.Vol.1.2003.1080p.BrRip.x264.YIFY.srt



    Related jellyfin-ffmpeg output I am listing here that might help:

    user@windesktop C:\Users\user>docker exec jellyfin /usr/lib/jellyfin-ffmpeg/ffprobe -i "/data/movies /Kill.Bill.Vol.1.2003.1080p.BrRip.x264.YIFY.srt"
    ffprobe version 6.0.1-Jellyfin Copyright © 2007-2023 the FFmpeg developers
      built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --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-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --sable-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-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      58.  2.100 / 58.  2.100                  libavcodec     60.  3.100 / 60.  3.100                  libavformat    60.  3.100 / 60.  3.100
      libavdevice    60.  1.100 / 60.  1.100                  libavfilter     9.  3.100 /  9.  3.100
      libswscale      7.  1.100 /  7.  1.100
      libswresample   4. 10.100 /  4. 10.100                  libpostproc    57.  1.100 / 57.  1.100                Input #0, srt, from '/data/movies/Kill.Bill.Vol.1.2003.1080p.BrRip.x264.YIFY.srt':                                Duration: N/A, bitrate: N/A                             Stream #0:0: Subtitle: subrip



    If I try to select the subtitle, it shows up as "Undefined - sUBRIP - External" in the menu on the Jellyfin web app. If I try to select the subtitle and then hit play to begin the movie, I get this error:

    Playback Error: Fatal Player Error


    Any ideas why VLC works?

    I am debating flat out using Kodi on the same machine and rigging it up to VLC as the player so I can be inspired to watch movies with the cool box art but depend on a reliable player like VLC.

    Honestly wish the subtitles would 'just work's in this scenario. I am pretty sure I got the subtitles from OpenSubtitles.org which is a sub par experience and drag to use but it's free I guess. Probably my bad on my part in that regard i will admit.

    Lemme know what you guys think or if this is some kind of weird transcoding issue.
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-19, 01:10 PM
    Can you share your full jellyfin logs via pastebin? And ffmpeg logs related to this playback, if there are any.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Shortstop
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #3
    2024-08-19, 03:18 PM
    How do I get these logs when logged in as an admin user?

    Or where are they when installed when Jellyfin is installed within that Docker container?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-08-19, 04:04 PM
    /config/log is the container path.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Shortstop
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #5
    2024-08-19, 05:28 PM
    Requested output which I obtained by using the 'docker exec -it jellyfin sh' command.

    I then navigated to the 'config/log' directory with the 'cd' command and then used the 'cat' command to display the latest log:

    aka here's the 'config/log/FFmpeg.Transcode-2024-08-19_06-38-25_4c5640a820a3801aace06a7154bea07f_e69a5e3f.log' file:

    Code:
    https://pastebin.com/gAFXtAQk

    Here's only part of the 'config/log/log_20240819.log' file since its too large for the 'sh' shell, and I can't seem to pipe the entire file to a Pastebin for upload because 'sh' is too basic:
    Code:
    https://pastebin.com/qMzkjB9e
    Shortstop
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #6
    2024-08-20, 01:30 AM (This post was last modified: 2024-08-20, 01:32 AM by Shortstop. Edited 1 time in total.)
    FYI, I think it's a Windows 11 + Docker Desktop issue.

    I literally installed Kubuntu on the same mini PC's internal NVME drive and replaced Windows 11 with Kubuntu.

    For the Kubuntu installation process, I used Docker Engine with Portainer with the Docker compose file in the first post, and now subtitles work without a single issue.

    I read online that Docker Desktop causes weird permission issues and I think that is probably the root cause in this scenario.

    I blame Windows 11 for this one, good thing there's Kubuntu which just works.

    Marking this as solved
    Shortstop
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #7
    2024-08-20, 01:53 AM
    Actually, looks like this is still happening.

    For whatever reason if I play the movie in VLC player, restart, and then watch the movie again in Jellyfin, it seems like the subs are ok.

    Just had this happen with Inglorious Basterds. Hmmmmmm I wonder what permission issues cause this.
    Shortstop
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #8
    2024-08-20, 02:01 AM (This post was last modified: 2024-08-20, 02:02 AM by Shortstop. Edited 1 time in total.)
    Thanks so far, curious for your thoughts
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,156
    Threads: 0
    Joined: 2024 Jun
    Reputation: 60
    #9
    2024-08-20, 02:07 AM (This post was last modified: 2024-08-20, 03:21 AM by theguymadmax. Edited 1 time in total.)
    I think those are .ass files, not .srt files and you have them misnamed.  Open the file in a text editor.

    Ass files will have headers:
    [Script Info]
    [Fonts]
    [Styles]
    [Events]

    Srt files will just subtitle numbers, time codes, and subtitle text.
    1 00:00:01,000 --> 00:00:05,000 This is a srt subtitle.
    Shortstop
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:United States
    #10
    2024-08-20, 07:26 AM
    If I rename them to .ass files, will jellyfin work in that regards?
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode