>
> 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]
Clearly there is a problem with the includes. Either avutil.h is not
installed at all, or it is installed somewhere else. If it is installed,
but somewhere else, you have two choices: make a symlink at
../libavutil/avutil.h pointing back to whereever the file actually is,
or find the source.c file which is looking for avutil.h (using grep) and
fix the include call to #include=avutil.h or /ffmpeg/avutil.h or whatever.
If it is not installed something has gone very wrong!
And could you please take the time to trim your posts..please?
Geoff
Tux says: "Be regular. Eat cron flakes."
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
04-21-2010, 10:31 AM
Nikolay Yatsyshyn
zoneminder AXIS mpeg4 ffmpeg-libraries
R. G. Newbury wrote:
On 04/20/2010 01:10 PM, users-request@lists.fedoraproject.org wrote:
Clearly there is a problem with the includes. Either avutil.h is not
installed at all, or it is installed somewhere else. If it is installed,
but somewhere else, you have two choices: make a symlink at
../libavutil/avutil.h pointing back to whereever the file actually is,
or find the source.c file which is looking for avutil.h (using grep) and
fix the include call to #include=avutil.h or /ffmpeg/avutil.h or whatever.
If it is not installed something has gone very wrong!
And could you please take the time to trim your posts..please?
Geoff
Tux says: "Be regular. Eat cron flakes."
so, I make patch for rpmbuild spec, logs after rebuild:
config.log:
ac_cv_header_ffmpeg_libavcodec_avcodec_h=yes
ac_cv_header_ffmpeg_libavformat_avformat_h=yes
ac_cv_header_ffmpeg_libavutil_avutil_h=yes
ac_cv_header_ffmpeg_libswscale_swscale_h=yes
ac_cv_header_libavcodec_avcodec_h=yes
ac_cv_header_libavformat_avformat_h=yes
ac_cv_header_libavutil_avutil_h=yes
ac_cv_header_libswscale_swscale_h=yes
status.log
D["HAVE_LIBAVUTIL_AVUTIL_H"]=" 1"
D["HAVE_FFMPEG_LIBAVUTIL_AVUTIL_H"]=" 1"
D["HAVE_LIBAVCODEC_AVCODEC_H"]=" 1"
D["HAVE_FFMPEG_LIBAVCODEC_AVCODEC_H"]=" 1"
D["HAVE_LIBAVFORMAT_AVFORMAT_H"]=" 1"
D["HAVE_FFMPEG_LIBAVFORMAT_AVFORMAT_H"]=" 1"
D["HAVE_LIBSWSCALE_SWSCALE_H"]=" 1"
D["HAVE_FFMPEG_LIBSWSCALE_SWSCALE_H"]=" 1"
but still get "You must have ffmpeg libraries installed to use remote
camera protocol 'rtsp' for monitor 3"
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
04-22-2010, 07:28 AM
Nikolay Yatsyshyn
zoneminder AXIS mpeg4 ffmpeg-libraries
So, thank you very much for help, I have fixed this issue!
The problem was in configure.ac. Now I have worked zm installation with
mpeg4 via RTSP from AXIS camera.
I'm include a patch to message, it fix incorrect headers path and enable
ffmpeg libraries. Depencies you need to install manualy, nothing custom
"make install" would be.
@@ -244,10 +244,10 @@ else
AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([gnutls-openssl.a is
required for authenticated streaming - use ZM_SSL_LIB option to select
openssl instead]))
fi
AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcr e.a may be required
for remote/network camera support))
-dnl AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavut il.a may be
required for MPEG streaming))
-dnl AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(lib avcodec.a is
required for MPEG streaming))
-dnl AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(l ibavformat.a is
required for MPEG streaming),[-lavcodec -lavutil])
-dnl AC_CHECK_LIB(swscale,sws_scale,,,-lswscale)
+AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavu til.a may be required
for MPEG streaming))
+AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(li bavcodec.a is required
for MPEG streaming))
+AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN( libavformat.a is
required for MPEG streaming),[-lavcodec -lavutil])
+AC_CHECK_LIB(swscale,sws_scale,,,-lswscale)
AC_CHECK_LIB(bz2,BZ2_bzCompress,,AC_MSG_WARN(zm requires libbz2.a for
recent versions of ffmpeg))
AC_CHECK_LIB(z,compress,,)
@@ -259,14 +259,13 @@ AC_CHECK_HEADERS(linux/videodev.h,,AC_MS
AC_CHECK_HEADERS(linux/videodev2.h,AC_SUBST(ZM_V4L2,"1"),AC_MSG_WARN(zm
requires Video4Linux2 to be installed for V4L2 support),)
AC_CHECK_HEADERS(mysql/mysql.h,,AC_MSG_ERROR(zm requires MySQL headers
- check that MySQL development packages are installed),)
AC_CHECK_HEADERS(libavutil/avutil.h,,,)
-AC_CHECK_HEADERS(ffmpeg/avutil.h,,,)
+AC_CHECK_HEADERS(ffmpeg/libavutil/avutil.h,,,)
AC_CHECK_HEADERS(libavcodec/avcodec.h,,,)
-AC_CHECK_HEADERS(ffmpeg/avcodec.h,,,)
+AC_CHECK_HEADERS(ffmpeg/libavcodec/avcodec.h,,,)
AC_CHECK_HEADERS(libavformat/avformat.h,,,)
-AC_CHECK_HEADERS(ffmpeg/avformat.h,,,)
+AC_CHECK_HEADERS(ffmpeg/libavformat/avformat.h,,,)
AC_CHECK_HEADERS(libswscale/swscale.h,,,)
-AC_CHECK_HEADERS(ffmpeg/swscale.h,,,)
-AC_CHECK_HEADERS(pcre/pcre.h,AC_SUBST(ZM_PCRE,"1"),,)
+AC_CHECK_HEADERS(ffmpeg/libswscale/swscale.h,,,)
AC_CHECK_HEADERS(pcre.h,AC_SUBST(ZM_PCRE,"1"),,)
if test "$ENABLE_MMAP" = "yes"; then
AC_CHECK_HEADERS(sys/mman.h,,,)
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
04-22-2010, 09:16 AM
Nikolay Yatsyshyn
zoneminder AXIS mpeg4 ffmpeg-libraries
I have submitted new bug with patches:
https://bugzilla.redhat.com/show_bug.cgi?id=584716
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines