My environment is:zm_mpeg.cpp: In member function ‘double VideoStream::EncodeFrame(uint8_t*, int, bool, unsigned int)’:
zm_mpeg.cpp:386:77: error: ‘av_rescale_q’ was not declared in this scope
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/home/adrfhi/bin/source/ZoneMinder-1.25.0/src'
Linux sabayon 3.1.0-sabayon #1 SMP Sat Nov 12 08:03:21 UTC 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
My config command was:
FYI. Prior to the above I had to use the./configure --with-libarch=lib64 --with-ffmpeg=/usr/bin --with-mysql --with-extralibs="-lmp3lame" --with-webdir=/var/wwww/localhost/htdocs \
--with-cgidir=/var/www/localhost/cgi-bin --with-webuser=nginx --with-webgroup=nginx --with-webhost=localhost \
--disable-debug --disable-crashtrace --enable-mmap=no
fix from the FAQ to solveCPPFLAGS=-D__STDC_CONSTANT_MACROS
messages.libavutil/avutil.h: present but cannot be compiled
Your advice would be much appreciated.