• 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: Subtitle extraction

    Pages (2): 1 2 Next »

     
    • 1 Vote(s) - 5 Average

    SOLVED: Subtitle extraction

    subtitle extraction help
    RxCarmen
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    #1
    2023-06-22, 04:28 PM
    Hi, jellyfin newbie here

    Wondering if anyone has a guide on using the subtitle extract plugin. I have installed the plugin and ran it from schedule tasks but it doesnt seem to do anything, the task completes within a second.

    Is the plugin meant to extract subs into a separate file? and if so, where are they located? I am mainly trying to extract subs from mkv files with SSA/ASS subtitles to get the andorid app to use directly play instead of transcoding due to subtitles.

    my current setup is within docker/container station on a qnap device.
    Go to solution
    crobibero
    Offline

    Core Team (Server & Plugins)

    Posts: 313
    Threads: 0
    Joined: 2023 Jun
    Reputation: 25
    Country:United States
    #2
    2023-06-22, 05:25 PM
    Yes, the plug-in extracts the subtitles, and places them in Jellyfins metadata folder. It is a very simple plug-in that just calls an internal function on every movie or episode in your library
    RxCarmen
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    #3
    2023-06-22, 05:59 PM (This post was last modified: 2023-06-22, 06:02 PM by RxCarmen. Edited 1 time in total.)
    Thanks, is there a specific folder within metadata I should look out for? running the task manually causes it to finish instantly with no new folder creation.

    logs show

    [INF] [45] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Subtitle Extract"
    [INF] [45] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Subtitle Extract" Completed after 0 minute(s) and 0 seconds
    crobibero
    Offline

    Core Team (Server & Plugins)

    Posts: 313
    Threads: 0
    Joined: 2023 Jun
    Reputation: 25
    Country:United States
    #4
    2023-06-23, 12:15 AM
    It shouldn't ever take 0s unless you don't have any Movies or Episodes in your library.

    I have my server set up with the official docker image, my extracted subtitles are under /config/data/subtitles/*/*.srt
    RxCarmen
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    #5
    2023-06-23, 06:50 AM
    Thanks, I will play around with my current setup and find what is causing the plugin to finish quickly.
    RxCarmen
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    #6
    2023-06-25, 10:29 AM
    Just to update, I managed to fix the issue with extraction. Ended up using docker compose to manually define the cache and config locations and I can see the subtitle folder.

    last question I have is how do you tell which subtitles are for which media? the subtitle folder contains a number/letter folder with a set of seemingly random value names. Is there a way to link these up with the correct files?
    thornbill
    Offline

    Core Team

    Posts: 184
    Threads: 7
    Joined: 2023 Jun
    Reputation: 9
    Country:United States
    #7
    2023-06-25, 09:48 PM
    I believe the filenames correspond to the item id in Jellyfin.
    Shadowghost
    Offline

    Team Member

    Posts: 23
    Threads: 2
    Joined: 2023 Jun
    Reputation: 0
    Country:Germany
    #8
    2023-06-26, 03:07 PM
    If I remember correctly the item IDs are calculated by adding the file pathe to a static string and hasing the result with MD5 or something...
    wolfrumble4398
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2024 May
    Reputation: 0
    Country:Singapore
    #9
    2024-05-03, 06:47 AM
    Dumb question, but if you delete the movie through Jellyfin, will the subtitles extracted also be removed? Also, if I delete the movie folder using File Explorer, the subtitles extracted will not be removed then?
    TheDreadPirate
    Online

    Community Moderator

    Posts: 15,667
    Threads: 11
    Joined: 2023 Jun
    Reputation: 473
    Country:United States
    #10
    2024-05-03, 12:35 PM
    Yes and yes. Though if deleted in file explorer Jellyfin won't delete the subtitles until the next scan or if real time monitoring is enabled.
    Jellyfin 10.11.11 (Docker)
    Debian 13 w/Xanmod amd64v3 LTS kernel
    AMD Ryzen 5500 w/32GB DDR4
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    ZFS Storage pool
        vdev1 - 6x WD Red Pro 6TB CMR in RAIDZ1
        vdev2 - 3x WD Red Pro 18TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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