I've got FC3, customized apache dirs, php, etc. (not loaded from RPM)
I have seen many postings for errors regarding FFMPEG and the version that people are using. I tried all versions this past weekend and no luck, until this morning when I had time to sleep on it.
I downloaded the ffmpeg-0.4.9-pre1 source. I knew that I must have been doing something wrong, but not sure.
I wasn't doing anything wrong with the compile or install. I found out that FFMPEG wasn't installing everything like it should have been.
First the configure:
Code: Select all
./configure --enable-shared --enable-mp3lame
make
make install
To fix this, I just copied them to the appropriate directory. While still in the ffmpeg source directory type:
Code: Select all
cp libavcodec/libavcodec.a /usr/local/lib
cp libavformat/libavformat.a /usr/local/lib
Make sure that you DO NOT have the libavcodec.a and libavformat.a files in the /usr/lib directory, or your Zoneminder compile will fail.
My /etc/ld.so.conf file looks like the following:
Code: Select all
include ld.so.conf.d/*.conf
/usr/local/lib
/opt/mysql/lib/mysql
/opt/php/lib/php
/usr/X11R6/lib/nvidia-graphics-1.0-4496
/lib/security
Code: Select all
ldconfig
My configure string for Zoneminder
Code: Select all
./configure --with-mysql=/opt/mysql \
--with-webdir=/path/to/webdir \
--with-cgidir=/path/to/cgi-dir \
--with-webuser=nobody --with-webgroup=nobody \
--with-ffmpeg=/usr/local/include/ffmpeg --with-lame=/usr/include/lame
Hopefully this helps you.
-Geo