Re: afconvert producing 4K stubs in Leopard, but converting properly in Tiger...Need a hand!
Re: afconvert producing 4K stubs in Leopard, but converting properly in Tiger...Need a hand!
- Subject: Re: afconvert producing 4K stubs in Leopard, but converting properly in Tiger...Need a hand!
- From: Robert Martin <email@hidden>
- Date: Thu, 24 Jul 2008 15:43:18 -0400
Thanks Bill,
I just tried this in the terminal on 10.5.3, (using usr/bin/afconvert
with the -f 'm4af' -d 'alac' <src> <dest> args), and I still get an
empty stub file.
If I try on Tiger, it works... The file seems to be a standard 16-bit
Big-Endian Stereo 44,100 AIFF.
What is weird is that SOME files work fine. Is there anything in 'what
appears to be a normal stereo AIF' that could trigger this? I don't
really know what to look for. I could send you the file if you want...
Rob
On Jul 24, 2008, at 3:21 PM, William Stewart wrote:
If you use the afconvert that is installed on the system (/usr/bin/
afconvert) in Leopard, does that also fail in this way? In our
testing, etc, the afconvert in Leopard is writing M4A files with
Apple Lossless fine. So, maybe the best fix for this is to check to
see if afconvert is available on the system, and if so, use that and
thus only use the code that you have built in to your app when that
is false (which would be Tiger or previous systems)
Bill
On Jul 24, 2008, at 10:54 AM, Robert Martin wrote:
Has anything changed in afconvert between Tiger and Leopard to
cause the following?
My 10.4 app converts AIFF/WAV files to Apple Lossless using the
afconvert tool linked into my Cocoa app. I use the command:
afconvert -f 'm4af' -d 'alac' <src> <dest>. This works perfectly
in Tiger, but my client has just switched to a 10.5 server and
reports that some (not all) files now produce 4k stubs instead of
proper .m4a files, and in testing it out I find the same.
I've recompiled everything (afconvert + my app) using the 10.5 SDK
to no effect. I get no error messages at all when it runs, but the
file that afconvert writes is essentially 'empty'.
Can anyone point me in the right direction, or suggest some
documentation to help me figure this out?
_______________________________________________
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