Page 1 of 1

Installation, make

Posted: Tue Aug 15, 2006 12:17 pm
by Rebelhig
Hello,
I get the following faults when executing make:

zm_mpeg.cpp: In member function `void VideoStream::SetupCodec(int, int, int,
int, int)':
zm_mpeg.cpp:88: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
in initialization
zm_mpeg.cpp:109: error: 'struct AVCodecContext' has no member named 'frame_rate
'
zm_mpeg.cpp:110: error: 'struct AVCodecContext' has no member named '
frame_rate_base'
zm_mpeg.cpp: In member function `void VideoStream::OpenStream()':
zm_mpeg.cpp:161: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
in initialization
zm_mpeg.cpp: In destructor `VideoStream::~VideoStream()':
zm_mpeg.cpp:256: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
for argument `1' to `int avcodec_close(AVCodecContext*)'
zm_mpeg.cpp: In member function `double VideoStream::EncodeFrame(uint8_t*, int,
bool, unsigned int)':
zm_mpeg.cpp:303: error: cannot convert `AVCodecContext**' to `AVCodecContext*'
in initialization
make[2]: *** [zm_mpeg.o] Fehler 1
make[2]: Leaving directory `/usr/local/ZoneMinder-1.22.2/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/local/ZoneMinder-1.22.2'
make: *** [all] Fehler 2
debian:/usr/local/ZoneMinder-1.22.2#

Does anybody have an idea?

I work under Debian.

Reiner

Posted: Wed Aug 16, 2006 7:52 pm
by miles
Hi Reiner,

Try to install the ffmpeg patch you can find here:

http://www.zoneminder.com/wiki/index.php/1.22.2_Patches

It helped me.

Regards,

Peter

FFMPEG patch on Wiki

Posted: Tue Sep 12, 2006 12:39 am
by ManRoaming
Here's a question from a noob.

I see this FFMPEG patch code on wiki. Where exactly does this get plugged in?

javascript:emoticon(':?:')