Mailing Lists: Apple Mailing Lists

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

Re: Movie creation problem




On 29-mrt-07, at 21:06, Roozbeh Zabihollahi wrote:

I just start working with Quicktime SDK few days ago.
I am going to write an application to create MOV(s)
and hint them for streaming. I downloaded several
samples from apple website and build them in windows.
However, all of samples I downloaded, create zero size
movies.

I would leave out the handle data reference stuff. Your code adds data to a location in memory, not to the file.


Just create your media like this:

theMedia = NewTrackMedia (theTrack, VideoMediaType, 600, nil, nil);

This defaults to the file as data reference.

HTH,

Jan E.


_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden


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.