6 Replies Latest reply on Feb 1, 2008 5:22 PM by Newsgroup_User

    locking a video

    edvaleIM
      I'm puting Director projector file on several computers/network. The Projector file has movies that I have created. Does anyone know of a way to lock the video from being copied but still allowing it to be accessed from Director
      Thanks Ed
        • 1. Re: locking a video
          Level 7
          You can create a QuickTime movie using a Sorenson professional codec
          that requires a media key to view it. There is a method exposed in the
          QT6Asset xtra for supplying the key to the file when played so that you
          effectively lock others out of the file when not viewed through your
          application.
          A much cheaper/easier option is to add a black video track to a QT file
          so that this is all that is normally seen in the QT Player, and then use
          the setTrackEnabled() function to turn it off when viewed in
          Director/your application.
          • 2. Re: locking a video
            johnAq Level 1
            What format are the videos?

            Using Quicktime in conjunction with a codec that supports 'Media Keys' seems to be the best option for this. There are other options suggested that are more like hacks (eg deliberately corrupting the file in some way)

            hth


            johnAq
            • 3. Re: locking a video
              edvaleIM Level 1
              Thank you for the response. I'm still at the beginner level of Director could you please describe the method in more detail. Thanks Ed
              • 4. Re: locking a video
                Level 7
                > could you please describe the method in more detail.

                Which method would you like described?
                • 5. Re: locking a video
                  edvaleIM Level 1
                  step by step of this method please:
                  A much cheaper/easier option is to add a black video track to a QT file
                  so that this is all that is normally seen in the QT Player, and then use
                  the setTrackEnabled() function to turn it off when viewed in
                  Director/your application.

                  Thanks for the help
                  Ed
                  • 6. Re: locking a video
                    Level 7
                    > A much cheaper/easier option is to add a black video track to a QT file
                    > so that this is all that is normally seen in the QT Player, and then use
                    > the setTrackEnabled() function to turn it off when viewed in
                    > Director/your application.

                    Create a black bitmap of the correct dimension, buy a licence for QT
                    Pro, open your .mov file in QT, select all, from the Edit menu choose
                    "Add to Selection and Scale", save as (a different name) (Save as a
                    self-contained movie), link this file to a #quickTimeMedia member in a
                    Director castLib and use sprite("qt").setTrackEnabled(trackNumber, 0) to
                    turn off the layer you just added when playing back.