[MPlayer-dev-eng] Re: [PATCH] QuickTime in24 and in32 PCM audio support

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Sun Mar 12 20:26:28 CET 2006


On Sunday, 12 March 2006 at 02:41, Baptiste COUDURIER wrote:
> Hi,
> 
> Dominik 'Rathann' Mierzejewski wrote:
> > [...]
> > 
> > Indeed. So with my patch, BE samples play fine, but LE (obviously) don't.
> > Any idea how to tell one from another? The FourCC is the same.
> > 
> > R.
> > 
> 
> Endianness is specified through 'enda' atom in MOV container. The change
> needs to be done in the MOV demuxer.

I don't see any 'enda' atoms here (mplayer -v -v final_dreamfall_trailer_funcom_qtmp4.mov):
MPlayer dev-Fedora-GS-CVS-060311-20:03-4.0.2 (C) 2000-2006 MPlayer Team
[...]
Checking for MOV
MOV: Movie header found!
MOV: Movie header: start: 8 end: 6843
s->pos=800  newpos=6800  new_bufpos=6843  buflen=0
MOV: free space (len: 16)
MOV: 'WIDE' chunk found!
MOV: Movie DATA found!
MOV: Movie data: start: 685b end: 685b
Quicktime/MOV file format detected.
mov_read_header!
s->pos=7000  newpos=0  new_bufpos=8  buflen=0
lschunks dhvm  100
MOV: Movie header (100 bytes): tscale=600  dur=86879
lschunks kart  1717
--------------
MOV: Track #0:
lschunks dhkt  84
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=86879 lay=0 vol=256
lschunks stde  28
MOV:  Edit atom!
lschunks tsle  20
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 86879  start time: 0  speed: 1.0x
lschunks aidm  1581
MOV:  Media stream!
lschunks dhdm  24
MOV:   Media header!
lschunks rldh  50
MOV:   Handler header: mhlr/soun (appl) Apple Sound Media Handler
lschunks fnim  1483
MOV:   Media info!
lschunks dhms  8
MOV:    Sound header!
lschunks rldh  49
MOV:    Handler header: dhlr/alis (appl) Apple Alias Data Handler
lschunks fnid  28
MOV: unknown chunk: dinf 28
lschunks lbts  1366
MOV:    Sample info!
lschunks dsts  98
MOV:     Description list! (cnt:1)
MOV:      desc #0: in24  (74 bytes)
lschunks stts  16
MOV:     Sample duration table! (1 blocks)
lschunks csts  32
MOV:     Sample->Chunk mapping table!  (2 blocks) (ver:0,flags:0)
lschunks zsts  12
MOV:     Sample size table! (entries=3192804 ss=1) (ver:0,flags:0)
lschunks octs  1168
MOV:     Chunk offset table! (290 chunks)
MOV track #0: 290 chunks, 0 samples
pts=3192804  scale=22050  time=144.798
==> Found audio stream: 0
Audio bits: 16  chans: 2  rate: 22050
Audio header: samp/pack=1 bytes/pack=3 bytes/frame=6 bytes/samp=2
Audio extra header: len=38  fcc=0x77617665
Fourcc: in24
--------------
[...]

The only unparsed one is 'dinf'.

R.

-- 
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and oppression
to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan




More information about the MPlayer-dev-eng mailing list