Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: 44kHz 16-bit WAV to Quicktime



You want to use import & export components for your job, not conversion
components.  Check out the "qtdataexchange" sample in the Importers and
Exporters directory of the QT sample code.  QTDataEx.exe is a windowed app
that does what you want, plus more. For your console app, just haul out the
pieces you want from QTDataEx.c.  In there you'll find lots of very useful
routines, including routines to get & save exporter settings into files,
very cool for no-user-intervention console apps.

Ken

-----Original Message-----
From: email@hidden
[mailto:email@hidden]On Behalf Of Mark Lewis
Sent: Monday, December 08, 2003 10:22 AM
To: 'email@hidden'
Subject: 44kHz 16-bit WAV to Quicktime


Hi

I am new to Quicktime coding and struggling with something that I imagine
should be relatively easy. I am attempting to write a Win32 console
application to transcode 44kHz 16-bit sampled WAV files to a Quicktime
format (been using mov till now), and ideally set some kind of compression
rates along the way.

I can compress WAV files (by changing the sampleRate and sampleSize of a
conversion component), I can also easily convert wavs to movs, but to do the
'two-step' compression and conversion (or conversion then compression)
process seems impossible, I always end up with a transcoded, but now
uncompressed, file! What am I doing wrong? I even tried deleting the
original file half-way, to ensure there weren't data references in the
temporary middle compressed(or transcoded) file to the original file, but
that didn't help (or even throw an error as I'd expected), it seems that
there is some header info related to the original files size that
compressing or transcoding a file doesn't change?

Thanks

Mark


Information transmitted in this message is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. If you are not the addressee you may not copy or
deliver this message to anyone and you should destroy this message and
kindly notify the sender by reply email. Opinions and other information in
this message that do not relate to the official business of the company
shall be understood as neither given nor endorsed by it. We do not accept
liability for any viruses that may be transmitted in or with this message or
attachments.

Unless specifically stated otherwise in this e-mail, this e-mail and the
information contained in it or attached to it shall not create any binding
contractual relationship between the recipient or any other party and
Interoute.

Further information about the group is available from our website at
www.interoute.com.
_______________________________________________
quicktime-talk mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/quicktime-talk
Do not post admin requests to the list. They will be ignored.
_______________________________________________
quicktime-talk mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-talk
Do not post admin requests to the list. They will be ignored.

References: 
 >44kHz 16-bit WAV to Quicktime (From: Mark Lewis <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.