Ubuntu install - libavutil.a may be required for MPEG stream

Support and queries relating to all previous versions of ZoneMinder
Locked
kevin_robson
Posts: 247
Joined: Sun Jan 16, 2005 11:26 am

Ubuntu install - libavutil.a may be required for MPEG stream

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
kevin_robson
Posts: 247
Joined: Sun Jan 16, 2005 11:26 am

Post 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.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
kevin_robson
Posts: 247
Joined: Sun Jan 16, 2005 11:26 am

Post 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.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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.
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
kevin_robson
Posts: 247
Joined: Sun Jan 16, 2005 11:26 am

Post 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.
drakkan
Posts: 29
Joined: Tue Oct 24, 2006 8:38 pm

Post 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
User avatar
R2D2
Posts: 170
Joined: Tue Dec 27, 2005 5:02 pm
Location: Stuttgart, Germany

Post 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.
emamirazavi
Posts: 6
Joined: Thu Oct 12, 2006 10:49 am

My ubuntu is working well but...

Post 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. :(
curtishall
Posts: 440
Joined: Sat Sep 25, 2004 12:45 am
Location: Fulton, MO

Post 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
emamirazavi
Posts: 6
Joined: Thu Oct 12, 2006 10:49 am

Post 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.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

agree with the above
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
koalas
Posts: 9
Joined: Wed Dec 17, 2008 1:19 am

Post 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.
Locked