[vlc-devel] --enable-ffmpeg on Mac OS X
Fabio Ribeiro
coffee at mac.com
Sat Jul 26 17:52:14 CEST 2003
Hello All,
I'm trying to build VLC 0.53 on Mac OS X. I'm being able to build and
run the application but if I --enable-ffmpeg I just can't do that (see
error below).
Setting --disable-ffmpeg I'm able to build but I can't play even some
".mov" files… "VLC probably does not support this sound or video
format." (even some simple formats such as 'h263', 'QDM2', 'jpeg').
Below some tests:
MPEG 4 MPEG-1 QDM2 H263
RELEASE OK OK(**) OK OK
MY BUILD NO VIDEO OK(**) NOTHING NOT SUPPORT(*)
(*)NOT SUPPORT = "VLC probably does not support this sound or video
format."
(**) Some MPEG-1 Mutex files that I'm being able to play in QT just
doesn't working on VLC 0.5.x, 0.6.0
I'd like to know if these problems are (may be) due to the leak of
ffmpeg on my build…
I'm using:
./configure --disable-x11 --disable-xvideo --disable-gtk --disable-sdl
--enable-ffmpeg --enable-mad --enable-libdvbpsi --enable-a52
--enable-dvdplay --enable-faad --enable-vorbis --enable-ogg
--enable-debug ; make
I'm using Christophe Massiot's /usr/local directory. And I'm having
the same problems building/running: 0.5.2, 0.5.3 if I --enable-ffmpeg.
The version 0.6.0 is building without problems with this option
enabled but I'm still having problems with these formats.
All the best,
Fabio
modules/codec/ffmpeg/ffmpeg.c:41:77: avcodec.h: No such file or
directory
In file included from modules/codec/ffmpeg/ffmpeg.c:45:
modules/codec/ffmpeg/ffmpeg.h:46: parse error before "AVCodecContext"
modules/codec/ffmpeg/ffmpeg.h:46: warning: no semicolon at end of
struct or union
modules/codec/ffmpeg/ffmpeg.h:46: warning: type defaults to `int' in
declaration of `p_codec'
modules/codec/ffmpeg/ffmpeg.h:46: warning: data definition has no type
or storage class
modules/codec/ffmpeg/ffmpeg.h:48: parse error before '}' token
modules/codec/ffmpeg/ffmpeg.h:48: warning: type defaults to `int' in
declaration of `generic_thread_t'
modules/codec/ffmpeg/ffmpeg.h:48: warning: data definition has no type
or storage class
In file included from modules/codec/ffmpeg/ffmpeg.c:46:
modules/codec/ffmpeg/video.h:29: parse error before "AVCodecContext"
modules/codec/ffmpeg/video.h:29: warning: no semicolon at end of struct
or union
modules/codec/ffmpeg/video.h:29: warning: type defaults to `int' in
declaration of `p_codec'
modules/codec/ffmpeg/video.h:29: warning: data definition has no type
or storage class
modules/codec/ffmpeg/video.h:33: parse error before "ff_pic"
modules/codec/ffmpeg/video.h:33: warning: type defaults to `int' in
declaration of `ff_pic'
modules/codec/ffmpeg/video.h:33: warning: type defaults to `int' in
declaration of `p_ff_pic'
modules/codec/ffmpeg/video.h:33: warning: data definition has no type
or storage class
modules/codec/ffmpeg/video.h:53: parse error before '}' token
modules/codec/ffmpeg/video.h:53: warning: type defaults to `int' in
declaration of `vdec_thread_t'
modules/codec/ffmpeg/video.h:53: warning: data definition has no type
or storage class
modules/codec/ffmpeg/video.h:56: parse error before '*' token
modules/codec/ffmpeg/video.h:57: parse error before '*' token
modules/codec/ffmpeg/video.h:58: parse error before '*' token
In file included from modules/codec/ffmpeg/ffmpeg.c:47:
modules/codec/ffmpeg/audio.h:27: parse error before "AVCodecContext"
modules/codec/ffmpeg/audio.h:27: warning: no semicolon at end of struct
or union
modules/codec/ffmpeg/audio.h:27: warning: type defaults to `int' in
declaration of `p_codec'
modules/codec/ffmpeg/audio.h:27: warning: data definition has no type
or storage class
modules/codec/ffmpeg/audio.h:43: parse error before '}' token
modules/codec/ffmpeg/audio.h:43: warning: type defaults to `int' in
declaration of `adec_thread_t'
modules/codec/ffmpeg/audio.h:43: warning: data definition has no type
or storage class
modules/codec/ffmpeg/audio.h:48: parse error before '*' token
modules/codec/ffmpeg/audio.h:49: parse error before '*' token
modules/codec/ffmpeg/audio.h:50: parse error before '*' token
modules/codec/ffmpeg/ffmpeg.c:55: parse error before '*' token
modules/codec/ffmpeg/ffmpeg.c:56: parse error before '*' token
modules/codec/ffmpeg/ffmpeg.c:165: parse error before "generic_thread_t"
modules/codec/ffmpeg/ffmpeg.c:165: warning: no semicolon at end of
struct or union
modules/codec/ffmpeg/ffmpeg.c:166: warning: type defaults to `int' in
declaration of `audio'
modules/codec/ffmpeg/ffmpeg.c:166: warning: data definition has no type
or storage class
modules/codec/ffmpeg/ffmpeg.c:167: parse error before "video"
modules/codec/ffmpeg/ffmpeg.c:167: warning: type defaults to `int' in
declaration of `video'
modules/codec/ffmpeg/ffmpeg.c:167: warning: data definition has no type
or storage class
modules/codec/ffmpeg/ffmpeg.c:169: warning: type defaults to `int' in
declaration of `decoder_thread_t'
modules/codec/ffmpeg/ffmpeg.c:169: warning: data definition has no type
or storage class
modules/codec/ffmpeg/ffmpeg.c: In function `RunDecoder':
modules/codec/ffmpeg/ffmpeg.c:177: `p_decoder' undeclared (first use in
this function)
modules/codec/ffmpeg/ffmpeg.c:177: (Each undeclared identifier is
reported only once
modules/codec/ffmpeg/ffmpeg.c:177: for each function it appears in.)
modules/codec/ffmpeg/ffmpeg.c:202: parse error before ')' token
modules/codec/ffmpeg/ffmpeg.c:205: parse error before ')' token
modules/codec/ffmpeg/ffmpeg.c: At top level:
modules/codec/ffmpeg/ffmpeg.c:242: parse error before '*' token
modules/codec/ffmpeg/ffmpeg.c: In function `InitThread':
modules/codec/ffmpeg/ffmpeg.c:249: warning: implicit declaration of
function `avcodec_init'
modules/codec/ffmpeg/ffmpeg.c:250: warning: implicit declaration of
function `avcodec_register_all'
modules/codec/ffmpeg/ffmpeg.c:254: `p_decoder' undeclared (first use in
this function)
modules/codec/ffmpeg/ffmpeg.c:254: parse error before
"LIBAVCODEC_BUILD_STR"
modules/codec/ffmpeg/ffmpeg.c:269: warning: implicit declaration of
function `avcodec_find_decoder'
modules/codec/ffmpeg/ffmpeg.c:281: `AVCodecContext' undeclared (first
use in this function)
modules/codec/ffmpeg/ffmpeg.c:288: parse error before ')' token
modules/codec/ffmpeg/ffmpeg.c:291: parse error before ')' token
modules/codec/ffmpeg/ffmpeg.c: At top level:
modules/codec/ffmpeg/ffmpeg.c:311: parse error before '*' token
modules/codec/ffmpeg/ffmpeg.c: In function `EndThread':
modules/codec/ffmpeg/ffmpeg.c:314: `p_decoder' undeclared (first use in
this function)
modules/codec/ffmpeg/ffmpeg.c:322: warning: implicit declaration of
function `avcodec_close'
modules/codec/ffmpeg/ffmpeg.c:334: parse error before ')' token
modules/codec/ffmpeg/ffmpeg.c:337: parse error before ')' token
modules/codec/ffmpeg/ffmpeg.c: In function `ffmpeg_GetFfmpegCodec':
modules/codec/ffmpeg/ffmpeg.c:443: `CODEC_ID_MSMPEG4' undeclared (first
use in this function)
modules/codec/ffmpeg/ffmpeg.c:476: `CODEC_ID_MPEG4' undeclared (first
use in this function)
modules/codec/ffmpeg/ffmpeg.c:484: `CODEC_ID_H263' undeclared (first
use in this function)
modules/codec/ffmpeg/ffmpeg.c:491: `CODEC_ID_H263I' undeclared (first
use in this function)
modules/codec/ffmpeg/ffmpeg.c:496: `CODEC_ID_WMV1' undeclared (first
use in this function)
modules/codec/ffmpeg/ffmpeg.c:502: `CODEC_ID_WMV2' undeclared (first
use in this function)
modules/codec/ffmpeg/ffmpeg.c:512: `CODEC_ID_MJPEG' undeclared (first
use in this function)
modules/codec/ffmpeg/ffmpeg.c:529: `CODEC_ID_DVVIDEO' undeclared (first
use in this function)
modules/codec/ffmpeg/ffmpeg.c:567: `CODEC_ID_NONE' undeclared (first
use in this function)
make[2]: ***
[modules/codec/ffmpeg/modules_codec_ffmpeg_libffmpeg_a-ffmpeg.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 7820 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20030726/d87ba0c8/attachment.bin>
More information about the vlc-devel
mailing list