Both for VLC and VLS, you need the libdvbpsi library, that you can get on
http://developers.videolan.org/libdvbpsi.
If that does not solve the problem, could you paste the compile error lines so that we can help you efficiently ?
Hi,
I already have the libdvbpsi library but I still get these errors:-
lffmpeg.c:36:24: avcodec.h: No such file or directory
ffmpeg.c:40:5: #error You must have a libavcodec >= 4680 (get CVS)
In file included from ffmpeg.c:43:
ffmpeg.h:42: parse error before "AVCodecContext"
ffmpeg.h:48: parse error before "AVCodecContext"
ffmpeg.h:68: parse error before "AVFrame"
ffmpeg.c:63: parse error before "AVCodecContext"
ffmpeg.c:63: warning: no semicolon at end of struct or union
ffmpeg.c:64: warning: type defaults to `int' in declaration of `p_codec'
ffmpeg.c:64: warning: data definition has no type or storage class
ffmpeg.c:65: parse error before '}' token
ffmpeg.c: In function `OpenDecoder':
ffmpeg.c:124: `AVCodecContext' undeclared (first use in this function)
ffmpeg.c:124: (Each undeclared identifier is reported only once
ffmpeg.c:124: for each function it appears in.)
ffmpeg.c:124: `p_context' undeclared (first use in this function)
ffmpeg.c:125: `AVCodec' undeclared (first use in this function)
ffmpeg.c:138: warning: implicit declaration of function `avcodec_find_decoder'
ffmpeg.c:138: warning: assignment makes pointer from integer without a cast
ffmpeg.c:145: warning: implicit declaration of function `avcodec_alloc_context'
ffmpeg.c:151: `FF_MM_MMX' undeclared (first use in this function)
ffmpeg.c:155: `FF_MM_MMXEXT' undeclared (first use in this function)
ffmpeg.c:159: `FF_MM_3DNOW' undeclared (first use in this function)
ffmpeg.c:163: `FF_MM_SSE' undeclared (first use in this function)
ffmpeg.c:164: `FF_MM_SSE2' undeclared (first use in this function)
ffmpeg.c:183: dereferencing pointer to incomplete type
ffmpeg.c: In function `CloseDecoder':
ffmpeg.c:196: dereferencing pointer to incomplete type
ffmpeg.c:198: dereferencing pointer to incomplete type
ffmpeg.c:199: dereferencing pointer to incomplete type
ffmpeg.c:201: warning: implicit declaration of function `avcodec_close'
ffmpeg.c:201: dereferencing pointer to incomplete type
ffmpeg.c:202: dereferencing pointer to incomplete type
ffmpeg.c:203: dereferencing pointer to incomplete type
ffmpeg.c:206: dereferencing pointer to incomplete type
ffmpeg.c: In function `GetFfmpegCodec__ffmpeg':
ffmpeg.c:239: `CODEC_ID_MPEG1VIDEO' undeclared (first use in this function)
ffmpeg.c:247: `CODEC_ID_MPEG2VIDEO' undeclared (first use in this function)
ffmpeg.c:275: `CODEC_ID_MPEG4' undeclared (first use in this function)
etc etc etc!
...Russell