Enhanced QT External

Stephen King st.king42 at ntlworld.com
Thu Mar 24 13:38:19 EST 2005


Hi Trevor,

Many thanks for the guidance.

I am working on it but noticed something odd happens as soon as a movie is 
loaded (also happens with the example Movie Editor). The Movie controller 
flickers continuously (though not playing) and processor usage rises to 
100%. Sometimes it recovers when focus moves to another window outside Rev, 
but it also seem to happen if I just add another control.
On saving, it seems to often (but not always!) run at 100% indefinitely.

I suspected this was a rev problem but I went back as far as Rev 2.2 with 
the same problem, so I'm now thinking its an 'XP' problem.

I have XP SP2. I have tried on two different PCs (different motherboards, 
different firewalls and even different versions of AntiVirus software) but 
they give the same effect.

Have you seen this before?

Cheers
Steve

> Message: 7
> Date: Wed, 23 Mar 2005 12:23:29 -0800
> From: Trevor DeVore <lists at mangomultimedia.com>
> Subject: Re: Enhanced QT External
> To: How to use Revolution <use-revolution at lists.runrev.com>
> Message-ID: <bbbe8e42112b201a4d3847d9b63a696a at mangomultimedia.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Mar 23, 2005, at 11:49 AM, Stephen King wrote:
>
>> Hi,
>>
>> Is it possible to extract an audio track from a QT movie, edit this in
>> an editor then paste back into the movie?
>>

> Hi Stephen,
>
> What you want to do is possible.  A couple of things:
>
> 1) qtCopyTrackToScrap puts the track you specify on the clipboard and
> you can then paste it another movie from within Revolution or using a
> program like QuickTime Player.  I haven't tested this with other apps
> however.
>
> 2) To insert the current movie/track on the clipboard into a player
> object in Revolution you can use qtAddMovieSegment which will insert
> the clipboard at the currentTime of the player object in Revolution.
>
> 3) There is no call to delete a track (I will add one though, didn't
> realize that was missing).  This means you will have to do a workaround
> to accomplish what you want using the external.
>
> If you just want to move a track forward 200ms then you could do the
> following:
>
> 1) Create two player objects.
>
> 2) Load your original movie into player object 1.  Call
> qtInitializeEditing.
>
> 3) Call qtNewMovie with the path where you could like to create your
> new movie.  Load this into player 2.  The currentTime should be 0.
>
> 4) For all tracks except the audio track in player object 1 you would
> call qtCopyTrackToScrap then add the track to player object 2 using
> qtAddMovieSegment (do not add scaled).
>
> 5) For the audio track use qtCopyTrackToScrap as well.  Then set the
> currentTime of player 2 to the time where you want the audio to begin.
> Now call qtAddMovieSegment and the audio will be placed at the new
> time.
>
> 6) Use qtSaveAs to save the file.
>
> 7) Go vote for bug 2254
> <http://support.runrev.com/bugdatabase/show_bug.cgi?id=2254> because
> you really don't want to have to call qtSaveAs after editing.  You want
> to be able to call qtSave :)
>
> Accomplishing this same thing will be much easier once I add a
> qtCutTrack/qtDeleteTrack call.  I will try to get this in before I (one
> day) release version 1.
>
>
> -- 
> Trevor DeVore
> Blue Mango Multimedia
> trevor at mangomultimedia.com



More information about the use-livecode mailing list