[MPlayer-users] alac file: invalid ALAC magic cookie

andrew andrew at andrews-corner.org
Thu Nov 3 01:27:35 CET 2011


Hi,

I notice that MPlayer cannot play files produced with Apple's newly
released alacconvert utility. The error message is as follows:

-------------------
andrew at skamandros~/Desktop$ mplayer -v luckynight_invalid_ALAC_magic_cookie.caf 
MPlayer SVN-r34284-4.5.2 (C) 2000-2011 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 10
CPU: Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz (Family: 6, Model: 15, Stepping: 2)
extended cpuid-level: 8
extended cache-info: 134242368
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV
get_path('codecs.conf') -> '/home/andrew/.mplayer/codecs.conf'
Reading optional codecs config file /home/andrew/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /etc/mplayer/codecs.conf: No such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/andrew/.mplayer/fonts'
Configuration: --prefix=/usr --mandir=/usr/man --confdir=/etc/mplayer --codecsdir=/usr/lib/codecs
CommandLine: '-v' 'luckynight_invalid_ALAC_magic_cookie.caf'
Using nanosleep() timing
get_path('input.conf') -> '/home/andrew/.mplayer/input.conf'
Reading optional input config file /home/andrew/.mplayer/input.conf: No such file or directory
Reading optional input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('luckynight_invalid_ALAC_magic_cookie.caf.conf') -> '/home/andrew/.mplayer/luckynight_invalid_ALAC_magic_cookie.caf.conf'

Playing luckynight_invalid_ALAC_magic_cookie.caf.
get_path('sub/') -> '/home/andrew/.mplayer/sub/'
[file] File size is 6691699 bytes
STREAM: [file] luckynight_invalid_ALAC_magic_cookie.caf
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: Apple Core Audio Format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename luckynight_invalid_ALAC_magic_cookie.caf ext: .caf
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 97
AVS: avs_check_file - attempting to open file luckynight_invalid_ALAC_magic_cookie.caf
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 67488, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=25441 size=65528
LMLM4 Stream Format not found
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG packet stats: p100: 1  p101: 0 p1B6: 0 p12x: 1 sli: 0 a: 0 b: 0 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 425, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 1 sli: 0 a: 0 b: 0 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 425, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)  
LAVF_check: Apple Core Audio Format
libavformat file format detected.
[caf @ 0x8a7dcc0]invalid ALAC magic cookie
LAVF_header: av_open_input_stream() failed
Checking for DV
demux_aac_probe, failed to detect an AAC stream

vo: x11 uninit called but X11 not initialized..

Exiting... (End of file)
------------

I was unable to transfer a file to the MPlayer ftp site so I have
placed my sample file here:

http://www.andrews-corner.org/tmp/luckynight_invalid_ALAC_magic_cookie.cafe

Thanks for looking at this issue,

Andrew

-- 
You think that's air you're breathing now?


More information about the MPlayer-users mailing list