Re: Saving Audio File to original Format
Re: Saving Audio File to original Format
- Subject: Re: Saving Audio File to original Format
- From: john <email@hidden>
- Date: Mon, 2 Jan 2006 17:06:21 -0500
Hi Emilie,
You need to get the export component and pass it as the last parameter to the call to ConvertMovieToFile(). You can get the export component using the function OpenDefaultComponent() and pass in the appropriate type, such as kQTFileTypeAIFC.
However, I'm pretty sure you can't export to MP3 with QuickTime. Search in the QuickTimeComponents.h file for the various export types.
-- John Hi everybody again... I tried to save a movie to mp3 file using ConvertMovieToFile, but it doesn't work: I use this code to convert to the file format: long myFlags = createMovieFileDeleteCurFile | movieFileSpecValid | movieToFileOnlyExport; err = ConvertMovieToFile(movie_, NULL, &fsspec, 0L, FOUR_CHAR_CODE('TVOD'), smSystemScript, NULL,myFlags, NULL); Something is save but not to mp3 format. Any suggestions? Thanks in advance Emilie |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden