• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

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

    Read text from a file : I wrote a plugin

    Troubleshooting and Bug Reports
    text files plugins isadora 2 actors
    20
    69
    26794
    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.
    • particlep
      particlep last edited by admin

      sure no problem.

      ring.txt is made in text wrangler
      once.txt is made in text edit
      also is attached an image file of what the actor outputs with the text edit file
      hope this helps.

      90e614-text_edit.tiff 5f1599-ring.txt bb9daf-once.txt

      isadora v3.0.7
      mbp 2.6ghz i7
      mac osx 10.12.6
      dyslexic.

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

        Apparently TextEdit wrote the file using the RTF format, not plain text. RTF stores formatting (font, color...) information along with the text. That's why you get {\rtf1\ansi\ansicpg1252....etc. Just make sure you write your file in plain text with no formatting (or use another editor, which you did).

        About line-endings : ring.txt has no line endings, but once.txt has LF line-endings in it, which are usually used on Unix OSes. I've read that MacOSX is built upon a Unix system, so if you use this OS (and I suppose you do), you will have to select 'unix' linebreak mode, not 'mac'.

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

          Oh. It's written in your signature ^^

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

            Very useful plugin.. thank-you!

            This is my first use of the plugin:
            https://www.facebook.com/photo.php?v=10153251586530464
            this example only shows one line of text being read, but so far it is working with 30 lines looping..

            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 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

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

              Great video DusX!

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

                Thank you everyone. Can someone also do a video about compiling an Isadora Plugin? I think this is a good occasion...


                Armando Menicacci
                www.armandomenicacci.net
                www.studiosit.ca

                Macbook pro 16 inches 2022 64 GB RAM, M1 MAX. OS 13 Ventura

                1 Reply Last reply Reply Quote 0
                • Skulpture
                  Skulpture Izzy Guru last edited by

                  +1 I'm with @Armando I'd quite happily do one but I have no idea...

                  Graham Thorne | www.grahamthorne.co.uk
                  RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                  RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                  RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

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

                    "Can someone also do a video about compiling an Isadora Plugin?"

                    Sounds like a job for me. Will try to make time for this in the coming month.

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

                      That would be super, Mark...


                      Armando Menicacci
                      www.armandomenicacci.net
                      www.studiosit.ca

                      Macbook pro 16 inches 2022 64 GB RAM, M1 MAX. OS 13 Ventura

                      1 Reply Last reply Reply Quote 0
                      • Bill Cottman
                        Bill Cottman last edited by

                        Yes. Please do a tutorial video someone

                        http://www.BillCottman.com : Isadora3.0.8f09 with MBP OS X 10.11.6 in Minneapolis, MN

                        1 Reply Last reply Reply Quote 0
                        • crystalhorizon
                          crystalhorizon Beta Platinum last edited by

                          Yeah, please!

                          Alexander Nantschev | http://www.crystalhorizon.at | located in Vienna Austria

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

                            No video here, but if you want to compile or even develop a plugin with the SDK on Windows, here's how to do it: http://troikatronix.com/troikatronixforum/discussion/936/how-to-develop-a-plugin-using-isadora-sdk-on-windows-with-visual-studio-2010-express-13#Item_1

                            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
                            • mark
                              mark last edited by

                              Regarding building a plugin in Mac OS X, a PDF Read Me that is part of the SDK explains it. Please see this topic:

                              http://troikatronix.com/troikatronixforum/discussion/940/building-an-isadora-plugin-with-xcode

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

                                I just want to ask if there is any updated version of this plugin for Mac, or has the above linked version proven to be solid?

                                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 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

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

                                  Does anybody if it's possible to work with a srt (subtitles) archive with any Isadora plugin?

                                  The point is that I want to project subtitles but synchronized with a timecode…
                                  1 Reply Last reply Reply Quote 0
                                  • Fred
                                    Fred last edited by

                                    Essentially it is a text file, change the extension and it should work fine.

                                    http://www.fredrodrigues.net/
                                    https://github.com/fred-dev
                                    OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
                                    Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
                                    Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

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

                                      So, what about the time code. Do you think that can it be synchronized a video?

                                      1 Reply Last reply Reply Quote 0
                                      • Fred
                                        Fred last edited by

                                        I guess so , read the time code, compare it to the incoming time code from the movie and display it if it is within the range, read the next code etc. There is a bunch of text parsing to do but I cant see a reason you cant get this going.

                                        http://www.fredrodrigues.net/
                                        https://github.com/fred-dev
                                        OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
                                        Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
                                        Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

                                        1 Reply Last reply Reply Quote 0
                                        • Fred
                                          Fred last edited by

                                          Ok, there is one problem, I had a quick go and you have to do a fair bit of work but the last step I cannot get around is that the timecodes come in as text not numbers. everything else is solvable but getting the time right. When I read the timecode from a standard .srt file you get this

                                          00:02:17,575 --> 00:02:19,065

                                          It is a tricky bit, I think using the text chopper you can then do the addition of the times as time code, I used the timecode comparator and you have to do some strange stuff but basically, in the timecode actor seconds are actually split into 256, so if you chop and parse each number from the line that has the time in and out and then work out the total time in seconds, multiply by 256 and then compare it with the current time...... kind of annoying to do. You may be better off trying to modify the above user actor to do it.

                                          http://www.fredrodrigues.net/
                                          https://github.com/fred-dev
                                          OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
                                          Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
                                          Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

                                          1 Reply Last reply Reply Quote 0
                                          • jhoepffner
                                            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
                                            • First post
                                              Last post