Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Sorry if I am stating the obvious, but you should be able to achieve this the same way as described here:</p> <p><a href="https://stackoverflow.com/questions/1859415/export-every-frame-as-image-from-a-movie-file-quicktime-api/1940361#1940361">Export every frame as image from a Movie-File (QuickTime-API)</a></p> <p>Or do you need to do this in a non-interactive way?</p> <p><strong>Edit</strong></p> <p>To export the audio media of a Movie file to WAVE non-interactively using a Movie Exporter, use the following code:</p> <pre><code>"include "QuickTimeComponents.h" ... // aquire Movie ... ComponentDescription desc; MovieExportComponent exporter; char filename[255]; FSSpec fsspec; int flags; // first we have to find a Movie Exporter capable of eporting the format we want desc.componentType = MovieExportType; desc.componentSubType = kQTFileTypeWave; // 'WAVE' desc.componentManufacturer = SoundMediaType; desc.componentFlags = 0; desc.componentFlagsMask = 0; // and create an instance of it exporter = OpenComponent( FindNextComponent( 0, &amp;desc ) ); // then set up a FSSpec for our output file sprintf( outfilename, "C:/test.wav" ); c2pstr( outfilename ); FSMakeFSSpec( 0, 0L, (ConstStr255Param)outfilename, &amp;fsspec ); // if you do error handling take care to ignore fnfErr being returned // by FSMakeFSSpec - we're about to create a new file after all // then finally initiate the conversion flags= createMovieFileDeleteCurFile | movieToFileOnlyExport; ConvertMovieToFile( movie, 0, &amp;fsspec, kQTFileTypeWave, 'TVOD', 0, 0, flags, exporter ); CloseComponent( exporter ); ... // Clean up ... </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload