[MPlayer-dev-eng] Fwd: [MPlayer-users] Animatrix AAC fix [dimakar at yahoo.com]

Roberto Togni r_togni at libero.it
Tue Mar 11 22:29:34 CET 2003


Don't know enough about mov to tell if it's really an hack or the 
correct fix, but it works.
Can anybody comment on this, or test it with others AAC files?

mplayer -v log attached (with this patch + the animatrix "fix" posted 
by A'rpi), there is one message from FAAD complaining about missing 
input bitrate.

Ciao,
  Roberto
-------------- next part --------------
An embedded message was scrubbed...
From: Dima K <dimakar at yahoo.com>
Subject: [MPlayer-users] Animatrix AAC fix
Date: Tue, 11 Mar 2003 12:38:36 -0800 (PST)
Size: 5851
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030311/e80266bc/attachment.eml>
-------------- next part --------------
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer dev-CVS-030307-22:08-2.95.4 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel  (Family: 8, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/r/.mplayer/config
Reading /home/r/.mplayer/codecs.conf: can't open '/home/r/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
CommandLine: '-v' 'program640_dl.mov'
get_path('font/font.desc') -> '/home/r/.mplayer/font/font.desc'
font: can't open file: /home/r/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/r/.mplayer/input.conf'
Can't open input config file /home/r/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
get_path('program640_dl.mov.conf') -> '/home/r/.mplayer/program640_dl.mov.conf'

Playing program640_dl.mov
Not an URL!
File size is 164731126 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8418378  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8418378  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8418378  
Checking for REAL
DEMUXER: freeing demuxer at 0x8418378  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8418378  
Searching demuxer type for filename program640_dl.mov ext: .mov
Trying demuxer 7 based on filename extension
Checking for MOV
MOV: Movie header found!
MOV: 'WIDE' chunk found!
MOV: Movie DATA found!
QuickTime/MOV file format detected.
MOV: Movie header (100 bytes): tscale=600  dur=261247
--------------
MOV: Track #0:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=261247 lay=0 vol=0
MOV: unknown chunk: load 16
MOV:  Edit atom!
MOV:   Edit list table (2 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 261207  start time: 0  speed: 1.0x
MOV:     entry#1: duration: 40  start time: 261215  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/vide (appl) Apple Video Media Handler
MOV:   Media info!
MOV:    Video header!
MOV:    Handler header: dhlr/alis (appl) Apple Alias Data Handler
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:2)
MOV:      desc #0: jpeg  (86 bytes)
MOV:      desc #1: SVQ3  (95 bytes)
MOV: WARNING: Variable FOURCC detected!?
MOV:     Sample duration table! (3 blocks)
MOV:     Syncing samples (keyframes) table! (380 entries) (ver:0,flags:0)
MOV:     Sample->Chunk mapping table!  (1742 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=10449 ss=0) (ver:0,flags:0)
MOV:     Chunk offset table! (1745 chunks)
MOV track #0: 1745 chunks, 10449 samples
pts=261255  scale=600  time=435.425
EL#0: pts=0  1st_sample=0  frames=10448 (435.345s)  pts_offs=0
EL#1: pts=261215  1st_sample=10448  frames=1 (0.067s)  pts_offs=-8
==> Found video stream: 0
MOV: Found unknown movie atom SMI  (21)!
Image size: 640 x 272 (24 bpp)
Display size: 640 x 272
Fourcc: SVQ3  Codec: 'Sorenson Video 3'
--------------
MOV: Track #1:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=2 dur=261207 lay=0 vol=256
MOV:  Edit atom!
MOV:   Edit list table (4 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 40  start time: -1  speed: 1.0x
MOV:     entry#1: duration: 6589  start time: 0  speed: 1.0x
MOV:     entry#2: duration: 11  start time: -1  speed: 1.0x
MOV:     entry#3: duration: 254567  start time: 484352  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/soun (appl) Apple Sound Media Handler
MOV:   Media info!
MOV:    Sound header!
MOV:    Handler header: dhlr/alis (appl) Apple Alias Data Handler
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: mp4a  (139 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (2127 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=18746 ss=0) (ver:0,flags:0)
MOV:     Chunk offset table! (2127 chunks)
MOV track #1: 2127 chunks, 18746 samples
pts=19195904  scale=44100  time=435.281
EL#1: pts=0  1st_sample=0  frames=473 (10.982s)  pts_offs=0
EL#3: pts=484352  1st_sample=473  frames=18273 (424.278s)  pts_offs=-61
==> Found audio stream: 1
Audio bits: 16  chans: 2  rate: 44100
Audio header: samp/pack=1024 bytes/pack=1536 bytes/frame=2 bytes/samp=2  
Audio extra header: len=103  fcc=0x77617665
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (51)!
ESDS MPEG4 version: 0  flags: 0x000000
ESDS MPEG4 ES Descriptor (34Bytes):
 -> ESId: 0
 -> streamPriority: 0
ESDS MPEG4 Decoder Config Descriptor (20Bytes):
 -> objectTypeId: 64
 -> streamType: 0x15
 -> bufferSizeDB: 0x001800
 -> maxBitrate: 128.000kbit/s
 -> avgBitrate: 192.000kbit/s
ESDS MPEG4 Decoder Specific Descriptor (2Bytes)
ESDS MPEG4 Sync Layer Config Descriptor (1Bytes)
 -> predefined: 2
Fourcc: mp4a
--------------
Quicktime Clip Info:
 Name: The Animatrix: Program
 Author: www.thematrix.com
 Copyright: 2003 Warner Bros. All rights reserved.
MOV: longest streams: A: #1 (18746 samples)  V: #0 (10449 samples)
[V] filefmt:7  fourcc:0x33515653  size:640x272  fps:15.00  ftime:=0.0667
Clip info:
 name: The Animatrix: Program
 author: www.thematrix.com
 copyright: 2003 Warner Bros. All rights reserved.
get_path('sub/') -> '/home/r/.mplayer/sub/'
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
dec_audio: Allocating 4608 bytes for input buffer
dec_audio: Allocating 12288 + 65536 = 77824 bytes for output buffer
FAAD: Decoder init done (0Bytes)!
FAAD: Negotiated samplerate: 44100Hz  channels: 2
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [faad] afm:faad (AAC MPEG2/MPEG4 Audio)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [qtvideo] Quicktime Video decoder
get_path('registry') -> '/home/r/.mplayer/registry'
External func COMCTL32.dll:17
External func COMCTL32.dll:16
QuickTime5 DLLs found
QuickTime.qts patched!!! old entry=0x62924c30
theQuickTimeDispatcher catched -> 0x62924c30
Win32 Warning: Accessed uninitialized Critical Section (0x62b7fcd0)!
WARNING! Invalid Ptr handle!
Win32 Warning: Accessed uninitialized Critical Section (0x62b7fcb8)!

### Searching for QuickTime plugins (*.qtx) at /usr/local/lib/win32...
### FindNext: QuickTimeEssentials.qtx
### FindNext: QuickTimeInternetExtras.qtx
### FindNext: Indeo4.qtx
### FindNext: QuickTimeMPEG.qtx
### FindNext: QuickTimeStreaming.qtx
### FindNext: QuickTimeStreamingExtras.qtx
### FindNext: QuickTimeVR.qtx
### FindNext: QuickTimeWebHelper.qtx
theQuickTimeDispatcher catched -> 0x62924c30
theQuickTimeDispatcher catched -> 0x62924c30
External func WSOCK32.dll:111
External func WSOCK32.dll:108
External func WSOCK32.dll:115
External func WSOCK32.dll:19
External func WSOCK32.dll:16
External func WSOCK32.dll:18
External func WSOCK32.dll:151
External func WSOCK32.dll:20
External func WSOCK32.dll:17
External func WSOCK32.dll:8
External func WSOCK32.dll:9
External func WSOCK32.dll:6
External func WSOCK32.dll:15
External func WSOCK32.dll:57
External func WSOCK32.dll:22
External func WSOCK32.dll:3
External func WSOCK32.dll:12
External func WSOCK32.dll:4
External func WSOCK32.dll:7
External func WSOCK32.dll:21
External func WSOCK32.dll:101
External func WSOCK32.dll:23
External func WSOCK32.dll:2
External func WSOCK32.dll:52
External func WSOCK32.dll:14
External func WSOCK32.dll:102
External func WSOCK32.dll:116
External func WSOCK32.dll:103
External func WSOCK32.dll:10
theQuickTimeDispatcher catched -> 0x62924c30
theQuickTimeDispatcher catched -> 0x62924c30
theQuickTimeDispatcher catched -> 0x62924c30
InitializeQTML returned 0
Count = 1
Found it! ID = 0x100FC
ci=0x840000
ImageCodecInitialize->(nil)  size=0 (16)
Flags: compr: 0x800420  decomp: 0x400 format: 0x2060
Codec name: Sorenson Video 3
ImageDescription size: 111
 6F 00 00 00 33 51 56 53 6D 69 6E 66 6F 00 2F 75
 03 00 80 13 20 49 4D 53 FF 03 00 00 00 02 00 00
 80 02 10 01 00 00 48 00 00 00 48 00 00 00 00 00
 01 00 10 53 6F 72 65 6E 73 6F 6E 20 56 69 64 65
 6F 20 33 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 18 00 FF FF 00 00 00 15 53 4D 49 20 53 45
 51 48 00 00 00 05 E5 00 22 19 C0 00 00 00 00
=============== ImageDescription at 0x855c230 ==================
idSize=0x6F  fourcc=0x53565133
ver=3 rev=4992 vendor=0x534D4920
tempQ=1023 spatQ=512  dim: 640 x 272  dpi: 4718592 x 4718592  depth: 24
dataSize=0 frameCount=1 clutID=-1
name='Sorenson Video 3'
00 00 00 15 | 53 4D 49 20 | 53 45 51 48 | 00 00 00 05
=========================================================
imgfmt: Packed YUY2 qt_imgfmt: svuy
VDec: vo config request - 640 x 272 (preferred csp: Packed YUY2)
Trying filter chain: vo
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x272->640x272,flags=0,'MPlayer',0x32595559)
VO: [xv] 640x272 => 640x272 Packed YUY2 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 69 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 272
Selected video codec: [qtsvq3] vfm:qtvideo (win32/quicktime SVQ3 decoder)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:   4/4  (16384 bytes/frag)  free:  65536
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
*** [vo] Allocating mp_image_t, 640x272x16bpp YUV packed, 348160 bytes
NewGWorldFromPtr returned:65536
ImageCodecPreDecompress cres=0x0
supported csp: 0x79757675 uvuy
supported csp: 0x79757673 svuy
ImageCodecBandDecompress cres=0xFFFFFFCE (-0x32) -50
[xv] dx: 0 dy: 0 dw: 640 dh: 272
A:   0.0 V:   0.0 A-V:  0.041 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
A:   0.0 V:   0.1 A-V: -0.019 ct: -0.002    2/  2   0%  0%  0.0% 0 0 0%
A:   0.1 V:   0.1 A-V:  0.000 ct: -0.002    3/  3   0%  0%  0.0% 0 0 0%
A:   0.1 V:   0.2 A-V: -0.001 ct: -0.002    4/  4   0%  0%  0.0% 0 0 0%
A:   0.2 V:   0.2 A-V: -0.004 ct: -0.002    5/  5   0%  0%  0.0% 0 0 0%
A:   0.2 V:   0.2 A-V: -0.006 ct: -0.003    6/  6   0%  0%  0.0% 0 0 0%
A:   0.3 V:   0.3 A-V:  0.004 ct: -0.003    7/  7   0%  0%  0.0% 0 0 0%
A:   0.3 V:   0.3 A-V:  0.003 ct: -0.002    8/  8   0%  0%  0.0% 0 0 0%
A:   0.4 V:   0.4 A-V: -0.000 ct: -0.002    9/  9   0%  0%  0.0% 0 0 0%
A:   0.4 V:   0.4 A-V: -0.002 ct: -0.002   10/ 10   0%  0%  0.0% 0 0 0%
A:   0.4 V:   0.4 A-V: -0.003 ct: -0.003   11/ 11   0%  0%  0.0% 0 0 0%
A:   0.5 V:   0.5 A-V: -0.005 ct: -0.003   12/ 12   0%  0%  0.0% 0 0 0%
A:   0.5 V:   0.5 A-V:  0.004 ct: -0.003   13/ 13   0%  0%  0.0% 0 0 0%
A:   0.6 V:   0.6 A-V:  0.001 ct: -0.003   14/ 14   6%  7%  2.1% 0 0 0%
A:   0.6 V:   0.6 A-V: -0.000 ct: -0.003   15/ 15   6%  7%  2.0% 0 0 0%
A:   0.6 V:   0.6 A-V: -0.002 ct: -0.003   16/ 16   6%  7%  2.0% 0 0 0%
A:   0.7 V:   0.7 A-V: -0.004 ct: -0.003   17/ 17   6%  7%  1.9% 0 0 0%
A:   0.7 V:   0.7 A-V:  0.002 ct: -0.003   18/ 18   6%  7%  2.0% 0 0 0%
A:   0.8 V:   0.8 A-V:  0.000 ct: -0.003   19/ 19   6%  7%  1.8% 0 0 0%
A:   0.8 V:   0.8 A-V: -0.001 ct: -0.003   20/ 20   6%  7%  1.7% 0 0 0%
A:   0.9 V:   0.9 A-V: -0.004 ct: -0.004   21/ 21   6%  7%  1.8% 0 0 0%
A:   0.9 V:   0.9 A-V: -0.006 ct: -0.004   22/ 22   6%  7%  1.7% 0 0 0%
A:   0.9 V:   0.9 A-V: -0.002 ct: -0.004   23/ 23   6%  7%  1.8% 0 0 0%
A:   1.0 V:   1.0 A-V:  0.007 ct: -0.004   24/ 24   6%  7%  1.7% 0 0 0%
A:   1.0 V:   1.0 A-V:  0.007 ct: -0.003   25/ 25   6%  7%  1.7% 0 0 0%
A:   1.1 V:   1.1 A-V:  0.000 ct: -0.003   26/ 26   6%  7%  1.7% 0 0 0%
A:   1.1 V:   1.1 A-V: -0.000 ct: -0.003   27/ 27   7%  7%  1.7% 0 0 0%
A:   1.1 V:   1.1 A-V: -0.002 ct: -0.003   28/ 28   7%  7%  1.7% 0 0 0%
A:   1.2 V:   1.2 A-V: -0.004 ct: -0.004   29/ 29   7%  7%  1.6% 0 0 0%
A:   1.2 V:   1.2 A-V: -0.002 ct: -0.004   30/ 30   7%  7%  1.6% 0 0 0%
A:   1.3 V:   1.3 A-V:  0.004 ct: -0.003   31/ 31   7%  7%  1.6% 0 0 0%
A:   1.3 V:   1.3 A-V:  0.001 ct: -0.003   32/ 32   7%  7%  1.6% 0 0 0%
A:   1.4 V:   1.4 A-V: -0.001 ct: -0.004   33/ 33   7%  7%  1.6% 0 0 0%
A:   1.4 V:   1.4 A-V: -0.002 ct: -0.004   34/ 34   7%  7%  1.6% 0 0 0%
A:   1.4 V:   1.4 A-V: -0.004 ct: -0.004   35/ 35   7%  7%  1.6% 0 0 0%
A:   1.5 V:   1.5 A-V:  0.003 ct: -0.004   36/ 36   8%  7%  1.6% 0 0 0%
A:   1.5 V:   1.5 A-V:  0.001 ct: -0.004   37/ 37   8%  7%  1.6% 0 0 0%
A:   1.6 V:   1.6 A-V:  0.000 ct: -0.004   38/ 38   8%  7%  1.6% 0 0 0%
A:   1.6 V:   1.6 A-V: -0.002 ct: -0.004   39/ 39   8%  7%  1.6% 0 0 0%
A:   1.6 V:   1.6 A-V: -0.003 ct: -0.004   40/ 40   8%  7%  1.5% 0 0 0%
A:   1.7 V:   1.7 A-V: -0.006 ct: -0.005   41/ 41   8%  7%  1.6% 0 0 0%
A:   1.7 V:   1.7 A-V:  0.002 ct: -0.004   42/ 42   8%  7%  1.5% 0 0 0%
A:   1.8 V:   1.8 A-V: -0.001 ct: -0.005   43/ 43   9%  7%  1.6% 0 0 0%
A:   1.8 V:   1.8 A-V: -0.003 ct: -0.005   44/ 44   9%  7%  1.5% 0 0 0%
A:   1.9 V:   1.9 A-V: -0.002 ct: -0.005   45/ 45   9%  7%  1.6% 0 0 0%
A:   1.9 V:   1.9 A-V: -0.004 ct: -0.005   46/ 46   9%  7%  1.5% 0 0 0%
A:   1.9 V:   1.9 A-V:  0.004 ct: -0.005   47/ 47   9%  7%  1.5% 0 0 0%
A:   2.0 V:   2.0 A-V:  0.003 ct: -0.005   48/ 48   9%  7%  1.5% 0 0 0%
A:   2.0 V:   2.0 A-V:  0.005 ct: -0.004   49/ 49   9%  7%  1.5% 0 0 0%
A:   2.1 V:   2.1 A-V:  0.002 ct: -0.004   50/ 50   9%  7%  1.5% 0 0 0%
A:   2.1 V:   2.1 A-V: -0.000 ct: -0.004   51/ 51   9%  7%  1.5% 0 0 0%
A:   2.1 V:   2.2 A-V: -0.003 ct: -0.004   52/ 52   9%  7%  1.5% 0 0 0%
Uninit audio filters...
[libaf] Removing filter dummy 
uninit audio: faad
FAAD: Closing decoder!
uninit video: qtvideo
DEMUXER: freeing demuxer at 0x84193f0  
DEMUXER: freeing sh_video at 0x8419310  
DEMUXER: freeing sh_audio at 0x841a430  
Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)


More information about the MPlayer-dev-eng mailing list