Hi. I reported this on an earlier version, but got no reply. The current
CVS compiles fine, and it runs as well. Video is fine, but no audio is
produced. The debugging output seems to indicate that the header reading
routine is not identifying the audio stream. I'm using Mandrake 8.1 on an
Athlon 1700xp with a 2.4.17 kernel. I don't have any other problems on
this machine at all. I've also tried recent precompiled binaries and get
the same problem. I'm quite familiar with debugging tools, etc, but
haven't had any luck locating the problem. If anyone has any pointers
at all, I'd really appreciate it. Any ideas?

Here's the output from one sample avi (I've tried dozens with different
codecs):

fs seg 0x400bf000
<Init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr
pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
<Init> : 1470.029000 MHz AMD Athlon(tm) XP 1700+ processor detected
<aviplay> : Debug is on 0
<AVI reader> : AVIMainHeader: MicroSecPerFrame=33367 MaxBytesPerSec=0
 PaddingGranularity=0  Flags=[ HAS_INDEX IS_INTERLEAVED ] TotalFrames=3938
 InitialFrames=0  Streams=2  SuggestedBufferSize=0 WxH=448x336
<AVI reader> : AVIStreamHeader: FccType=vids FccHandler=DIV3 Flags=[ ]
 InitialFrames=0 Scale=100 Rate=2997 Start=0 Length=3938
 SuggestedBufferSize=23418 Quality=10000 SampleSize=0 Rect
l,r,t,b=0,448,0,336
<AVI reader> : AVIStreamHeader: FccType=auds FccHandler=0x0 Flags=[ ]
 InitialFrames=1 Scale=1 Rate=7000 Start=0 Length=919794
 SuggestedBufferSize=3500 Quality=10000 SampleSize=1 Rect l,r,t,b=0,0,0,0
<AVI reader> : Stream 0: 0x73646976 (vids) : 0x33564944 (DIV3)   3938
chunks (61.53KB)
<AVI reader> : Cache: Adding stream, 3938 chunks
<AVI reader> : Stream 1: 0x73647561 (auds) : 0x55 (MPEG Layer-3)   3925
chunks (61.33KB)
<AVI reader> : Cache: Adding stream, 3925 chunks
<AVI reader> : Cache:   Creating cache for file descriptor: 7
<AVI reader> : Initialized video stream 0 (Chunk table size 3938, format
size 40)
<AVI reader> : Initialized audio stream 0 (Chunk table size 919794, format
size 30)
<AVI reader> : Successfully opened test.avi
<aviplay> : Audiostream not detected
<Codec keeper> : /usr/local/lib/avifile0.6/libwin32.so: found  A: 13  V:
46  plugins
<Codec keeper> : /usr/local/lib/avifile0.6/libmpeg_audiodec.so: found  A:
1  V: 0  plugin
<Codec keeper> : /usr/local/lib/avifile0.6/libmp3lame_audioenc.so: found
A: 1  V: 0  plugin
<Codec keeper> : /usr/local/lib/avifile0.6/libmjpeg.so: found  A: 0  V: 1
plugin
<Codec keeper> : /usr/local/lib/avifile0.6/libmad_audiodec.so: found  A: 1
V: 0  plugin
<Codec keeper> : /usr/local/lib/avifile0.6/libffmpeg.so: found  A: 2  V: 5
plugins
<Codec keeper> : /usr/local/lib/avifile0.6/libdivx4.so: found  A: 0  V: 2
plugins
<Codec keeper> : /usr/local/lib/avifile0.6/libaudiodec.so: found  A: 5  V:
0  plugins
<Codec keeper> : /usr/local/lib/avifile0.6/libac3pass.so: found  A: 1  V:
0  plugin
Using DirectShow codec: divx_c32.ax
<Win32 video decoder> : Decoder is capable of YUV output ( flags 0x9 )
<Codec keeper> : DivX ;-) DirectShow video decoder created
<aviplay> : MAXAUTO 4
<aviplay> : Video decoder  thread lowered priority to 5
<renderer> : SDL Video driver: x11
<renderer> : Detected nVidia GLX driver - clearing 2 lowest lines...
<renderer> : Creating YUV overlay 448x336, fourcc 0x32595559 (YUY2)
<renderer> : Loading subfont: "adobe-times
"
<renderer> : Failed to open X11 font
<Player> : Player started
<AVI reader> : w:448 h:-336   bpp:16  -  0:4
<AVI reader> : w:448 h:-336   bpp:16  -  1:4
<AVI reader> : w:448 h:-336   bpp:16  -  2:4
<AVI reader> : w:448 h:-336   bpp:16  -  3:4
<Win32 loader> : Total Unfree 1559134 bytes cnt 87 [(nil),0]
<aviplay> : Closing clip
<AVI reader> : Destroying cache. Total accesses 68, hits 100.00%, misses
0.00%, errors 0.00%
<aviplay> : Played 66 video frames ( 0.000000% drop )

----------------------------------------------------------------------------
Steven Ludtke, PhD              |        Baylor College of Medicine
[EMAIL PROTECTED]             | National Center For Macromolecular Imaging 
[EMAIL PROTECTED]       |    Dept of Biochemistry and Mol. Biol.
instant messenger: sludtke42    |            * Those who do ARE *
http://ncmi.bcm.tmc.edu/~stevel |           The converse also holds


_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to