Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVMovieMBS class.
AVMovieMBS.AVMovieWritingTruncateDestinationToMovieHeaderOnly = 1
Type | Topic | Plugin | Version |
const | AVMovie | MBS AVFoundation Plugin | 16.0 |
If set, writing the movie header will truncate all existing data in the destination file and write a new movie header, thereby creating a pure reference movie file.
A file type box will be written at the beginning of the file. If not set, writing the movie header will remove any existing movie header in the destination file and write a new movie header, preserving any other data in the file. If the destination file was empty, a file type box will be written at the beginning of the file.
You would not want to use the AVMovieWritingTruncateDestinationToMovieHeaderOnly option if you had written sample data to the destination file using (for example) insertTimeRange with copySampleData set to true, since that data would be lost.
The items on this page are in the following plugins: MBS AVFoundation Plugin.