Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Saving in-memory movie



Hello,

I wonder if someone can help me out on this. It's easy...

I'm creating an in-memory movie adding effects and volume tween twacks to
tracks containing references to orginal media.
(See Scott Kuechle's mail of March 21 2000 for how to create an
"in-memory movie". Thanks Scott, and thanks to Brian for asking the question.)

It plays ok in my app.

If I save it to a new file, (CreateMovieFile followed by UpdateMovieResource)
and view/play it in QT Pro. The structure appears correct, i.e. the effects and
tweens are listed as video and tween tracks respectively and the effects are
correctly listed in the move info track), but ... tweens cause QT Player to
crash, transitions do not show up, and filters cause content not to display.

I presume the effects and tween are not being copied completely from the
in-memory movie. I presume they are being copied by reference from the
in-memory movie which is consistent with the way it works when an external
movie file is used instead of the in-memory movie.

Should QT be smart enough to do a value copy in this case and what's the way
around it?

The simplest thing (for me, albeit with some minor design grottiness) seems to
just build my movie into the destination file in the first place and then
UpdateMovieResource.

But I wondering what the correct method is:

I assume FlattenMove would get around this, but I don't want to copy the
original media.

I presume I could iterate through my in-memory movie making a copy of it being
sure to value copy any tracks that reference media only existing in the
in-memory movie, but that seems like too much effort to be right.

This is on Windows, QT6, BTW, and the file is a data fork only one if its
matters.

Thanks,

Andrew
_______________________________________________
quicktime-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-api
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.