Hi! I've just installed the latest avifile (0.6.0-20011116) and the latest binary files (011002).
But now I've got two problems: 1. When I try to play video files captured with MainCap (the capture utility of the MainActor video-editor package, the linux-version) with aviplay it crashes with a segfault. The video files are compressed with MainActor's own MotionJPEG-Codec, if you want to try it, you can download a demo version of MainActor on their website (http://www.mainconcept.de/downloads.shtml). Avirecompress crashes, too, when I try to open such files. I've attached the output of aviplay to this mail. (explanation: "Speicherzugriffsfehler" is Segmentation Fault on german.) Details of my system: RedHat-Compatible, Kernel 2.4.2, XFree86 4.0.3. 2. I get lots of dropped frames with avicap. Sometimes up to 100 frames of 300 frames are dropped (on 320x200 at 25 fps), on my Athlon 1,2 GHz, the harddisk does around 25MB/sec. All the frames are dropped in the capture thread, the encoding thread drops none. How can I improve the perfomance? cu micronuke -- An elephant is a mouse with an operating system. www.linux-line.de.vu
[julian@micronuke julian]$ aviplay Captures/desktops.avi Available CPU flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow 1199.451000 MHz AMD Athlon(tm) Processor processor detected MainAVIHeader: MicroSecPerFrame=40000 MaxBytesPerSec=3686400 PaddingGranularity=0 Flags=[ HAS_INDEX ] TotalFrames=907 InitialFrames=0 Streams=2 SuggestedBufferSize=0 WxH=640x480 AVIStreamHeader: FccType=vids FccHandler=MJPG Flags=[ ] InitialFrames=0 Scale=40000 Rate=1000000 Start=0 Length=907 SuggestedBufferSize=0 Quality=-1 SampleSize=0 Rect l,r,t,b=0,0,0,0 AVIStreamHeader: FccType=auds FccHandler=0x0 Flags=[ ] InitialFrames=0 Scale=1 Rate=22050 Start=0 Length=799974 SuggestedBufferSize=0 Quality=-1 SampleSize=2 Rect l,r,t,b=0,0,0,0 Stream 0: 0x73646976 (vids) : 0x47504a4d (MJPG) 907 chunks (14.17KB) Cache: Adding stream 0, 907 chunks Stream 1: 0x73647561 (auds) : 0x0 (unknown) 907 chunks (14.17KB) Cache: Adding stream 1, 907 chunks Cache: Creating cache for file descriptor: 7 Initialized stream 0 (Chunk table size 907, format size 40) Initialized stream 0 (Chunk table size 1599948, format size 16) Successfully opened Captures/desktops.avi Subtitles from: (null) /usr/lib/avifile0.6/libwin32.so: found A: 12 V: 43 plugins /usr/lib/avifile0.6/libvorbis_audio.so: found A: 1 V: 0 plugin /usr/lib/avifile0.6/libmpeg_audiodec.so: found A: 1 V: 0 plugin /usr/lib/avifile0.6/libmp3lamebin_audioenc.so: found A: 1 V: 0 plugin /usr/lib/avifile0.6/libmp3lame_audioenc.so: found A: 1 V: 0 plugin /usr/lib/avifile0.6/libmjpeg.so: found A: 0 V: 1 plugin /usr/lib/avifile0.6/libmad_audiodec.so: found A: 1 V: 0 plugin /usr/lib/avifile0.6/libffmpeg.so: found A: 2 V: 5 plugins /usr/lib/avifile0.6/libdivx4.so: found A: 0 V: 2 plugins /usr/lib/avifile0.6/libaudiodec.so: found A: 5 V: 0 plugins /usr/lib/avifile0.6/libac3pass.so: found A: 1 V: 0 plugin Using Win32 dll library: m3jpeg32.dll VideoDecoder Size 40 Decoder is capable of YUV output ( flags 0x9) Morgan Motion JPEG video decoder created Called unk_MessageBeep Called unk_GetActiveWindow Called unk_DialogBoxParamA Speicherzugriffsfehler [julian@micronuke julian]$
