[MPlayer-users] mp4 video track with bad pts playing problem
Piotr Stachura
albert1 at autocom.pl
Tue Jun 6 14:12:53 CEST 2006
Hi,
I've got problem with play mp4 file that contains h264 video track. Acording
to output file has wrong pts, that makes fps infinite. I know that file fps
is 23.976 but forcing that fps makes A/V desynth. It's strange, because
putting video into avi file (mencoder -ofps 23.976 - makes file playable
perfectly), extracting video into raw h264 (using MP4Box) doesn't change
anything (same behavior as in mp4 container).
Is file "really" bad created (only windows stuff play it correctly) or there
is little bug in mplayer (force fps nothing changes (yes, it changes but
makes that incorrect anyway)).
Output:
MPlayer dev-CVS--4.1.1 (C) 2000-2006 MPlayer Neu Team
(...)
WierszPoleceń: '03. 恋して、ダマして、ラブホテル? (Fall in Love, Deceived, and Then a Love
Hotel?).mp4' '-fps' '23.976' '-v'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Używam sprzętowego zegara czasu rzeczywistego (Linux RTC) (1024Hz).
(...)
Checking for MOV
ISO: File Type Major Brand: ISO Base Media
ISO: File Type Minor Version: 1
ISO: File Type Compatible Brand #0: isom
MOV: Movie header found!
MOV: Movie DATA found!
Wykryto format Quicktime/MOV.
MOV: Movie header (100 bytes): tscale=600 dur=864000
MOV: unknown chunk: iods 13
--------------
MOV: Track #0:
MOV: Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=863988 lay=0 vol=0
MOV: Media stream!
MOV: Media header!
MOV: Handler header: /vide () PAC ISO Video Handler
MOV: unknown handler class: 0x0 ()
MOV: Media info!
MOV: Video header!
MOV: unknown chunk: dinf 28
MOV: Sample info!
MOV: Description list! (cnt:1)
MOV: desc #0: avc1 (228 bytes)
MOV: Sample duration table! (1 blocks)
Warning! pts=165261632 length=-1066337700
MOV: unknown chunk: ctts 226984
MOV: Syncing samples (keyframes) table! (261 entries) (ver:0,flags:0)
MOV: Sample->Chunk mapping table! (3 blocks) (ver:0,flags:0)
MOV: Sample size table! (entries=34525 ss=0) (ver:0,flags:0)
MOV: Chunk offset table! (8631 chunks)
MOV track #0: 8631 chunks, 34525 samples
pts=-1066337700 scale=0 time= inf
==> Wykryto strumień video: 0
MOV: AVC decoder configuration record atom (138)!
MOV: avcC version: 1
MOV: avcC profile: 100
MOV: avcC profile compatibility: 0
MOV: avcC level: 51
MOV: avcC nal length size: 4
MOV: avcC number of sequence param sets: 1
MOV: avcC sps 0 have length 24
MOV: avcC number of picture param sets: 1
MOV: avcC pps 0 have length 95
MOV: Found unknown movie atom btrt (20)!
Image size: 640 x 480 (24 bpp)
Display size: 640 x 480
Fourcc: avc1 Codec: ''
--------------
MOV: Track #1:
MOV: Track header!
tkhd len=84 ver=0 flags=0x0 id=2 dur=864000 lay=0 vol=256
MOV: Media stream!
MOV: Media header!
MOV: Handler header: /soun () PAC ISO Audio Handler
MOV: unknown handler class: 0x0 ()
MOV: Media info!
MOV: Sound header!
MOV: unknown chunk: dinf 28
MOV: Sample info!
MOV: Description list! (cnt:1)
MOV: desc #0: mp4a (59 bytes)
MOV: Sample duration table! (1 blocks)
MOV: unknown chunk: ctts 24
MOV: Sample->Chunk mapping table! (3103 blocks) (ver:0,flags:0)
MOV: Sample size table! (entries=67500 ss=0) (ver:0,flags:0)
MOV: Chunk offset table! (8632 chunks)
MOV track #1: 8632 chunks, 67500 samples
pts=69120000 scale=48000 time=1440.000
==> Wykryto strumień audio: 1
Audio bits: 16 chans: 2 rate: 48000
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (39)!
ESDS MPEG4 version: 0 flags: 0x000000
ESDS MPEG4 ES Descriptor (25Bytes):
-> ESId: 0
-> streamPriority: 0
ESDS MPEG4 Decoder Config Descriptor (17Bytes):
-> objectTypeId: 64
-> streamType: 0x15
-> bufferSizeDB: 0x0002F9
-> maxBitrate: 119.120kbit/s
-> avgBitrate: 111.984kbit/s
ESDS MPEG4 Decoder Specific Descriptor (2Bytes)
ESDS MPEG4 Sync Layer Config Descriptor (1Bytes)
-> predefined: 2
Fourcc: mp4a
--------------
MOV: longest streams: A: #1 (67500 samples) V: #0 (34525 samples)
VIDEO: [avc1] 640x480 24bpp 0.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x31637661 size:640x480 fps: 0.00 ftime:= inf
(...)
Wartość FPS wymuszona na 23.976 (ftime: 0.042).
(...)
--
Piotr Stachura
More information about the MPlayer-users
mailing list