I think you are mixing up the length of the audio track with length
of the video track. Suppose that an audio track has a length of 10
sec. and a videotrack in the same movie has a length of zero. You
are going to run into problems if you say "insert video at the 2.5
sec. mark", basing this value on how long the audio track is. There
must be data in the video track for you to insert. Have you tried
append instead? Try appending your image to the video track first,
and then scale that newly appended video to the length you desire.
Repeat for the remaining images.
Erick
On Jul 31, 2007, at 2:03 AM, Jeff Ayling wrote:
> Thanks Greg - yeah I see what you mean.
>
> This section which adds the video does use srctrack.Duration which is
> the duration of the audio file
>
>
>>> desttrackv.InsertVideoTrackSegment srctrackv,
>>> 0.0,_
>>> srctrack.Duration, Max(0,m.Duration-2), true,
>>> false
>
> ...any thoughts of where I should be using the scalemoviesegment here
> to get the pic to stretch for the duration of the audio file?
>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|