zoneminder AXIS mpeg4 ffmpeg-libraries
Nikolay Yatsyshyn
koffua at gmail.com
Tue Apr 20 14:17:06 UTC 2010
Mogens Kjaer wrote:
> On 04/20/2010 02:41 PM, Nikolay Yatsyshyn wrote:
>
>> Mogens Kjaer wrote:
>>
>>> On 04/20/2010 01:23 PM, Nikolay Yatsyshyn wrote:
>>> ...
>>>
>>>
>>>> I have been installed ffmpeg-devel, but it was not helpful. This is
>>>> complete log, when I enable camera with mpeg4 profile:
>>>>
>>>>
>>> You'll need to recompile zoneminder. You can't use the version of
>>> zoneminder from the fedora repository.
>>>
>>> Mogens
>>>
>>>
>>>
>> Ok, I have downloaded srpm with
>> yumdownloader --source zoneminder&& rpm -ivh zoneminder-1.24.2-3.fc12.src.rpm.
>> zoneminder from repos was compiled with:
>>
>> %configure \
>> --with-libarch=%{_lib} \
>> --with-mysql=%{_prefix} \
>> --with-webdir=%{_datadir}/%{name}/www \
>> --with-cgidir=%{_libexecdir}/%{name}/cgi-bin \
>> --with-webuser=%{zmuid} \
>> --with-webgroup=%{zmgid} \
>> --disable-debug \
>> $OPTS
>> make %{?_smp_mflags}
>> %{__perl} -pi -e 's/(ZM_WEB_USER=).*$/${1}%{zmuid_final}/;' \
>> -e 's/(ZM_WEB_GROUP=).*$/${1}%{zmgid_final}/;' zm.conf
>>
>> so I have added:
>> --with-ffmpeg \
>> --with-extralibs="-lmp3lame"
>> but still get: FAT [You must have ffmpeg libraries installed to use remote
>> camera protocol 'rtsp' for monitor 3]. Where can I get a complete list of
>> extralibs to put valid options as "-lmp3lame" in config? I think it need to put
>> something like "-lrtsp", but I don't know which option is valid. I know only
>> ffmpeg -formats.
>>
>>
>
> Is HAVE_LIBAVFORMAT set to 1 in config.h in the BUILD directory?
>
> Else search for ffmpeg in config.log in the same directory.
>
> Mogens
>
>
Nothing about. I think issue is going from:
configure:10445: checking libavutil/avutil.h usability
configure:10462: g++ -c -O2 -g -march=i386 -mtune=i686 -Iyes/include
conftest.cpp >&5
conftest.cpp:128:30: error: libavutil/avutil.h: No such file or directory
and finally got:
ac_cv_header_ffmpeg_avcodec_h=no
ac_cv_header_ffmpeg_avformat_h=no
ac_cv_header_ffmpeg_avutil_h=no
ac_cv_header_ffmpeg_swscale_h=no
ac_cv_header_libavcodec_avcodec_h=no
ac_cv_header_libavformat_avformat_h=no
ac_cv_header_libavutil_avutil_h=no
# rpm -ql ffmpeg-devel
/usr/include/ffmpeg
/usr/include/ffmpeg/libavcodec
/usr/include/ffmpeg/libavcodec/avcodec.h
so neither --libdir=/usr/include/ffmpeg, not
--with-ffmpeg=/usr/include/ffmpeg not help me, how to correctly include
valid path?
More information about the users
mailing list