Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / August 2007



Tip: Looking for answers? Try searching our database.

Writing a not-self-contained QuickTime movie to disk

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mg - 09 Aug 2007 14:39 GMT
I am trying to write out a QT movie to disk. Some track of the
original movie exit in separate files. I would like to preserve this
not-self-contained structure in the movie that I am writing out. Does
anyone know how to accomplish this?

(I already tried making a single call to FlattenMovieDataToDataRef,
but  it flattened everying to one file.)
Jan E. Schotsman - 11 Aug 2007 13:42 GMT
> I am trying to write out a QT movie to disk. Some track of the
> original movie exit in separate files. I would like to preserve this
[quoted text clipped - 3 lines]
> (I already tried making a single call to FlattenMovieDataToDataRef,
> but  it flattened everying to one file.)

You can use UpdateMovieResource to just write the movie's metadata.
If you want to save only one track to a new file and reference others I
would use the "only this track" feature, open the new file, copy the
other tracks by reference and call UpdateMovieResource on the new movie.

Jan E.
mg - 16 Aug 2007 19:30 GMT
On Aug 11, 8:42 am, Jan E. Schotsman <jeschotD...@SPAMMExs4all.nl>
wrote:

> > I am trying to write out a QT movie to disk. Some track of the
> > original movie exit in separate files. I would like to preserve this
[quoted text clipped - 10 lines]
>
> Jan E.

Jan, thanks for the reply. When you mentioned the "only this track"
feature, which API call were you referring to?
Jan E. Schotsman - 23 Aug 2007 21:06 GMT
>> You can use UpdateMovieResource to just write the movie's metadata.
>> If you want to save only one track to a new file and reference others I
[quoted text clipped - 5 lines]
> Jan, thanks for the reply. When you mentioned the "only this track"
> feature, which API call were you referring to?

Excuse me for the late reaction.
For example MovieExportToDataRef or ConvertMovieToFile.
If you want to avoid recompression just delete all tracks except the
one you want to flatten and use FlattenMovieDataToDataRef.

Jan E.
mg - 30 Aug 2007 19:57 GMT
On Aug 23, 4:06 pm, Jan E. Schotsman <jeschotD...@SPAMMExs4all.nl>
wrote:

> >> You can use UpdateMovieResource to just write the movie's metadata.
> >> If you want to save only one track to a new file and reference others I
[quoted text clipped - 12 lines]
>
> Jan E.

Thanks for the reply!

I tried exporting tracks with both MovieExportToDataRef and
ConvertMovieToDataRef, but had similar problems with both.

The external media that I am working with is of the following types:
(video) mpeg2, dv; (audio) wave, aiff.

The export of mpeg2 video did not work at all, because I could not
instantiate an mpeg2 movie export component. Purchasing and installing
QuickTime mpeg2 Playback extension from Apple did not help.

The export of other media types did create files, but the files were
not readable by media playback applications (QuickTime, Media Player,
etc.) It seems that headers were missing from the files.

Have you experienced similar problems? Do you have any suggestions?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.