• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    Subtitle player

    How To... ?
    5
    13
    2.6k
    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.
    • jhoepffnerJ
      jhoepffner
      last edited by

      Hello,

      It's cloudy in Paris, a good time for programming…
      Finaly I succeed in making a replacement for QT text for subtitle, reading directly .srt file in sync with a movie and with french accentuated letters (one more time, Mark, we NEED UTF8 output for javascript!)
      For the moment the splitting of long text is not the better, I will improve that the next cloudy Sunday (another time, not possible in javascript for european language reason).
      Here is the izzy patch, the javascript file and one .srt example.
      Fell free to upgrade the proposition!
      All the best, Jacques

      6ab6d3-soustitres.zip

      Jacques Hoepffner http://hoepffner.info
      GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
      MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
      MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
      MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

      P 1 Reply Last reply Reply Quote 0
      • jhoepffnerJ
        jhoepffner
        last edited by

        Don't forget to put the complete path for the .srt file, ReadtextFromFile need it (use terminal for that)

        The javascript actor doesn't need it if the javascript file is in the same place as the Izzy file

        Jacques Hoepffner http://hoepffner.info
        GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
        MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
        MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
        MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

        1 Reply Last reply Reply Quote 0
        • jhoepffnerJ
          jhoepffner
          last edited by

          Here a new version able to read 2 lines of subtitles. still a little bit rough but it works.

          To prepare the subtitles, you can use belle nuit subtitler (expansive) or subs factory (cheap)
          If you use accentuated language, you need to use MacOs Roman encoding with Unix line breaks.
          Hope that helps

          a6d86e-subtitles.zip

          Jacques Hoepffner http://hoepffner.info
          GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
          MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
          MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
          MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

          1 Reply Last reply Reply Quote 0
          • BodoB
            Bodo
            last edited by

            thanks a lot for sharing!!!

            MacPro Late 2013 OSX 10.13., Izzy 2.6.1

            http://studio6.berlin

            1 Reply Last reply Reply Quote 0
            • D
              DillTheKraut
              last edited by

              Hello @jhoepffner,

              it seams that your plugin is very unstable. My Isadora keeps crashing when reading files manually.
              I'm on OSX 10.10.5 and Izzy 2.1.
              Do you have any ideas?
              Thanks
              Dill
              1 Reply Last reply Reply Quote 0
              • D
                DillTheKraut
                last edited by

                Ok, i see "readtextfromfile" isn't your actor. But are you experiencing any similar effects?

                I try to do supertitles separated by text files for each sentence.
                It seems, that the actor crashes Isadora if the filename is changed several times.
                Do you experience similar problems? 
                1 Reply Last reply Reply Quote 0
                • jhoepffnerJ
                  jhoepffner
                  last edited by

                  Hello, readTextFromFile is very stable for me, but you have to be very careful with the text encoding.

                   I use the software Smultron to change the encoding to "occidental (MacOs Roman)".
                  When the encoding is not good, it crash…

                  Jacques Hoepffner http://hoepffner.info
                  GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
                  MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
                  MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
                  MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

                  1 Reply Last reply Reply Quote 0
                  • jhoepffnerJ
                    jhoepffner
                    last edited by

                    Unfortunately javascript doesn't accept encoding. If you use only ASCII letters, you can use only javascript and output directly the text.

                    But with french language, I need to use ReadtextFromFile to output the accented text

                    Jacques Hoepffner http://hoepffner.info
                    GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
                    MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
                    MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
                    MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

                    1 Reply Last reply Reply Quote 0
                    • D
                      DillTheKraut
                      last edited by

                      If I want to read plain english text including right interpretation of carriage return, could I do this with javascript actor?

                      1 Reply Last reply Reply Quote 0
                      • D
                        DillTheKraut
                        last edited by

                        After hours and hours and a lot of given nerves including to learn and try reading files with javascript actors, I found the real problem.

                        The actor seems to not accepting more than exactly 63 characters for the file path!
                        Funny enough it works for several times reading the file (I connected a puls actor to trigger the read file). But usually after 4 to 5 times latest, Izzy crashes without error. 
                        1 Reply Last reply Reply Quote 0
                        • jhoepffnerJ
                          jhoepffner
                          last edited by

                          @DillTheKraut 

                          It can be that, personally I also try to have linux friendly path (no spaces, only ASCII letters and numbers)

                          Jacques Hoepffner http://hoepffner.info
                          GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
                          MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
                          MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
                          MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

                          1 Reply Last reply Reply Quote 0
                          • P
                            Philippe SP 2023 @jhoepffner
                            last edited by

                            @jhoepffner  Cher Jacques, je suis un ami d'Armando. Je débute dans Isadora. Est-ce que tu peux m'aider dans une technique moderne de surtitres. Il s'agit de texte à projeter en espagnol, en synchro avec du texte joué en français.  Merci.

                            DusXD 1 Reply Last reply Reply Quote 0
                            • DusXD
                              DusX Tech Staff @Philippe SP 2023
                              last edited by

                              Isadora now offers a powerful Subtitle player as an Addon.
                              The srt-subtitle-player allows timecode to drive your srt file (subtitle file) reading.
                              How you display the text is up to you.

                              Troikatronix Technical Support

                              • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                              • Isadora Add-ons: https://troikatronix.com/add-ons/
                              • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

                              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