• 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
    2649
    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 Izzy Guru 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 Professional Services
      https://troikatronix.com/professional-services

      🎫 Support Tickets
      https://support.troikatronix.com/support/tickets/new

      💻 Add-ons
      https://troikatronix.com/add-ons/?u=dusx

      🧪 GitHub Projects
      https://github.com/rwebber

      🖥️ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

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