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

    Read text from a file : I wrote a plugin

    Troubleshooting and Bug Reports
    text files plugins isadora 2 actors
    20
    69
    30.1k
    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

      Personaly, I use a quicktime text movie, you can use belle-nuit subtitle software to translate .srt to quickTime text and then QuickTime 7 pro to obtain a QT movie. You can also write the QT text yourself, using text edit.

      Played in Isadora, you can activate the text track and use text/draw actor to screen it.
      If you need to slave it to entering timecode, as MTC, you can use MTC reader. If you need to slave to another movie, you can slave it via position
      I send you a patch in Isadora (pre-release version), with subtitles in text and QT.
      A little bit easier…
      Hope that helps,
      jhoepffner

      26cf11-testsubtitles.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
      • DusXD
        DusX Tech Staff
        last edited by

        @djinoui 
        Have you tested the plugin on Windows 8 or 8.1?

        I have a project that is using it that now crashes shortly after the text read.. (on all installed versions. inc, both the stable release and pre-release)
        Strangely no error report is created, just a windows prompt that its crashed and windows will try to find a solution. 
        So debugging is a little slow.

        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 0
        • ArmandoA
          Armando Beta Gold
          last edited by

          Wow Jacques. Very creative solution!!!!

          As always 😉

          Armando Menicacci

          www.studiosit.ca
          www.armandomenicacci.net

          Macbook pro 16 inches 2022 64 GB RAM, M1 MAX. OS 14 Sonoma

          1 Reply Last reply Reply Quote 0
          • djinouiD
            djinoui
            last edited by

            @DusX

            Yes, I just installed Windows 8.1 on VirtualBox, I'm also getting a crash. I don't have much time these days but I'll try to install VC++ and investigate about this.

            Computer: Asus N76VZ PC, Windows 7x64, Intel I7, 6G RAM, Isadora v1.3.1f06
            Isadora SDK dev computer: VirtualBox PC, Windows XPx32, 2G RAM, Isadora v1.3.1f06

            1 Reply Last reply Reply Quote 0
            • DusXD
              DusX Tech Staff
              last edited by

              @djinoui 
              thats good to know..  I wasn't entirely sure it was the cause.

              If you get around to it I would be very grateful.

              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 0
              • djinouiD
                djinoui
                last edited by

                After installing 1.5.3f25 (latest pre-release) on the W8.1 virtual PC, everything seems to be back to normal again.

                Could you please tell me if you still get a crash with this version?

                Computer: Asus N76VZ PC, Windows 7x64, Intel I7, 6G RAM, Isadora v1.3.1f06
                Isadora SDK dev computer: VirtualBox PC, Windows XPx32, 2G RAM, Isadora v1.3.1f06

                1 Reply Last reply Reply Quote 0
                • DusXD
                  DusX Tech Staff
                  last edited by

                  Yeah.. just did a quick test, and I still crash.. 
                  I will try to create a simple version for testing.. to make sure (the patch I have thats using it is pretty complex)

                  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 0
                  • DusXD
                    DusX Tech Staff
                    last edited by

                    OK, spoke to soon... some fiddling.. and it works again.. I think it has to do with the init settings for the plugin. I didn't really change anything and its working, so I think that I simply saved a happy value into an input when I updated my user actor.

                    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 0
                    • djinouiD
                      djinoui
                      last edited by

                      OK, keep me updated if you manage to reproduce the bug.

                      For what it's worth, I wouldn't be surprised if it was related to file encoding. Or even special characters in the input path.

                      Computer: Asus N76VZ PC, Windows 7x64, Intel I7, 6G RAM, Isadora v1.3.1f06
                      Isadora SDK dev computer: VirtualBox PC, Windows XPx32, 2G RAM, Isadora v1.3.1f06

                      1 Reply Last reply Reply Quote 0
                      • H
                        hobbyte
                        last edited by

                        pretty cool actor
                        thx

                        1 Reply Last reply Reply Quote 0
                        • jtoenjesJ
                          jtoenjes
                          last edited by

                          Thanks for this plugin. It works great, even in 2017 with the latest version of Izzy! Just what I needed.

                          1 Reply Last reply Reply Quote 0
                          • djinouiD
                            djinoui
                            last edited by

                            Glad to read this, as I didn't test it with Isadora 2! Happy VJing!

                            Computer: Asus N76VZ PC, Windows 7x64, Intel I7, 6G RAM, Isadora v1.3.1f06
                            Isadora SDK dev computer: VirtualBox PC, Windows XPx32, 2G RAM, Isadora v1.3.1f06

                            1 Reply Last reply Reply Quote 1
                            • mark_mM
                              mark_m @djinoui
                              last edited by

                              @djinoui

                              @Woland @mark 

                              This readtextfromfile plugin is one I've utilised extensively in a number of projects.
                              Sadly, it doesn't work with Isadora 3.
                              Is there an easy way to update it, or recompile it, or whatever, so that it does?

                              I realise that there are other solutions available, but I do like this one 🙂

                              Intel NUC8i7HVK Hades Canyon VR Gaming NUC, i7-8809G w/ Radeon RX Vega M GH 4GB Graphics, 32GB RAM, 2 x NVMe SSD
                              Gigabyte Aero 15 OLED XD. Intel Core i7-11800H, NVidia RTX3070, 32GB RAM 2 x NVMe SSD
                              PC Specialist Desktop: i9-14900K, RTX4070Ti, 64GB RAM, Win11Pro
                              www.natalieinsideout.com

                              1 Reply Last reply Reply Quote 0
                              • markM
                                mark
                                last edited by mark

                                @mark_m said:

                                Sadly, it doesn't work with Isadora 3.

                                 It does now. 😉

                                I spent a hour on Benoît's plugin this morning and recompiled it for Mac and Windows. 

                                Now, I have an "official" file reading plugin in waiting in the wings, which I've been wanting to get out. (I've been consumed by making sure Isadora 3 runs well on Catalina fixes this past week.) It does not, however, have the char/file/line/paragraph option that Benoît's plugin has.

                                One thing that for sure wouldn't have worked in the old version: if you have a fie path that included non ASCII characters liek ü, ø, ç, etc, it would not have opened the file. I've fixed that by updating Benoît's plugin to handle Unicode file paths.

                                But there's a few things that caught my eye as I examined the code. I don't quite understand why he would send output text using CR/LF line endings when the source file is CR/LF, because Isadora's going to have trouble parsing that: Isadora uses CR as a line ending internally, due to it's MacOS origins. And it seems a little ineffecient to me to read the file every time you change a char/line/paragraph number. I guess that's no big deal for small files, but what if it was huge?

                                Anyway, these critique notwithstanding, here's are the usual caveats: I didn't write it, it's not official, it may crash, blow up, or allow evil clowns to enter your living room. I do not have much time to repsond if there are bugs but hopefully it will "just work."

                                The updated source code is included.

                                Enjoy,
                                Mark

                                read-text-from-file-v1.0.zip (FOR ISADORA 3, 64 bit!)

                                Media Artist & Creator of Isadora
                                Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                                mark_mM WolandW 2 Replies Last reply Reply Quote 4
                                • mark_mM
                                  mark_m @mark
                                  last edited by

                                  @mark said:

                                  allow evil clowns to enter your living room

                                  That bit I don't have a problem with!

                                  @mark thank you so much for that hour. Well spent, in my humble opinion! And yes, I will enjoy!

                                   

                                  Intel NUC8i7HVK Hades Canyon VR Gaming NUC, i7-8809G w/ Radeon RX Vega M GH 4GB Graphics, 32GB RAM, 2 x NVMe SSD
                                  Gigabyte Aero 15 OLED XD. Intel Core i7-11800H, NVidia RTX3070, 32GB RAM 2 x NVMe SSD
                                  PC Specialist Desktop: i9-14900K, RTX4070Ti, 64GB RAM, Win11Pro
                                  www.natalieinsideout.com

                                  1 Reply Last reply Reply Quote 0
                                  • WolandW
                                    Woland Tech Staff @mark
                                    last edited by

                                    @mark said:

                                    allow evil clowns to enter your living room

                                     Gimme!

                                    TroikaTronix Technical Support
                                    New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                                    TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                                    TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

                                    | Isadora 3.2.6 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

                                    1 Reply Last reply Reply Quote 1
                                    • A
                                      A3SH
                                      last edited by

                                      Hi everybody,

                                      A nice coincidence that I was just working on a patch that could read texts from a file and just saw this forum thread updated a couple of days ago. I first tried the old plugin on version 2.6.1 of Isadora and later moved to Isadora 3 to try the new plugin Mark compiled. When I trigger the 'read' input Isadora crashes. Not always, but most of the times. Does anyone experienced this problem? Thanks!

                                      I used Isadora 3 on a Lenovo Y520, with Core i7-7700HQ, 4 cores, Windows 10, 16 Gig Memory and a GeForce GTX 1050 graphics card

                                      Best,

                                      Adri

                                      Lenovo Legion Y540, Windows 10, core i7 9th generation, 16 gig ram, Nvidia RTX 2060 graphics card and Isadora version 3.08b57

                                      markM 1 Reply Last reply Reply Quote 0
                                      • markM
                                        mark @A3SH
                                        last edited by

                                        Dear @a3sh

                                        Well, at least evil clowns didn't come into your living room. 😉

                                        Seriously, not sure what could be going wrong. Can you .zip and post the file you're trying to read.

                                        That said, I'm on macOS Catalina compatibility duty for the next several days... so I may not be able to look into this immediately.

                                        Best Wishes,
                                        Mark

                                        Media Artist & Creator of Isadora
                                        Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          A3SH
                                          last edited by

                                          Dear Mark,

                                          I was running for the evil clowns the last couple of days, but I am back and managed to grap the file. I just tried it again and now it seems to work. I didn't change a thing in my project. But anyway, here is the file I used to test it. I can imagine that it makes finding the problem a bit difficult. Thanks!

                                          Adri

                                          Text File

                                          Lenovo Legion Y540, Windows 10, core i7 9th generation, 16 gig ram, Nvidia RTX 2060 graphics card and Isadora version 3.08b57

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