Hi,
I think I've found a bug in avifile!
I've recorded a long divx4 movie (~40 minutes). Afterwards I wanted to 
recompress the audio-data (wav to mp3). For small divx4 movies (less than a 
minute)  this works, but the recompressing big file does not.
It exits with "Speicherzugriffsfehler" (I think: "memory access violation").
I've installed the divx4 4.02 libraries from www.divx.com and 
lame-3.89beta-1. The same error happens if I've compiled avifile without lame 
installed.
I used the package from november 16.
Here is the stdout:

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
755.305000 MHz AMD Athlon(tm) Processor processor detected
MainAVIHeader: MicroSecPerFrame=45454 MaxBytesPerSec=0
 PaddingGranularity=0  Flags=[ HAS_INDEX TRUST_CKTYPE ] TotalFrames=50552
 InitialFrames=0  Streams=2  SuggestedBufferSize=0 WxH=384x288
AVIStreamHeader: FccType=vids FccHandler=DIVX Flags=[ ]
 InitialFrames=0 Scale=45454 Rate=1000000 Start=0 Length=50552
 SuggestedBufferSize=0 Quality=-1 SampleSize=0 Rect l,r,t,b=0,384,0,288
AVIStreamHeader: FccType=auds FccHandler=0x1 Flags=[ ]
 InitialFrames=0 Scale=4 Rate=176400 Start=0 Length=101328896
 SuggestedBufferSize=0 Quality=0 SampleSize=4 Rect l,r,t,b=0,0,0,0
Stream 0: 0x73646976 (vids) : 0x58564944 (DIVX)   50552 chunks (789.88KB)
Cache: Adding stream 0, 50552 chunks
Stream 1: 0x73647561 (auds) : 0x1 (PCM)   98954 chunks (1546.16KB)
Cache: Adding stream 1, 98954 chunks
Cache:   Creating cache for file descriptor: 8
Initialized stream 0 (Chunk table size 50552, format size 40)
Initialized stream 0 (Chunk table size 405312512, format size 18)
Successfully opened /tmp/movies/cof1.avi
/usr/local/lib/avifile0.6/libwin32.so: found  A: 12  V: 43 plugins
/usr/local/lib/avifile0.6/libmpeg_audiodec.so: found  A: 1  V: 0 plugin
/usr/local/lib/avifile0.6/libmp3lamebin_audioenc.so: found  A: 1  V: 0 plugin
/usr/local/lib/avifile0.6/libmp3lame_audioenc.so: found  A: 1  V: 0 plugin
/usr/local/lib/avifile0.6/libmjpeg.so: found  A: 0  V: 1 plugin
/usr/local/lib/avifile0.6/libmad_audiodec.so: found  A: 1  V: 0 plugin
/usr/local/lib/avifile0.6/libffmpeg.so: found  A: 2  V: 5 plugins
/usr/local/lib/avifile0.6/libdivx4.so: found  A: 0  V: 2 plugins
/usr/local/lib/avifile0.6/libaudiodec.so: found  A: 5  V: 0 plugins
/usr/local/lib/avifile0.6/libac3pass.so: found  A: 1  V: 0 plugin
Total Unfree 0 bytes cnt 0 [(nil),0]
DirectShow generic filter: FATAL: No such class object
Total Unfree 0 bytes cnt 0 [(nil),0]
DirectShow generic filter: FATAL: No such class object
Using Win32 dll library: divx.dll
VideoDecoder Size 112
Decoder is capable of YUV output ( flags 0x3)
Win32 DivX4 4.0 Beta Codec video decoder created
RecompressFilter: Create: 0x58564944  "DIVX" name:
Audio in PCM format
PCM video decoder created
src [wFormatTag=0x01, nChannels=2, nSamplesPerSec=44100, 
nAvgBytesPerSec=176400, nBlockAlign=4, wBitsPerSample=16, cbSize=0]
dst [wFormatTag=0x01, nChannels=2, nSamplesPerSec=44100, 
nAvgBytesPerSec=176400, nBlockAlign=4, wBitsPerSample=16, cbSize=0]
LameEncoder initialized
LameEncoder::SetBitrate(16000) 128kbps
LameEncoder::Start()
Speicherzugriffsfehler

I hope you can fix the bug.
I do not receive the maillinglist, so if you have questions or comments 
please send a copy to me! Thanks.

Avifile is a real great project! Thanks for your work!
Chris

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

Reply via email to