Ok, I've been struggling with this for a couple days and haven't been able to
get anything working. I'm hoping someone here can help me see what I'm
missing.
I have gotten the current release version of avifile to work wonderfully on my
work machine (intel proc and video card). I wanted to use it at home though
and that hasn't gone so well. My home machine is an AMD K6-3, and it has a
Matrox G400 card in it.
If I use the release version of avifile and one of the earlier sdl versions I
get audio, but only the first couple frames of video and it drops the rest.
I upgraded to sdl-1.2.0 and built the cvs version of avifile against it. With
a little tweaking I got it to compile ok. The video is very smooth, but
I get absolutely no audio. And the framerate seems a little slow to me.
I grabbed the output of my attempt to play it, in case it's helpfull, but as
I'm no longer getting any error messages I doubt it.
Other potentially relevant details:
File is in DIVX format
% gcc -v
Reading specs from /usr/lib/gcc-lib/i386-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)
% sdl-config --version
1.2.0
And the output:
% aviplay filename.avi
Available CPU flags: fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow k6_mtrr
298.955 MHz AMD-K6(tm) 3D processor processor detected
libwin32.so.0: found 26 plugins
libmpeg_audiodec.so.0: found 1 plugin
libmp3lame_audioenc.so.0: found 1 plugin
libaudiodec.so.0: found 4 plugins
Stream 0: 73646976:33766964, 42006 chunks
Cache: Adding stream 0, 42006 chunks
Stream 1: 73647561:0, 41973 chunks
Cache: Adding stream 1, 41973 chunks
Cache: Creating cache for file descriptor: 6
Successfully initialized stream 0
Chunk table size 42006, format size 40
Successfully initialized stream 1
Chunk table size 39226681, format size 30
Successfully opened Rurouni Kenshin - Episode 01 (DivX).avi. 1 video streams,
1 audio streams
Length 42006
File filename.avi successfully opened
2 streams
Audio in MPEG Layer-1/2 format
src [wFormatTag=85, nChannels=2, nSamplesPerSec=48000, nAvgBytesPerSec=28000,
nBlockAlign=1, wBitsPerSample=16, cbSize=12]
dst [wFormatTag=1, nChannels=2, nSamplesPerSec=48000, nAvgBytesPerSec=192000,
nBlockAlign=4, wBitsPerSample=16, cbSize=0]
Initializing registry
Using DirectShow codec: /usr/lib/win32/divx_c32.ax
Decoder is capable of YUV output ( flags 0x1 )
Video Depth 16
Creating YUV overlay for width 512, height 384, fourcc 0x32595559
Player started
Checking direct...
Direct mode is ON
Total Unfree 1907226 bytes cnt 85 [0,0]
Closing clip
Destroying cache. Total accesses 1244, hits 100.00%, misses 0.00%, errors
0.00%
Played 286 video frames ( 286.014% drop )
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile