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: Inefficient file I/O




On 23-feb-06, at 21:05, Steve Li wrote:

I am trying to use QuickTime for Windows SDK to write uncompressed video to a QuickTime movie. I have the video compressor set to "None". The video frame size is 720x480. By looking at the performance counter, I notice QuickTime is writing 64k bytes of data in each I/O operation. And the number of writes/sec is over 300. I am wondering is there a way to optimize the performance? Maybe a custom data handler? But I am not sure where to start.

In your DataHWrite64 function you could try to combine several write request into one write.
You would still have to get QuickTime to use your data handler instead of the standard one.
A simpler way is to write the movie samples to the disk yourself and construct the movie from the data file using AddMediaSampleReferences.
If you want a single file it gets a little harder.


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.