| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Hi all, I have a routine in my program that builds a Chapter Track for the movie that is currently being edited. I am given an array of Chapter values (title string and timevalue). I loop thru this array, for each chapter I create a text media sample and add it to a Text Track using TextMediaAddTextSample(). This works fine when my first Chapter is located at the beginning of the movie... However, my issues occur when the first Chapter in the array is not at time 0:00:00.00. The resulting Chapter Track is "off" by the amount of time between the beginning of the movie and when the first chapter is supposed to appear. For example, if I have two chapters: Title 1 at 10 seconds and Title 2 at 25 seconds, the QuickTime Player shows Title 1 at 0 seconds and Title 2 at 15 seconds. If I have read the documentation correctly, TextMediaAddTextSample() seems to have no way of forcing a text sample to be placed at a certain time. I have tried InsertEmptyTrackSegment() and setTrackOffset() to move the media samples "over" by the appropriate amount, but my results have not been success. My Question is "How do I add my first text sample at a specific, non-zero time location in the Text Track?" Thanks in advance. regards, douglas |
_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-users/email@hidden This email sent to email@hidden
| References: | |
| >qcelp media type (From: Chen Fishbein <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.