Exporting at MPEG4 error
Exporting at MPEG4 error
- Subject: Exporting at MPEG4 error
- From: david ralley <email@hidden>
- Date: Fri, 30 Jan 2004 15:27:37 -0800
I'm trying to export some audio as MPEG4 using the following call:
ConvertMovieToFile(savedMovie, // the movie to convert
0, // track in the movie
&inFileFSSpec, // the output file
kQTFileTypeMP4, // the output file type
FOUR_CHAR_CODE('TVOD'), // the output file creator
smSystemScript, // the script
NULL, // no resource ID to be returned
0L, // no flags
NULL); // no specific component
On the Mac side, this code works flawlessly, but under Windows, this
returns
an error -2009, Invalid Track.
Changing the export type to kQTFileTypeAIFF fixes the problem under
Windows,
so I don't think the data I'm passing is invalid. Is there a windows
only limitation on
export of MP4 files? If so, are these limitations documented somewhere?
david
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.