On Wednesday, August 25, 2004, at 12:32 pm, Ian Mann wrote:
Hi,
I am trying to append chunks of one editable movie to another. Either
by :
EditMovie.AppendMovieSegment
App.DragWindow.EditMovie,StartPos,Dur,True
EditTrack.AppendSoundTrackSegment App.DragWindow.EditTrack,
StartPos,Dur,false,True
or
App.DragWindow.EditMovie.SelStart = StartPos
App.DragWindow.EditMovie.Sellength = Dur
App.DragWindow.EditMovie.Copy
EditMovie.Selstart = EditMovie.Duration-.1
EditMovie.Paste
if EditMovie.CommitChanges Then....
App.dragwindow is a reference to the source movie/window.
both work in that EditMovie plays the new data. Commitchanges works
the first time I do this but returns false from then on. In other
words when I reopen editmovie I only have the first appended chunk.
Leaving out CommitChanges and Relying on SaveOnClose doesn't seem to
work either.
I am working with Sound media only, the movies have no visible
content. All chunks are (currently) coming from the same file with
the same samplerate etc.
It would probably help if I asked a question rather than telling a
story..
What are the things to look for that may make CommitChanges return
False ?
Best Regards
Ian
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|