ZoneMinder broke when I did an update in openSuSE 11.2 and Packman switch from ffmpeg to libav. The headers files as supplied with libav seem to be incompatible with ZoneMinder. Both 1.24.2 and from the svn. I downloaded the source for ffmpeg 0.6.90-rc0 and compiled it but have the same problem
Below is the problem, seems to find it but can't use it. Anyone got any ideas why? And I compiled ffmpeg with no options and then with --enable-shared --enable-gpl --enable-nonfree --enable-libschroedinger --enable-libtheora --enable-libx264 --enable-libvorbis but nothing seems to make a difference.
checking libavutil/avutil.h usability... no
checking libavutil/avutil.h presence... yes
configure: WARNING: libavutil/avutil.h: present but cannot be compiled
configure: WARNING: libavutil/avutil.h: check for missing prerequisite headers?
configure: WARNING: libavutil/avutil.h: see the Autoconf documentation
configure: WARNING: libavutil/avutil.h: section "Present But Cannot Be Compiled"
configure: WARNING: libavutil/avutil.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------- ##
configure: WARNING: ## Report this to support@zoneminder.com ##
configure: WARNING: ## ------------------------------------- ##
checking for libavutil/avutil.h... no
checking ffmpeg/avutil.h usability... no
checking ffmpeg/avutil.h presence... no
checking for ffmpeg/avutil.h... no
checking libavcodec/avcodec.h usability... no
checking libavcodec/avcodec.h presence... yes
configure: WARNING: libavcodec/avcodec.h: present but cannot be compiled
configure: WARNING: libavcodec/avcodec.h: check for missing prerequisite headers?
configure: WARNING: libavcodec/avcodec.h: see the Autoconf documentation
configure: WARNING: libavcodec/avcodec.h: section "Present But Cannot Be Compiled"
configure: WARNING: libavcodec/avcodec.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------- ##
configure: WARNING: ## Report this to support@zoneminder.com ##
configure: WARNING: ## ------------------------------------- ##
checking for libavcodec/avcodec.h... no
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking libavformat/avformat.h usability... no
checking libavformat/avformat.h presence... yes
configure: WARNING: libavformat/avformat.h: present but cannot be compiled
configure: WARNING: libavformat/avformat.h: check for missing prerequisite headers?
configure: WARNING: libavformat/avformat.h: see the Autoconf documentation
configure: WARNING: libavformat/avformat.h: section "Present But Cannot Be Compiled"
configure: WARNING: libavformat/avformat.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------- ##
configure: WARNING: ## Report this to support@zoneminder.com ##
configure: WARNING: ## ------------------------------------- ##
checking for libavformat/avformat.h... no
checking ffmpeg/avformat.h usability... no
checking ffmpeg/avformat.h presence... no
checking for ffmpeg/avformat.h... no
checking libswscale/swscale.h usability... no
checking libswscale/swscale.h presence... yes
configure: WARNING: libswscale/swscale.h: present but cannot be compiled
configure: WARNING: libswscale/swscale.h: check for missing prerequisite headers?
configure: WARNING: libswscale/swscale.h: see the Autoconf documentation
configure: WARNING: libswscale/swscale.h: section "Present But Cannot Be Compiled"
configure: WARNING: libswscale/swscale.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------- ##
configure: WARNING: ## Report this to support@zoneminder.com ##
configure: WARNING: ## ------------------------------------- ##
checking for libswscale/swscale.h... no
checking ffmpeg/swscale.h usability... no
checking ffmpeg/swscale.h presence... no
checking for ffmpeg/swscale.h... no
Packman really screwed me switching to libav - ZM broke
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
Re: Packman really screwed me switching to libav - ZM broke
Add CPPFLAGS="-D__STDC_CONSTANT_MACROS" to your configure line.
Like this:
mastertheknife
Like this:
Code: Select all
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-libarch=lib --with-mysql=/usr --with-ffmpeg=/usr --with-webdir=/var/www/zoneminder/htdocs --with-cgidir=/var/www/zoneminder/cgi-bin --with-webuser=apache --with-webgroup=apache --enable-debug=no --enable-crashtrace=yes CPPFLAGS="-D__STDC_CONSTANT_MACROS"
Kfir Itzhak.
Re: Packman really screwed me switching to libav - ZM broke
Yep, thanks, that's what I landed up doing, that got me over that hump. But I still have one IP camera that is not working. And I had better luck uninstalling the Packman libav stuff and compiling ffmpeg and using it. But now Opera won't stream but Firefox will Well a mjpeg stream, can't get an mpeg steam working again. Didn't want to spend a whole doing just this but landed up doing that. And I went to 1.24.3 so we'll see how it goes.
Re: Packman really screwed me switching to libav - ZM broke
Yeah well even with that Packman still screwed me. My ACTi ACM-3601 refuses to work with libav and so does my Vivotek IP7330. Compiling ffmpeg I can get the 7330 to work but not the 3601. And mpeg streaming is broke period. And can't stream to Opera at all anymore, get the 5 second jpeg refresh.
Thanks Packman. Not.
Thanks Packman. Not.
-
- Posts: 15
- Joined: Sun Jul 08, 2007 7:57 am
Re: Packman really screwed me switching to libav - ZM broke
I think Opera has a problem with MJPEG. Go back to Opera 9.60 and you may find it works fine. Opera 10.5 and 11.x are broken for me.
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
Re: Packman really screwed me switching to libav - ZM broke
Same here. I wonder if the Opera devs team is aware of the issue.CX23882-19 wrote:I think Opera has a problem with MJPEG. Go back to Opera 9.60 and you may find it works fine. Opera 10.5 and 11.x are broken for me.
mastertheknife
Kfir Itzhak.