Mailing Lists: Apple Mailing Lists

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

ConvertMovieSndTrack example questions



I have been working with the ConvertMovieSndTrack example so that I can process MPEG4 audio, however, being new to several of these APIs I haven't been very successful in being able to limit the output of this conversion to specific durations.

The code will go off and get the duration of the source media and then convert the entire thing a media sample at a time. After adding some code to specify a shorter duration I have found that it kinda works but generally still produces a second or two more sound that was requested. I'm guessing that it is the job of the SoundConverterFillBufferDataProc to limit appropriately but I'm not certain. If SoundCoverterFillBuffer supposed to handle any of this?

Thanks,
Chris.

--
----------------------------------------------------------------------
Chris Large - Totally Hip Software Inc. (www.totallyhip.com)

"The illiterate of the 21st century will not be those who cannot
read and write, but those who cannot learn, unlearn, and relearn."

Alvin Toffler
----------------------------------------------------------------------
_______________________________________________
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.