ffmpeg error when configure

Old forum that is now archived. Please use one of the other forums.
vlplayer
New Cone
New Cone
Posts: 3
Joined: 12 Mar 2004 20:41
Location: Santa Clara, CA

ffmpeg error when configure

Postby vlplayer » 20 Mar 2004 03:24

Hi,

I always get the following errors when I configure VLC on RedHat 8.0.
When configure 0.7.1
-------------------------
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
configure: error: Missing header file ffmpeg/avcodec.h.

when configure on 0.7.0
-----------------------------
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking postproc/postprocess.h usability... no
checking postproc/postprocess.h presence... no
checking for postproc/postprocess.h... no
checking for avcodec_init in -lavcodec... no
configure: error: Could not find ffmpeg on your system: you may get it from http://ffmpeg.sf.net/ (cvs version is recommended). Alternatively you can use --disable-ffmpeg to disable the ffmpeg plugins.
[root@localhost vlc-0.7.0]#

Actually, I can not find those header files in the source.
I followed all the instructions from old posts, but still failed. Anyone has the same experience and can provide some help? Thanks!
>>download ffmpeg 0.4.8
ffmpeg>./configure --enable-pp --enable-share
ffmpeg>make
ffmpeg>make install
ffmpeg>ldconfig

Thanks!

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 20 Mar 2004 10:39

>>download ffmpeg 0.4.8 (or from cvs), put in let's say ~/ffmpeg
~/ffmpeg>./configure --enable-pp
~/ffmpeg>make
(no make install necessary)

Then configure the VLC build with something like:
./configure --with-ffmpeg-tree=~/ffmpeg

Bear in mind that VLC is not straight forward to build because of all its dependancies (http://www.videolan.org/vlc/download-sources.html).

vlplayer
New Cone
New Cone
Posts: 3
Joined: 12 Mar 2004 20:41
Location: Santa Clara, CA

Thanks!

Postby vlplayer » 23 Mar 2004 01:43

Thank you, Gibalou!

./configure --with-ffmpeg-tree=~/ffmpeg

Just works fine.


Return to “VideoLAN”

Who is online

Users browsing this forum: No registered users and 24 guests