• 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
Re: Segmentation Fault when converting 24bit aif to alac with afconvert
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segmentation Fault when converting 24bit aif to alac with afconvert


  • Subject: Re: Segmentation Fault when converting 24bit aif to alac with afconvert
  • From: William Stewart <email@hidden>
  • Date: Fri, 6 Feb 2009 17:33:46 -0800

Hi Robert

I'm not able to reproduce this on an Intel iMac with 10.5.6:

% afconvert -d alac 24.aif 24_alac.m4a -v
Input file: 24.aif, 1323367 frames
Formats:
Input file 2 ch, 44100 Hz, 'lpcm' (0x0000000E) 24-bit big- endian signed integer
Output file 2 ch, 44100 Hz, 'alac' (0x00000003) from 24-bit source, 4096 frames/packet
Stereo
Output client 2 ch, 44100 Hz, 'lpcm' (0x0000000E) 24-bit big- endian signed integer
AudioConverter 0x814c34 [0x120d60]:
PCMConverter 0x121650
Input: 2 ch, 44100 Hz, 'lpcm' (0x0000000E) 24-bit big-endian signed integer
Output: 2 ch, 44100 Hz, 'lpcm' (0x0000000C) 24-bit little- endian signed integer
CodecConverter 0x1217a0
Input: 2 ch, 44100 Hz, 'lpcm' (0x0000000C) 24-bit little- endian signed integer, packed in 2 bytes low-aligned
Output: 2 ch, 44100 Hz, 'alac' (0x00000003) from 24-bit source, 4096 frames/packet
Input layout tag: 650002
Output layout tag: 650002
Output file: 24_alac.m4a, 1970176 frames


% afinfo 24_alac.m4a
File: 24_alac.m4a
File type ID: m4af
Data format: 2 ch, 44100 Hz, 'alac' (0x00000003) from 24-bit source, 4096 frames/packet
Channel layout: Stereo (L R)
estimated duration: 44.675 sec
audio bytes: 8354873
audio packets: 481
audio 1970176 valid frames + 0 priming + 0 remainder = 1970176
bit rate: 1496109 bits per second
packet size upper bound: 24580
audio data file offset: 16384
optimized
----


I also converted to a .caf file with no problems.

Can you file a bug and attach the source file, the full crash log and your system config?

You could also try this with another source file just to make sure its not something particular about that 24bit aif file

Thanks

Bill

On Feb 6, 2009, at 3:14 AM, Robert Martin wrote:

I'm sure I'm missing something simple, but I can't seem to convert 24bit AIF files to 'alac' using afconvert (the installed version of the tool on 10.5.6).
If I convert the file to 16bit, I have no problems.
I'm using the command: afconvert -d alac <path> <newPath>
I keep getting 'Segmentation Fault' errors, is there anything I am doing wrong?


Thanks, Rob
-------------------
Here's the afinfo on the file:

File type ID: AIFF
Data format: 2 ch, 44100 Hz, 'lpcm' (0x0000000E) 24-bit big- endian signed integer
no channel layout.
estimated duration: 739.169 sec
audio bytes: 195584106
audio packets: 32597351
bit rate: 2116800 bits per second
packet size upper bound: 6
audio data file offset: 106
not optimized
0 markers; SMPTE time type 0
_______________________________________________
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


References: 
 >Segmentation Fault when converting 24bit aif to alac with afconvert (From: Robert Martin <email@hidden>)

  • Prev by Date: Re: 5.1 Surround-to-stereo AU (Brian
  • Next by Date: ExtAudioFile format conversion (iPhone OS)
  • Previous by thread: Segmentation Fault when converting 24bit aif to alac with afconvert
  • Next by thread: Re: 5.1 Surround-to-stereo AU (Brian
  • Index(es):
    • Date
    • Thread