I just finished a project which I needed to streamline a bunch of
captions for a video.  28 QuickTime videos all together which had a
bunch of bullet points that I needed to display at certain times
throughout.

I created a mock tool in director that would let me load any video and
start creating marker points.  Just a list of the movie times for that
video where I wanted the bullet points to appear.

I then created a text file of the list that looked something like this:

lCaptions =  [2845,2846]  -- list of marker times

lCaptions.sort()

Then in Flash I created a key frame for every marker that was in my list
and put a stop(); action in every keyframe as well.  Then all I had to
do was enter the text (copy/paste) from the client's script for that
marker time in flash. So if I had 10 marker times, I would have 10 flash
frames.

So I ended up with 3 files:
VIDEO: welcome.mov       --quicktime video
FLASH: welcome.swf       --flash movie with the captions text
TEXT FILE:  welcome.txt  --list of markers times for movie

I wrote a simple behavior in director attached to a menu item that would
launch the video.  Since it was the same name as the .swf & .txt file I
could then load the external txt file into a local variable and use the
'DO' command on it.

Using a placeholder.swf file I would dynamically change its member on
screen to the active 'videoname'.swf filename.

Using the video sprites movietime I would look it up in my lCaptions
list and findposnear to return the index value.  I would then set my
flashsprites.frame property to this index value and everything went
great.

I'm sure you could automate this a lot better than I did but I had to do
something pretty fast and this was my solution.

According to my QuickTime Book you can generate markers for QuickTime
only on the Mac platform but not on the PC.  However, if you generate
them on the Mac they will be available on the PC side.

todd



-----Original Message-----
From: Fabrice Closier [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 03, 2003 12:14 PM
To: [EMAIL PROTECTED]
Subject: Re: <lingo-l> Creating a cuepointing tool - Lingo version

if i recall, Soundforge supports Cuepoints on PC the very same way 
SoundEdit does on mac...

Fabrice
On Monday, February 3, 2003, at 12:27 PM, MMCR wrote:

> Woking on the PC I had this problem many years ago as there was no PC
> software for putting cue points into a QuickTime file back then (and
> still today I think). So I approached it from a Lingo level and wrote
a
> behavior that simulates the effect of cuepoints by just using counting
> the amount of time the QT sprite has been playing. Works very well and

> I
> have used it on several CD-ROM projects to great effect. It also 
> removes
> the messy business of having to edit in the QT CuePoints in the first
> place!
>
>
> -- Wait for QuickTime cue point in seconds
> -- Written by Kevin Boyd 11 Nov 99 [EMAIL PROTECTED]
>
> -- Put on a QT sprite
>
> property spriteNum
>
> property myCuePoint -- in seconds
>
> on exitFrame me
>   myMember = sprite(spriteNum).member
>   myScale = the digitalVideoTimeScale
>   myMovieTime = sprite(spriteNum).movieTime
>
>   if myMovieTime < (myCuePoint* myScale) then
>     go to the frame
>   end if
>
> end
>
> on getPropertyDescriptionList me
>   set p_list = [ \
>      #myCuePoint: [ #comment:   "Number of seconds to wait:", \
>                      #format:   #float, \
>                     #default:   1.0] \
>                ]
>   return p_list
> end
>
>
> on getBehaviorDescription
>   return "Simulates waiting for a Quick Time Cue Point"& RETURN &
> "Parameter: Number of seconds to wait"
> end
>
> [To remove yourself from this list, or to change to digest mode, go to

> http://www.penworks.com/lingo-l.cgi  To post messages to the list, 
> email [EMAIL PROTECTED]  (Problems, email 
> [EMAIL PROTECTED]). Lingo-L is for learning and helping with 
> programming Lingo.  Thanks!]
>

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]).
Lingo-L is for learning and helping with programming Lingo.  Thanks!]
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to