Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: FlattenMovie problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FlattenMovie problem



Thanks for your response.

> do you want them kept a separate movies

At the beginning, that was the idea. My document file should contain the
different movies (maybe in different resources).
I want to have several complete movies into a single file then open the
document and do (pseudo-code) :

Read movie #1
Play movie #1
Release movie #1
do something else
Read movie #2
...
Read movie #n
...

> or merged into a single movie?

I haven't thought to this possibility... but why not ? I could have a
big movie with all the films merged inside and store the offsets into my
document.
Read my big movie.
Read part #1
do something
Read part #2
...
#n

But is it then possible to have different bounds rect ? And is it
possible to read a movie partly ? (It would be memory consuming to have
to kept all the movies in memory at the same time even if I don't need
to play the movies simultaneously)

> If the former, that's going to be tricky if you want to make the
> whole thing self-contained though one approach would be to flatten
> each movie into a self contained data fork only movie and then
> concatenate each chunk into the final file along with a header that
> would contain the offset to each movie within the file.

That's what I wanted to do. The problem is that I don't know what
function I have to use.
FlattenMovie refuses the do his job (that is resolve the extern
references of the movie and create a movie resource into my file).
I would like to avoid creating a tempory file, read it in memory, delete
the tempory file, create a resource in my document file with the data
stored in memory, because this would be memory consuming (this is a
problem if I want to handle big movie files)

> If the latter, here's a little snippet from a program I wrote that
> lets you drag a set of movies and then merges them into a single
> movie.

Thanks. I'll take a look.

--
Julien Salort
http://julien.salort.free.fr/


References: 
 >Re: FlattenMovie problem (From: Craig Vaughan <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.