Hi,

I am running NetBSD 1.5.1 and today's cvs avifile+apla.
I removed --disable-ffmpeg and avifile compiled (I had problems with it in the past)
;-) in the mean time I replaced my /usr/bin/as
with the recent one, and it helped in mplayer compilation. I don't know if this change 
helped
avifile to compile, and I'd rather not check this now as I don't know it it's 
necessary.

When I moved away my /usr/pkg/lib/win32, it used ffmpeg:

0:15 zuntum@zunpc:/usr/pkgsrc/graphics/apla# apla /main/divx/test.avi
/usr/pkg/lib/avifile-0.6/libwin32-0.6.so.2: found 32 plugins   (A: 5  V: 27)
/usr/pkg/lib/avifile-0.6/libmpeg_audiodec-0.6.so.2: found 1 plugin   (A: 1  V: 0)
/usr/pkg/lib/avifile-0.6/libmp3lame_audioenc-0.6.so.2: found 1 plugin   (A: 1  V: 0)
/usr/pkg/lib/avifile-0.6/libmjpeg-0.6.so.2: found 1 plugin   (A: 0  V: 1)
/usr/pkg/lib/avifile-0.6/libffmpeg-0.6.so.2: found 4 plugins   (A: 1  V: 3)
/usr/pkg/lib/avifile-0.6/libaudiodec-0.6.so.2: found 5 plugins   (A: 5  V: 0)
Set_LDT
Stream 0: 0x73646976 (vids) : 0x34766964 (div4)   160128 chunks
Cache: Adding stream 0, 160128 chunks
Stream 1: 0x73647561 (auds) : 0x0 ()   13355 chunks
Cache: Adding stream 1, 13355 chunks
Cache:   Creating cache for file descriptor: 5
Successfully initialized stream 0
Chunk table size 160128, format size 40
Successfully initialized stream 1
Chunk table size 106592896, format size 30
Successfully opened /main/divx/test.avi. 1 video streams, 1 audio streams
Length 160128
Win32 LoadLibrary failed to load: divx_c32.ax, /usr/pkg/lib/win32/divx_c32.ax, 
/usr/lib/win32/divx_c32.ax, /usr/local/lib/win32/divx_c32.ax
DirectShow generic filter: FATAL: Could not open DirectShow DLL: divx_c32.ax
Win32 LoadLibrary failed to load: divxc32.dll, /usr/pkg/lib/win32/divxc32.dll, 
/usr/lib/win32/divxc32.dll, /usr/local/lib/win32/divxc32.dll
Win32 loader: FATAL: Could not load Win32 dll library: divxc32.dll
FFVideoDecoder opened
Audio in MPEG Layer-1/2 format
src [wFormatTag=85, nChannels=2, nSamplesPerSec=44100, nAvgBytesPerSec=15963, 
nBlockAlign=1, wBitsPerSample=16, cbSize=12]
dst [wFormatTag=1, nChannels=2, nSamplesPerSec=44100, nAvgBytesPerSec=176400, 
nBlockAlign=4, wBitsPerSample=16, cbSize=0]
Audio stream: 2 channels, 16 bits/sample, 44100Hz, 4
Using small blocksize
AUDIO SET: 37, 38, 256, 7356
Frame size: 640 * 304
Frame rate: 23.9802
Using x11 SDL display driver.
Video output device: 640 * 304 * 16
TTF font not found
Segmentation fault (core dumped)

But it was rotated vertically and worked incredibly slow (about 3-4 times slower than 
on win32 codecs).

When I restored win32 libraries, it works fine again.

0:18 zuntum@zunpc:/usr/pkgsrc/graphics/apla# mv /usr/pkg/lib/nope-win32 
/usr/pkg/lib/win32
0:18 zuntum@zunpc:/usr/pkgsrc/graphics/apla# apla /main/divx/test.avi
/usr/pkg/lib/avifile-0.6/libwin32-0.6.so.2: found 32 plugins   (A: 5  V: 27)
/usr/pkg/lib/avifile-0.6/libmpeg_audiodec-0.6.so.2: found 1 plugin   (A: 1  V: 0)
/usr/pkg/lib/avifile-0.6/libmp3lame_audioenc-0.6.so.2: found 1 plugin   (A: 1  V: 0)
/usr/pkg/lib/avifile-0.6/libmjpeg-0.6.so.2: found 1 plugin   (A: 0  V: 1)
/usr/pkg/lib/avifile-0.6/libffmpeg-0.6.so.2: found 4 plugins   (A: 1  V: 3)
/usr/pkg/lib/avifile-0.6/libaudiodec-0.6.so.2: found 5 plugins   (A: 5  V: 0)
Set_LDT
Stream 0: 0x73646976 (vids) : 0x34766964 (div4)   160128 chunks
Cache: Adding stream 0, 160128 chunks
Stream 1: 0x73647561 (auds) : 0x0 ()   13355 chunks
Cache: Adding stream 1, 13355 chunks
Cache:   Creating cache for file descriptor: 5
Successfully initialized stream 0
Chunk table size 160128, format size 40
Successfully initialized stream 1
Chunk table size 106592896, format size 30
Successfully opened /main/divx/test.avi. 1 video streams, 1 audio streams
Length 160128
Initializing registry
Using DirectShow codec: divx_c32.ax
Decoder is capable of YUV output ( flags 0x1 )
Audio in MPEG Layer-1/2 format
src [wFormatTag=85, nChannels=2, nSamplesPerSec=44100, nAvgBytesPerSec=15963, 
nBlockAlign=1, wBitsPerSample=16, cbSize=12]
dst [wFormatTag=1, nChannels=2, nSamplesPerSec=44100, nAvgBytesPerSec=176400, 
nBlockAlign=4, wBitsPerSample=16, cbSize=0]
Audio stream: 2 channels, 16 bits/sample, 44100Hz, 4
Using small blocksize
AUDIO SET: 37, 38, 256, 7356
Frame size: 640 * 304
Frame rate: 23.9802
Using x11 SDL display driver.
Video output device: 640 * 304 * 16
TTF font not found
0:18 zuntum@zunpc:/usr/pkgsrc/graphics/apla# 

Can you think of anything I could test to make ffmpeg work?

-- 
/* Tomasz Luchowski <[EMAIL PROTECTED]> */

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

Reply via email to