HELP: zm_ffmpeg_camera.cpp:172: err: 'avcodec_decode_video2'
Posted: Sun Jan 15, 2012 11:54 pm
Hi all,
I've been using this guide http://www.zoneminder.com/wiki/index.ph ... rom_source to build and install ZoneMinder on Debian Squeeze XFCE, however I keep getting this error:
zm_ffmpeg_camera.cpp:172: error: 'avcodec_decode_video2' was not declared in this scope
make[1]: *** [zm_ffmpeg_camera.o] Error 1
I have no clue what this means or how to fix this. Can anyone help? I'm trying to get this up and running asap because break-ins are pretty common where I live. Thanks.
I have no idea if this helps. When I type ./configure, everything comes up 'yes' for checking except these:
checking whether we are cross compiling...no
checking for _Bool... no
checking for struct sigcontext.exp... no
checking whether gcc needs -traditional...no
checking whether stat accepts an empty string... no
checking for _doprnt... no
checking for ioctlsocket... no
checking for x264_predict_16x16_init in -lavcore... no
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h...no
configure: WARNING: Expect is required for automatic event uploading using sftp
I'm guessing if a function was 'not declared in this scope, there must be a missing ffmpeg codec or something, but I'm not sure. Just to double check, I went back and install all of the libav files for ffmpeg. For starters is this an FFMPEG error or a package issue?
I've been using this guide http://www.zoneminder.com/wiki/index.ph ... rom_source to build and install ZoneMinder on Debian Squeeze XFCE, however I keep getting this error:
zm_ffmpeg_camera.cpp:172: error: 'avcodec_decode_video2' was not declared in this scope
make[1]: *** [zm_ffmpeg_camera.o] Error 1
I have no clue what this means or how to fix this. Can anyone help? I'm trying to get this up and running asap because break-ins are pretty common where I live. Thanks.
I have no idea if this helps. When I type ./configure, everything comes up 'yes' for checking except these:
checking whether we are cross compiling...no
checking for _Bool... no
checking for struct sigcontext.exp... no
checking whether gcc needs -traditional...no
checking whether stat accepts an empty string... no
checking for _doprnt... no
checking for ioctlsocket... no
checking for x264_predict_16x16_init in -lavcore... no
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h...no
configure: WARNING: Expect is required for automatic event uploading using sftp
I'm guessing if a function was 'not declared in this scope, there must be a missing ffmpeg codec or something, but I'm not sure. Just to double check, I went back and install all of the libav files for ffmpeg. For starters is this an FFMPEG error or a package issue?