Re: Producing Redbook-compliant data
Re: Producing Redbook-compliant data
- Subject: Re: Producing Redbook-compliant data
- From: Fabio <email@hidden>
- Date: Fri, 2 May 2008 22:44:38 +0200
Hello Alex, thank you for your answer.
Try to open a movie file with QuickTimePlayer, and choose "Export"
in the File menu. In the popup menu, set the output format to
AIFF. Now click the Options button. The "Little endian" checkbox
is disabled.
I also modified the "QTExtractAndConvertToAIFF" sample code to
make it produce little endian data. The process returns a "frmt"
error (or maybe it was "fmt?").
Technically, AIFF only supports big-endian data so outputting to
WAV is a way to get little-endian data. I don't know offhand if
the DiscRecording API supports WAV as an input but I'd be surprised
if it didn't. I'd also be surprised if the DiscRecording API
didn't accept big-endian AIFF files but I have no experience with it.
To clarify my statement, 'AIFF' only supports big-endian PCM data.
'AIFC' supports lots of compression formats, including little-endian
PCM, which is considered a compression format by the old
SoundManager. Either way, exporting to WAV will probably fix your
issue as it appears the AudioFile exporter for AIFC does not support
little-endian PCM formats either.
Hello Stephen,
Thank you, that helps a lot.
I don't know offhand if the DiscRecording API supports WAV as an
input but I'd be surprised if it didn't.
It does support wav as input, but it won't accept a .mov file that is
not flattened (ie, a .mov file referencing another .mov file).
Either way, exporting to WAV will probably fix your issue
Apparently, it will. In fact WAV seems to be always little endian.
I've always assumed that aiff, aifc and wav were about the same thing.
I can see the difference now.
Thanks
Fabio
_______________________________________________
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