• 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
Exporting a QTMovie with settings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exporting a QTMovie with settings


  • Subject: Exporting a QTMovie with settings
  • From: Chad Armstrong <email@hidden>
  • Date: Thu, 11 Sep 2008 21:23:27 -0500

Hello:

I've been struggling with a problem for awhile.  I've asked this question over on the QuickTime list, but haven't found the answer I've been looking for.  Perhaps I'm looking in the wrong areas, or perhaps I need to rewrite some of my code and start making use of Core Audio (which I figure I'll need to start working towards, anyway).

Here's my problem:

I'm trying to export a QTMovie while preserving settings such as pitch, rate/speed, and volume.  So far my experiments have come down to being able to export the file, but the settings are not preserved, which is like modifying an image in Photoshop, saving the file, but the new file doesn't retain any of the changes made.

I have been researching QTMovieExportSettings thoroughly, and this seems to be on the right track, but it seems that all of my research keeps returning to many of the same sources, but nothing seems to be giving me the proper solution.  This leads me to believe that I am either still missing something, or I am going in the wrong direction all together.  Perhaps QTKit doesn't provide what I need fully?  Do I need to start looking into using Core Audio?  The playback of the file sounds correct, I just want to be able to save out what I hear to a new audio or movie file.

I am trying to save out the file (with its current settings) using QTMovie's writeToFile: withAttributes: method.

NSDictionary *attributes = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:YES], QTMovieExport,
[NSNumber numberWithLong:kQTFileTypeAIFF], QTMovieExportType,
[NSNumber numberWithLong:SoundMediaType], QTMovieExportManufacturer,
exportSettings, QTMovieExportSettings, nil];
[myFile writeToFile:[savePanel filename] withAttributes: attributes];

Any guidance on where I need to look so I can properly export my QTMovie (which may be an audio file, QuickTime movie, etc.) and save it out in another format with the effects applied to it?  I've been giving myself a headache trying to sort everything out, and QuickTime can quickly become a monster to wrestle against.

Regards,

Chad
 _______________________________________________
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

  • Follow-Ups:
    • Re: Exporting a QTMovie with settings
      • From: Brad Ford <email@hidden>
  • Prev by Date: Re: Examples for AudioFileStream and AudioConverter?
  • Next by Date: Re: Examples for AudioFileStream and AudioConverter?
  • Previous by thread: AU Instrument with side-chain support. How?
  • Next by thread: Re: Exporting a QTMovie with settings
  • Index(es):
    • Date
    • Thread