• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Load and parse SRT (subtitle files) with Javascript.

    How To... ?
    1
    1
    1541
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DusX
      DusX Tech Staff last edited by DusX

      For last years Werkstatt, I wrote a Javascript Subtitle parser that works with SRT files. (very common subtitle format).

      It first parses the SRT, into Javascript native JSON (limited to 1 language track currently, but easily extended).
      Then which ever title you want can be selected via another small JS script.
      This approach will allow future versions of Isadora to use timecode to selected the correct title. (only a new 'selection' script will need to be written)

      A demo containing the JS code in User Actors is available here.

      Also, it might be useful to know I have been creating/editing my SRT files with Aegisub

      Troikatronix Technical Support

      • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
      • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
      • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

      Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

      1 Reply Last reply Reply Quote 2
      • First post
        Last post