in the last release (avifile-0.7.7-20020523.tgz) mp3 encoding using
libmp3lame_audioenc is broken, hole in audio appears every 1 or 2
minutes in the generated divx (I tested with drip).
so I tried latest cvs version to see if the problem was fixed but I
couldn't compile it: modifications 3 days ago for the new plugin layout
on libmp3lame_audioenc seems broken, and I can't compile it (look
forward for the error message).
debian unstable, gcc version 2.95.4
ps: sorry for this poor reporting, but I have no idea on where is the
problem.
best regards
error message:
[...]
creating libmp3lame.la
(cd .libs && rm -f libmp3lame.la && ln -s ../libmp3lame.la
libmp3lame.la)
make[4]: Leaving directory
`/home/furax/src/DIVX/TMP/avifile/plugins/libmp3lame_audioenc/lame3.70'
make[4]: Entering directory
`/home/furax/src/DIVX/TMP/avifile/plugins/libmp3lame_audioenc'
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I.
-I../../include -Wall -Wno-unused -I../../include -g -O2 -march=i686
-ffast-math -pipe -c -o audioencoder.lo `test -f audioencoder.cpp ||
echo './'`audioencoder.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused
-I../../include -g -O2 -march=i686 -ffast-math -pipe -c
audioencoder.cpp -fPIC -DPIC -o audioencoder.lo
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I.
-I../../include -Wall -Wno-unused -I../../include -g -O2 -march=i686
-ffast-math -pipe -c -o mp3encoder.lo `test -f mp3encoder.cpp || echo
'./'`mp3encoder.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused
-I../../include -g -O2 -march=i686 -ffast-math -pipe -c mp3encoder.cpp
-fPIC -DPIC -o mp3encoder.lo
mp3encoder.cpp:108: warning: #warning FIXME 8-bit?
mp3encoder.cpp:55: parse error before `{'
mp3encoder.cpp:57: invalid use of member `avm::MP3Encoder::gf'
mp3encoder.cpp:57: ANSI C++ forbids declaration `lame_init_params' with
no type
mp3encoder.cpp:58: parse error before `return'
mp3encoder.cpp: In method `avm::MP3Encoder::MP3Encoder(const
avm::CodecInfo &, const WAVEFORMATEX *)':
mp3encoder.cpp:43: `avm::MP3Encoder::lame_init_params' cannot be used as
a function
mp3encoder.cpp: In method `int avm::MP3Encoder::SetBitrate(int)':
mp3encoder.cpp:50: `avm::MP3Encoder::lame_init_params' cannot be used as
a function
mp3encoder.cpp: At top level:
mp3encoder.cpp:60: syntax error before `('
mp3encoder.cpp:67: syntax error before `;'
mp3encoder.cpp:68: `in_fmt' was not declared in this scope
mp3encoder.cpp:68: ANSI C++ forbids declaration `memcpy' with no type
mp3encoder.cpp:68: initializer list being treated as compound expression
mp3encoder.cpp:69: syntax error before `.'
mp3encoder.cpp:70: syntax error before `.'
mp3encoder.cpp:71: syntax error before `.'
mp3encoder.cpp:72: syntax error before `.'
mp3encoder.cpp:73: syntax error before `.'
mp3encoder.cpp:74: `extension' was not declared in this scope
mp3encoder.cpp:74: ANSI C++ forbids declaration `memcpy' with no type
mp3encoder.cpp:74: redefinition of `int avm::memcpy'
mp3encoder.cpp:68: `int avm::memcpy' previously defined here
mp3encoder.cpp:74: initializer list being treated as compound expression
mp3encoder.cpp:76: syntax error before `.'
mp3encoder.cpp:77: syntax error before `.'
mp3encoder.cpp:78: syntax error before `.'
mp3encoder.cpp:80: syntax error before `.'
mp3encoder.cpp:81: syntax error before `.'
mp3encoder.cpp:82: `extension' was not declared in this scope
mp3encoder.cpp:82: `mp3extra' was not declared in this scope
mp3encoder.cpp:82: ANSI C++ forbids declaration `memcpy' with no type
mp3encoder.cpp:82: redefinition of `int avm::memcpy'
mp3encoder.cpp:74: `int avm::memcpy' previously defined here
mp3encoder.cpp:82: initializer list being treated as compound expression
mp3encoder.cpp:84: parse error before `return'
mp3encoder.cpp:87: virtual outside class declaration
mp3encoder.cpp: In function `int Start()':
mp3encoder.cpp:88: `gf' undeclared (first use this function)
mp3encoder.cpp:88: (Each undeclared identifier is reported only once
mp3encoder.cpp:88: for each function it appears in.)
mp3encoder.cpp: At top level:
mp3encoder.cpp:92: virtual outside class declaration
mp3encoder.cpp:107: virtual outside class declaration
mp3encoder.cpp: In function `int Convert(const void *, unsigned int,
void *, unsigned int, uint_t *, uint_t *)':
mp3encoder.cpp:110: `in_fmt' undeclared (first use this function)
mp3encoder.cpp:109: warning: `int result' might be used uninitialized in
this function
mp3encoder.cpp: At top level:
mp3encoder.cpp:121: parse error before `}'
mp3encoder.cpp: In function `int GetPluginVersion(...)':
mp3encoder.cpp:135: `PLUGIN_API_VERSION' undeclared (first use this
function)
mp3encoder.cpp:135: warning: control reaches end of non-void function
`GetPluginVersion(...)'
mp3encoder.cpp: In function `class IAudioEncoder *
CreateAudioEncoder(const CodecInfo &, unsigned int, const WAVEFORMATEX
*)':
mp3encoder.cpp:139: parse error before `('
mp3encoder.cpp:140: warning: control reaches end of non-void function
`CreateAudioEncoder(const CodecInfo &, unsigned int, const WAVEFORMATEX
*)'
make[4]: *** [mp3encoder.lo] Erreur 1
make[4]: Leaving directory
`/home/furax/src/DIVX/TMP/avifile/plugins/libmp3lame_audioenc'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory
`/home/furax/src/DIVX/TMP/avifile/plugins/libmp3lame_audioenc'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/furax/src/DIVX/TMP/avifile/plugins'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/furax/src/DIVX/TMP/avifile'
make: *** [build] Erreur 2
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile