i use libavifile0.6 (20011220) package from debian unstable it worked with an earlier version of libavifile, but i don't recall which (oct, or nov)
now, if i record with avicap (or vcr, yields same results): the recording process doesn't give any errors, however when playing back i get "Reconstructing index..." and "audiostream not detected". the video is played, but with no sound. with mplayer the file doesn't play at all (and also says: "no audio") i used the 'divx low motion' codec and the binaries-011002.tgz i tried to compile cvs versions of avifile, but couldn't get any later version to work with vcr, which is my target. i'd be grateful if anyone can suggest a working combination of avifile and vcr! below is avicap and aviplay output: ----------------------------------------------- stef:/usr/lib# avicap fs seg 0x40016000 Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow 995.776000 MHz AMD Duron(tm) Processor processor detected using X11 display :0 x11: mode=1152x864x16 x11: deteced framebuffer depth: 16 bpp x11: set depth to 16 bpp dga: base=0xce000000, width=1152 set video mode: 1152x864, 16 bit/pixel, 2304 byte/scanline set framebuffer at 0xce000000 ok Using 251Mb of memory for frame caching BTTV driver version 0.7.83 detected Broken VBI implementation; disabling closed captioning v4l1: X-Server DGA extension version mismatch, disabled v4l1: server version 1.1 != included version 2.0 Xlib: extension "RENDER" missing on display ":0.0". Disabling DPMS /usr/lib/avifile0.6/libwin32.so: found A: 13 V: 46 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/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: 1 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 Uncompressed RGB video encoder created Unc_Decoder: FATAL: Can't handle this format at Uncompressed.cpp: 116 WARNING: plugin is in incompatible format CreateVideoEncoder(): Unknown codec 0x0 = "" Unc_Decoder: FATAL: Can't handle this format at Uncompressed.cpp: 116 WARNING: plugin is in incompatible format CreateVideoEncoder(): Unknown codec 0x0 = "" Win32 LoadLibrary failed to load: divxcfvk.dll, /usr/lib/win32/divxcfvk.dll, /usr/local/lib/win32/divxcfvk.dll Win32 loader: FATAL: Could not load Win32 dll library: divxcfvk.dll CreateVideoEncoder(): Unknown codec 0x0 = "" Win32 LoadLibrary failed to load: divxcvki.dll, /usr/lib/win32/divxcvki.dll, /usr/local/lib/win32/divxcvki.dll Win32 loader: FATAL: Could not load Win32 dll library: divxcvki.dll CreateVideoEncoder(): Unknown codec 0x0 = "" Using Win32 dll library: divxc32f.dll No 'BitRate' value present W32 Quality 0 KeyFrames: 9999 BitRate: 910000 DivX ;-) Fast-Motion video encoder created Total Unfree 0 bytes cnt 0 [(nil),0] Using Win32 dll library: divxc32.dll No 'BitRate' value present W32 Quality 0 KeyFrames: 9999 BitRate: 910000 DivX ;-) Low-Motion video encoder created Total Unfree 0 bytes cnt 0 [(nil),0] Using Win32 dll library: mpg4c32.dll W32 Quality 0 KeyFrames: 9999 BitRate: 910000 Microsoft MPEG-4 video encoder created Total Unfree 4096 bytes cnt 1 [(nil),0] Win32 LoadLibrary failed to load: btvvc32.drv, /usr/lib/win32/btvvc32.drv, /usr/local/lib/win32/btvvc32.drv Win32 loader: FATAL: Could not load Win32 dll library: btvvc32.drv CreateVideoEncoder(): Unknown codec 0x0 = "" Win32 LoadLibrary failed to load: btvvc32.drv, /usr/lib/win32/btvvc32.drv, /usr/local/lib/win32/btvvc32.drv Win32 loader: FATAL: Could not load Win32 dll library: btvvc32.drv CreateVideoEncoder(): Unknown codec 0x0 = "" External func OLEAUT32.dll:161 External func OLEAUT32.dll:163 Using Win32 dll library: ir50_32.dll W32 Quality 8500 KeyFrames: 15 BitRate: 910000 Win32 LoadLibrary failed to load: ir50_lcs.dll, /usr/lib/win32/ir50_lcs.dll, /usr/local/lib/win32/ir50_lcs.dll Indeo(r) Video 5.04 video encoder created Total Unfree 2076 bytes cnt 40 [(nil),0] Using Win32 dll library: ir41_32.dll W32 Quality 8500 KeyFrames: 15 BitRate: 910000 Indeo Video 4.1 video encoder created Total Unfree 576 bytes cnt 9 [(nil),0] Using Win32 dll library: ir32_32.dll W32 Quality 6500 KeyFrames: 4 BitRate: 910000 Indeo Video 3.2 video encoder created Total Unfree 0 bytes cnt 0 [(nil),0] Using Win32 dll library: ir32_32.dll Win32 loader: FATAL: Module::CreateHandle: DRV_OPEN failed (0x31335649) CreateVideoEncoder(): Unknown codec 0x0 = "" Win32 LoadLibrary failed to load: mcmjpg32.dll, /usr/lib/win32/mcmjpg32.dll, /usr/local/lib/win32/mcmjpg32.dll Win32 loader: FATAL: Could not load Win32 dll library: mcmjpg32.dll OS Motion JPEG video encoder created Win32 LoadLibrary failed to load: avidavicodec.dll, /usr/lib/win32/avidavicodec.dll, /usr/local/lib/win32/avidavicodec.dll Win32 loader: FATAL: Could not load Win32 dll library: avidavicodec.dll CreateVideoEncoder(): Unknown codec 0x0 = "" Win32 LoadLibrary failed to load: tsccvid.dll, /usr/lib/win32/tsccvid.dll, /usr/local/lib/win32/tsccvid.dll Win32 loader: FATAL: Could not load Win32 dll library: tsccvid.dll CreateVideoEncoder(): Unknown codec 0x0 = "" Win32 LoadLibrary failed to load: huffyuv.dll, /usr/lib/win32/huffyuv.dll, /usr/local/lib/win32/huffyuv.dll Win32 loader: FATAL: Could not load Win32 dll library: huffyuv.dll CreateVideoEncoder(): Unknown codec 0x0 = "" Win32 LoadLibrary failed to load: vp31vfw.dll, /usr/lib/win32/vp31vfw.dll, /usr/local/lib/win32/vp31vfw.dll Win32 loader: FATAL: Could not load Win32 dll library: vp31vfw.dll CreateVideoEncoder(): Unknown codec 0x0 = "" Using Win32 dll library: iccvid.dll W32 Quality 10000 KeyFrames: 15 BitRate: 910000 Cinepak Video video encoder created Win32 LoadLibrary failed to load: i263_32.drv, /usr/lib/win32/i263_32.drv, /usr/local/lib/win32/i263_32.drv Win32 loader: FATAL: Could not load Win32 dll library: i263_32.drv CreateVideoEncoder(): Unknown codec 0x0 = "" Win32 LoadLibrary failed to load: icmw_32.dll, /usr/lib/win32/icmw_32.dll, /usr/local/lib/win32/icmw_32.dll Win32 loader: FATAL: Could not load Win32 dll library: icmw_32.dll CreateVideoEncoder(): Unknown codec 0x0 = "" Win32 LoadLibrary failed to load: avimszh.dll, /usr/lib/win32/avimszh.dll, /usr/local/lib/win32/avimszh.dll Win32 loader: FATAL: Could not load Win32 dll library: avimszh.dll CreateVideoEncoder(): Unknown codec 0x0 = "" Win32 LoadLibrary failed to load: avizlib.dll, /usr/lib/win32/avizlib.dll, /usr/local/lib/win32/avizlib.dll Win32 loader: FATAL: Could not load Win32 dll library: avizlib.dll CreateVideoEncoder(): Unknown codec 0x0 = "" Win32 LoadLibrary failed to load: msrle32.dll, /usr/lib/win32/msrle32.dll, /usr/local/lib/win32/msrle32.dll Win32 loader: FATAL: Could not load Win32 dll library: msrle32.dll CreateVideoEncoder(): Unknown codec 0x0 = "" Win32 LoadLibrary failed to load: mcmjpg32.dll, /usr/lib/win32/mcmjpg32.dll, /usr/local/lib/win32/mcmjpg32.dll Win32 loader: FATAL: Could not load Win32 dll library: mcmjpg32.dll OS Motion JPEG video encoder created DivX4 linux encoder DivX 4.0 video encoder created GetRegValue: no such value for Software\LinuxLoader\ BitRate GetRegValue: no such value for Software\LinuxLoader\ Crispness GetRegValue: no such value for Software\LinuxLoader\ KeyFrames Resolution: 160 x 120 v4lxif::grabSetParams(160, 120, 4) 1024 Using 4569 buffers 0/8 fragments available 1024 bytes each fragment 940 bytes available Flushed 940 bytes of data from audio buffers Using Win32 dll library: divxc32.dll No 'BitRate' value present W32 Quality 0 KeyFrames: 9999 BitRate: 910000 No 'BitRate' value present W32 Quality 0 KeyFrames: 9999 BitRate: 910000 Entering loop Capture thread exiting All threads exited overlay() Enabling DPMS v4l1: VIDIOCSYNC in ::~v4l1if stef:/usr/lib# aviplay /home/stef/test.avi fs seg 0x40016000 Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow 995.776000 MHz AMD Duron(tm) Processor processor detected Xlib: extension "RENDER" missing on display ":0.0". MainAVIHeader: MicroSecPerFrame=40000 MaxBytesPerSec=0 PaddingGranularity=0 Flags=[ HAS_INDEX TRUST_CKTYPE ] TotalFrames=0 InitialFrames=0 Streams=1 SuggestedBufferSize=0 WxH=0x0 AVIStreamHeader: FccType=vids FccHandler=DIV3 Flags=[ ] InitialFrames=0 Scale=40000 Rate=1000000 Start=0 Length=0 SuggestedBufferSize=0 Quality=0 SampleSize=0 Rect l,r,t,b=0,160,0,120 Reconstructing index... Trying to reconstruct broken avi stream (could take a lot of time) Stream 0: 0x73646976 (vids) : 0x33564944 (DIV3) 136 chunks (2.12KB) Cache: Adding stream 0, 136 chunks Cache: Creating cache for file descriptor: 7 Initialized stream 0 (Chunk table size 136, format size 40) Successfully opened /home/stef/test.avi /usr/lib/avifile0.6/libwin32.so: found A: 13 V: 46 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/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: 1 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 DirectShow codec: divx_c32.ax Decoder is capable of YUV output ( flags 0x9 ) DivX ;-) DirectShow video decoder created Audiostream not detected Video decoder thread lowered priority to 5 Video thread - using scheduler: SCHED_FIFO !!!Running video decoder as ROOT - Dangerous!!! SDL Video driver: x11 Disabling DPMS Creating YUV overlay 160x120, fourcc 0x32595559 (YUY2) Xlib: extension "XVideo" missing on display ":0.0". No hardware YUV acceleration detected! *** Using SDL software YUV emulation *** Usually most codecs supports RGB modes - so you may achieve better performance with disabled YUV flag Loading subfont: "adobe-times" Xlib: extension "RENDER" missing on display ":0.0". Failed to open X11 font Direct mode is enabled Player started Video stream eof Total Unfree 524746 bytes cnt 87 [(nil),0] Enabling DPMS Closing clip Destroying cache. Total accesses 150, hits 99.33%, misses 0.67%, errors 0.00% Played 144 video frames ( 0.000000% drop ) -- ciao, Stef ------------------------------------------------------------- Stefan Ohrhallinger [EMAIL PROTECTED] Taborstr. 18/124 http://stef.home.dhs.org A-1020 Wien ++43.1.2183326 _.-| | |\__/,| (`\ public key ID: 0xB867C1D0 { | | |o o |__ _) ) |\ _,,,---,,_ "-.|___| _.( T ) ` / /,`.-'`' -. ;-;;,_ .--'-`-. _((_ `^--' /_< \ |,4- ) )-,_. ,\ ( `'-' .+|______|__.-||__)`-'(((/ (((/ '---''(_/--' `-'\_) _______________________________________________ Avifile mailing list [EMAIL PROTECTED] http://prak.org/mailman/listinfo/avifile
