Page 1 of 1
Ubuntu install - libavutil.a may be required for MPEG stream
Posted: Wed Nov 08, 2006 5:20 pm
by kevin_robson
I have followed both of the guides for 6.06 on the wiki, but my configure script still complains about MPEG streaming.
./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data
..
..
checking for ff_gcd in -lavutil... no
configure: WARNING: libavutil.a may be required for MPEG streaming
checking for avcodec_init in -lavcodec... no
configure: WARNING: libavcodec.a is required for MPEG streaming
checking for av_new_stream in -lavformat... no
configure: WARNING: libavformat.a is required for MPEG streaming
..
..
I have seen various posts on this with others having a similar problem - is there a fix for it? I even tried compiling ffmpeg manually but that never helped either.
To be fair, it does look like it will compile without this, but it is driving me mad so I'd like to get to the bottom of it.
Thanks
Posted: Thu Nov 09, 2006 12:05 am
by cordel
First do you want mpeg streaming?
If not then ignore the warning, it just that.
If you do then you need to install other programs to support it (ffmpeg)
Nothing is broken. It's warning you that mpeg streaming will not be supported.
Cheers,
Corey
Posted: Thu Nov 09, 2006 8:24 am
by kevin_robson
Thanks
I installed ffmpeg as part of the install guide (alternate ubuntu guide)
I would like to have mpeg streaming ideally, in case I need to use internet explorer - isn't that what it is for?
I also occasionally want to generate MPEGs from my events.
Posted: Thu Nov 09, 2006 8:32 am
by jameswilson
keven dont use ubuntu then.
If you want the easy life choose one of the ready made distro. PLus non of us regulars know anything about it (apart from all the things that dont work on it form peoploe posting here) so we cant really help you fix it.
use ctu or non live mandriva based distros
Posted: Thu Nov 09, 2006 10:26 am
by kevin_robson
Fair comment.
I normally use Suse 10.1 - very successfully from a Zoneminder point of view.
I was looking at switching over to Ubuntu because I have a few bugs on Suse with other applications, and Ubuntu seems a lot more stable and other applications seem a lot easier to get hold of than other distributions at the moment.
If I cant find a fix for this I might try something else, I just thought somebody must have got around it on Ubuntu.
Posted: Thu Nov 09, 2006 10:33 am
by jameswilson
it seems to be be getting more popular and i am seeing loads of questions about this and that not working with ubuntu. But as before non of us here use ubuntu so until a ubutu gure starts regulaly posting or one of use switches then there aint to much help we can provide.
Posted: Thu Nov 09, 2006 11:22 am
by kevin_robson
I understand. I was just hoping one of the posters of the guides or someone else may have come across the same thing. I know from other posts that others have seen this, its just whether anyone ever found a fix.
Posted: Thu Nov 09, 2006 5:13 pm
by drakkan
kevin_robson wrote:Fair comment.
I normally use Suse 10.1 - very successfully from a Zoneminder point of view.
I was looking at switching over to Ubuntu because I have a few bugs on Suse with other applications, and Ubuntu seems a lot more stable and other applications seem a lot easier to get hold of than other distributions at the moment.
If I cant find a fix for this I might try something else, I just thought somebody must have got around it on Ubuntu.
I had a very bad experience with ubuntu (dapper on amd64) and zoneminder
after the installation all seems ok however I had several problems with live view such as random crash on client and zm4ms not working properly (really slow), after a week of problem I switched to centos and now all is really fine no relevant problem
Posted: Sun Nov 12, 2006 8:47 pm
by R2D2
I have tested many Distros, and i find out:
Unfortunately all debian based Linuxes are not really suitably for ZM.
I use Mandiva-2007 or Gentoo-2006.1 for ZM.
My ubuntu is working well but...
Posted: Thu Dec 07, 2006 6:34 am
by emamirazavi
After all, my ubuntu is working well with ZM, but i got a problem with its video streaming (live view) in Mpeg option... I'd be appreciated, you had a acquire answer for me... bye the way, I've installed ffmpeg well beforehand!
Thanks a lot.
Posted: Thu Dec 07, 2006 1:17 pm
by curtishall
I'll have to respectfully disagree about the comment that debian distro's aren't suitable for Zoneminder. They work fine, and the only issue you will run into is setting up MPEG streaming. This is a simple fix, instead of installing the ubuntu / debian packages of libavcodec and libavutil download the latest CVS version of ffmpeg and manuall install it.
--
Curtis Hall
Bluecherry
www.bluecherry.net
Posted: Fri Dec 08, 2006 8:03 am
by emamirazavi
curtishall wrote:I'll have to respectfully disagree about the comment that debian distro's aren't suitable for Zoneminder. They work fine, and the only issue you will run into is setting up MPEG streaming. This is a simple fix, instead of installing the ubuntu / debian packages of libavcodec and libavutil download the latest CVS version of ffmpeg and manuall install it.
--
Curtis Hall
Bluecherry
www.bluecherry.net
Thanks a lot, but it is necessary i follow your guide, therefore i'll tell you feedback afterwards.
Posted: Tue Dec 19, 2006 10:05 am
by cordel
Lets clear the air abit.
ZoneMinder can work with any Linux/Unix OS and any of them are suitable (stable versions may work alot better though, DUH
).
Although there are differences between them and you have to know and understand what those differences are and build your software accordingly, of coarse this assumes you have at least intermediate knowledge of your OS that you will be using. While personally my knowledge is based around RedHat and Fedora, I have managed to ssh into other distros and help successfully get ZoneMinder running for many here. I have yet to find a Distro it don't work on.
Suggestion for people who just want it to work and decide that they don't want to learn is stick with the distros provided... I don't condone this but I rather see people take the time to learn, but on the other hand I spend ALOT of time supporting whom I can when ever possible (This tends to make any girl that might be in my life pretty cranky especially since none of us see even any but sparse donations for our time maybe once every several months if we are lucky we get 20 bucks, So I guess I am a really cheep whore), I can't be here to teach basic and advanced linux when there are sites out there specifically for that and every ones common interest here is ZoneMinder. While I do enjoy learning the differences this also takes away from our time making ZM better and adding features. Most of us here that help support the users do so for two reasons... the goodness in our heart, and so that Phil is not as burdened buy the forum and can spend more time actually working on ZM (Because his girl can get cranky too since he already has a real job, see would rather see a bit of him).
If you want to learn how linux works I suggest looking into LFS aka Linux From Scratch and at least read the documentation so you at least have an Idea of whats going on (FYI my first Linux experience was Late 2003, I one of the first things I did when I got involved using this project was learn through LFS so no one can tell me that it's not feasible, I did it).
Regards,
Corey
Posted: Tue Dec 19, 2006 10:42 pm
by jameswilson
agree with the above
Posted: Wed Dec 17, 2008 1:21 am
by koalas
I was working through this same problem on my CentOS box that I installed just for this.
The solution to the original problem is that you are missing the ffmpeg-devel package.