ffmpeg configure problems (libavcodec.a libavformat.a)

Support and queries relating to all previous versions of ZoneMinder
Locked
jashmenn
Posts: 4
Joined: Mon Feb 20, 2006 4:46 pm

ffmpeg configure problems (libavcodec.a libavformat.a)

Post by jashmenn »

I'm having some problems configuring Zoneminder to see my installation of ffmpeg. I have already install Zoneminder, but I really want the MPEG streaming to work.

This is what I get:

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've have both of these files installed, I've even tried downloading an older version:

Code: Select all

[nathan@cannonball ~/downloads/ZoneMinder-1.22.0]$ locate libavformat.a
/usr/local/lib/libavformat.a
/home/nathan/downloads/ffmpeg/libavformat/libavformat.a
/home/nathan/downloads/ffmpeg-0.4.8/libavformat/libavformat.a
However running configure --with-ffmpeg= any of these directories doesn't seem to do any good.

I know I am supposed to direct the --with-ffmpeg to ffmpeg root, but where is ffmpeg root exactly? The build directory or the installed directory? I am running Slackware 10.1. I've already installed zoneminder, now im just working on getting ffmpeg to work.

Any suggestions?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

The location to set --with-ffmpeg is where you configured the prefix.
Im your case it appears you used the default so it would be.
--with-ffmpeg=/usr/local

Regards,
Corey
bartekj
Posts: 7
Joined: Tue May 16, 2006 2:14 pm

Post by bartekj »

jashmenn,

I am running into the same problem.
No metter what is set with --with-ffmpeg= the configuration fails....
Have you been able to solve your problem ?

Bartek

PS my post about it is here:
http://www.zoneminder.com/forums/viewtopic.php?t=6181
Locked