I'm currently still recording video with the August 3 avifile CVS snapshot and vcr-1.08, because I haven't managed to find anything which works as stably. The current CVS avifile is coming pretty close.
Anyway, I have videos encoded with Indeo 5.0 video and MP3 audio that vcr produced, and audio playback seems to fail utterly. Here's the output from "aviplay 2002-03-13-155501.avi"; sorry for the verbosity but I don't want to accidentally snip something important: fs seg 0x400b2000 <Init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow <Init> : 1394.086000 MHz AMD Athlon(tm) Processor processor detected <aviplay> : Debug is on 0 <AVI reader> : AVIMainHeader: MicroSecPerFrame=33366 MaxBytesPerSec=0 PaddingGranularity=0 Flags=[ HAS_INDEX TRUST_CKTYPE ] TotalFrames=125884 InitialFrames=0 Streams=2 SuggestedBufferSize=0 WxH=320x240 <AVI reader> : AVIStreamHeader: FccType=vids FccHandler=IV50 Flags=[ ] InitialFrames=0 Scale=33366 Rate=1000000 Start=0 Length=125884 SuggestedBufferSize=0 Quality=10000 SampleSize=0 Rect l,r,t,b=0,320,0,240 <AVI reader> : AVIStreamHeader: FccType=auds FccHandler=0x55 Flags=[ ] InitialFrames=0 Scale=1 Rate=16000 Start=0 Length=67207353 SuggestedBufferSize=0 Quality=0 SampleSize=1 Rect l,r,t,b=0,0,0,0 <AVI reader> : Stream 0: 0x73646976 (vids) : 0x30355649 (IV50) 125884 chunks (1966.94KB) <AVI reader> : Cache: Adding stream, 125884 chunks <AVI reader> : Stream 1: 0x73647561 (auds) : 0x55 (MPEG Layer-3) 90450 chunks (1413.28KB) <AVI reader> : Cache: Adding stream, 90450 chunks <AVI reader> : Cache: Creating cache for file descriptor: 7 <AVI reader> : Initialized video stream 0 (Chunk table size 125884, format size 40) <AVI reader> : Initialized audio stream 0 (Chunk table size 67207353, format size 30) <AVI reader> : Successfully opened 2002-03-13-155501.avi <Codec keeper> : /usr/lib/avifile0.6/libwin32.so: found A: 13 V: 47 plugins <Codec keeper> : /usr/lib/avifile0.6/libvorbis_audio.so: found A: 1 V: 0 plugin <Codec keeper> : /usr/lib/avifile0.6/libmpeg_audiodec.so: found A: 1 V: 0 plugin <Codec keeper> : /usr/lib/avifile0.6/libmp3lamebin_audioenc.so: found A: 1 V: 0 plugin <Codec keeper> : /usr/lib/avifile0.6/libmjpeg.so: found A: 0 V: 1 plugin <Codec keeper> : /usr/lib/avifile0.6/libmad_audiodec.so: found A: 1 V: 0 plugin <Codec keeper> : /usr/lib/avifile0.6/libffmpeg.so: found A: 2 V: 5 plugins <Codec keeper> : /usr/lib/avifile0.6/libdivx4.so: found A: 0 V: 2 plugins <Codec keeper> : /usr/lib/avifile0.6/libaudiodec.so: found A: 5 V: 0 plugins <Codec keeper> : /usr/lib/avifile0.6/libac3pass.so: found A: 1 V: 0 plugin <Win32 loader> : External func OLEAUT32.dll:161 <Win32 loader> : External func OLEAUT32.dll:163 Using DirectShow codec: ir50_32.dll <Win32 DS video decoder> : Decoder is capable of YUV output ( flags 0x87 ) <Codec keeper> : Indeo(r) Video 5.0 DirectShow video decoder created <aviplay> : MAXAUTO 0 <renderer> : Warning: Locale not supported by C library <renderer> : SDL Video driver: x11 <renderer> : Creating YUV overlay 320x240, fourcc 0x32595559 (YUY2) <renderer> : Loading subfont: "adobe-times" <renderer> : Failed to open X11 font <aviplay> : Trying audio renderers: SDL,OSS,noaudio <AVI reader> : Stream MPEG header VBR:0 Layer:3 SampleRate:44100 Bitrate:128000 SamplesPerFrame:1152 NumChannels:1 StereoMode:3 Offset:40 <MP3 decoder> : Audio in MPEG Layer-1/2 format <Codec keeper> : MPEG Layer-3 audio decoder created <audio renderer> : src [wFormatTag=0x55, nChannels=1, nSamplesPerSec=44100, nAvgBytesPerSec=16000, nBlockAlign=418, wBitsPerSample=0, cbSize=12] <audio renderer> : dst [wFormatTag=0x01, nChannels=1, nSamplesPerSec=44100, nAvgBytesPerSec=88200, nBlockAlign=2, wBitsPerSample=16, cbSize=0] <Player> : Player started <aviplay> : Video decoder thread lowered priority to 5 <AVI reader> : w:320 h:-240 bpp:16 0x32595559 - 0:4 <AVI reader> : w:320 h:-240 bpp:16 0x32595559 - 1:4 <AVI reader> : w:320 h:-240 bpp:16 0x32595559 - 2:4 <AVI reader> : w:320 h:-240 bpp:16 0x32595559 - 3:4 Anyway, at this point I can see the video playing perfectly, but all I can hear from the speakers sounds is a hissing clicking sort of periodic noise. The same files play fine with the August 3 aviplay, and if I pull out the audio streams with "transcode -i 2002-03-12-155501.avi -x af6 -y raw -m test.mp3" then the resulting file plays correctly with mpg321 and mpg123. Files recorded with the current CVS avirec with MP3 audio appear to play back correctly, and don't seem to give noticeably different text output. Any ideas? Would it help if I uploaded the first second or two of one of the failing videos as an example? --- Roy Stogner _______________________________________________ Avifile mailing list [EMAIL PROTECTED] http://prak.org/mailman/listinfo/avifile
