• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Saving Audio File to original Format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Saving Audio File to original Format (From: "Nugen" <email@hidden>)

  • Prev by Date: Re: Time Problem with NSThread
  • Next by Date: MusicDeviceMIDIEvent and TimeStamps
  • Previous by thread: Saving Audio File to original Format
  • Next by thread: Re: Time Problem with NSThread
  • Index(es):
    • Date
    • Thread