[MPlayer-users] [BUG] 1.0pre6 no more detects AVI audio streams

Kotrla Vitezslav kotrla at ceb.cz
Fri Jan 21 15:59:57 CET 2005


I'm reposting in hope someone will spot this one eventually :-)

---

Yesterday I finally upgraded my 'off-line' home system and I found
out mplayer 1.0pre6 can't detect audio stream in my older 'divx'
AVI files, made by mencoder 1.0pre3 and played successfuly by
1.0pre4.

See following log snippet, it is rather long, the problem comes 
at the very end:



   --- snip ---
   MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
   CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, Stepping: 2)
   Detected cache-line size is 64 bytes
   CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
   Compiled for x86 CPU with extensions: MMX
   ... 
   Playing flight_of_intruder.avi.
   [file] File size is 1467356820 bytes
   STREAM: [file] flight_of_intruder.avi
   STREAM: Description: File
   STREAM: Author: Albeu
   STREAM: Comment: based on the code from ??? (probably Arpi)
   CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:1040384  
   AVI file format detected.
   list_end=0x146
   ======= AVI Header =======
   us/frame: 40000  (fps=25,000)
   max bytes/sec: 0
   padding: 0
   MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
   frames  total: 165124   initial: 0
   streams: 2
   Suggested BufferSize: 0
   Size:  720 x 432
   ==========================
   list_end=0xD4
   ==> Found video stream: 0
   ====== STREAM Header =====
   Type: vids   FCC:  (0)
   Flags: 0
   Priority: 0   Language: 0
   InitialFrames: 0
   Rate: 250000/10000 = 25,000
   Start: 0   Len: 165124
   Suggested BufferSize: 92415
   Quality 0
   Sample size: 0
   ==========================
   found 'bih', 40 bytes of 40
   ======= VIDEO Format ======
     biSize 40
     biWidth 720
     biHeight 432
     biPlanes 1
     biBitCount 24
     biCompression 1482049860='DIVX'
     biSizeImage 933120
   ===========================
   Regenerating keyframe table for MPEG4 video
   list_end=0x146
   ==> Found audio stream: 1
   ====== STREAM Header =====
   Type: auds   FCC:  (0)
   Flags: 0
   Priority: 0   Language: 0
   InitialFrames: 0
   Rate: 48000/1152 = 41,667
   Start: 0   Len: 275226
   Suggested BufferSize: 960
   Quality 0
   Sample size: 0
   ==========================
   found 'wf', 30 bytes of 18
   ======= WAVE Format =======
   Format Tag: 85 (0x55)
   Channels: 2
   Samplerate: 48000
   avg byte/sec: 20538
   Block align: 1152
   bits/sample: 0
   cbSize: 12
   mp3.wID=1
   mp3.fdwFlags=0x2
   mp3.nBlockSize=1152
   mp3.nFramesPerBlock=1
   mp3.nCodecDelay=0
   ===========================
   list_end=0x172
   hdr=Software  size=23
   Software  : MEncoder 1.0pre3-3.3.3
   list_end=0x570A94AC
   Found movie at 0x80C - 0x570A94AC
   Reading INDEX block, 440350 chunks for 165124 frames (fpos=0x570a94b4)
   AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x84)
   Auto-selected AVI video ID = 0
   AVI_NI: No audio stream found -> no sound.
   AVI video size=1321041838 (165124) audio size=0 (0)
   VIDEO:  [DIVX]  720x432  24bpp  25,000 fps  1600,1 kbps (195,3 kbyte/s)
   [V] filefmt:3  fourcc:0x58564944  size:720x432  fps:25,00  ftime:=0,0400
   Clip info:
    Software: MEncoder 1.0pre3-3.3.3
   ...
   Audio: no sound
   Freeing 0 unused audio chunks.
   Starting playback...
   --- /snip ---



I discovered that adding '-aid 1' helps see following:

   --- snip ---
   list_end=0x172
   hdr=Software  size=23
   Software  : MEncoder 1.0pre3-3.3.3
   list_end=0x570A94AC
   Found movie at 0x80C - 0x570A94AC
   Reading INDEX block, 440350 chunks for 165124 frames (fpos=0x570a94b4)
   AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x84)
   Auto-selected AVI audio ID = 1
   Auto-selected AVI video ID = 0
   AVI: Searching for audio stream (id:1)
   AVI video size=1321041838 (165124) audio size=135661704 (275226)
   VIDEO:  [DIVX]  720x432  24bpp  25,000 fps  1600,1 kbps (195,3 kbyte/s)
   [V] filefmt:3  fourcc:0x58564944  size:720x432  fps:25,00  ftime:=0,0400
   Clip info:
   Software: MEncoder 1.0pre3-3.3.3
   --- /snip ---



What is your opinion? Have someone seen this before?

Thanks for your comments.

Vitezslav Kotrla




More information about the MPlayer-users mailing list