2010/4/20 Mohamed El Morabity <pikachu.2014@xxxxxxxxx>
2010/4/20 Nikolay Yatsyshyn <koffua@xxxxxxxxx>
Nothing about. I think issue is going from: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
>
>
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?
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Hi,according to the configure.ac file provided in the sources, paths to ffmpeg headers and librairies are set from the value FFMPEG_PREFIX given to --with-ffmpeg like this (line 79):FFMPEG_LIBS="-L${FFMPEG_PREFIX}/${LIB_ARCH}"
FFMPEG_CFLAGS="-I${FFMPEG_PREFIX}/include"whereas it should be (if we use ffmpeg from RPM Fusion and with --with-ffmpeg=/usr):FFMPEG_LIBS="-L${FFMPEG_PREFIX}/${LIB_ARCH}/ffmpegFFMPEG_CFLAGS="-I${FFMPEG_PREFIX}/include/ffmpeg"Or maybe even better (more "portable"):FFMPEG_LIBS=`pkg-config --libs libavcodec libavformat`
FFMPEG_CFLAGS=`pkg-config --cflags libavcodec libavformat`Anyway this would need to regenerate the configure script using the autotools (autoreconf and such...).
Sorry, for the last lines, I mean:
FFMPEG_LIBS=`pkg-config --libs libavcodec libavutil`
FFMPEG_CFLAGS=`pkg-config --cflags libavcodec libavutil`
FFMPEG_CFLAGS=`pkg-config --cflags libavcodec libavutil`
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines