Re: zoneminder AXIS mpeg4 ffmpeg-libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mohamed El Morabity wrote:
>
>
> 2010/4/20 Mohamed El Morabity <pikachu.2014@xxxxxxxxx 
> <mailto:pikachu.2014@xxxxxxxxx>>
>
>
>
>     2010/4/20 Nikolay Yatsyshyn <koffua@xxxxxxxxx
>     <mailto:koffua@xxxxxxxxx>>
>
>         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?
>         --
>         users mailing list
>         users@xxxxxxxxxxxxxxxxxxxxxxx
>         <mailto: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 <http://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}/ffmpeg
>        FFMPEG_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 was detected successfully with:
configure:8376: checking for ffmpeg
configure:8392: found /usr/bin/ffmpeg
configure:8404: result: yes
configure:8414: checking for ffmpeg
configure:8432: found /usr/bin/ffmpeg
configure:8444: result: /usr/bin/ffmpeg

# rpm -ql ffmpeg
/usr/bin/ffmpeg

ffmpeg-devel was installed headers to:
/usr/include/ffmpeg/libavdevice
/usr/include/ffmpeg/libavformat
/usr/include/ffmpeg/libswscale
/usr/include/ffmpeg/libavfilter
/usr/include/ffmpeg/libavcodec
/usr/include/ffmpeg/libavutil
/usr/include/ffmpeg/libpostproc

I tried to solve dependences manually, ./configure found all it need, 
but I still get in logs:

FAT [You must have ffmpeg libraries installed to use remote camera 
protocol 'rtsp' for monitor 3]

Now I have no variants where to look for.
PS. Also, I have one zoneminder server on debian with zm 1.24.2 and 
while testing I get the same error, so it look like this is ZM problem.

-- 
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

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux