Which version of ffmpeg for ZM 1.21.4?
Posted: Sun Nov 27, 2005 5:57 pm
Had this problem earlier, thought perhaps it was fixed:
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_mpeg.o -MD -MP -MF ".deps/zm_mpeg.Tpo" -c -o zm_mpeg.o zm_mpeg.cpp; \
then mv -f ".deps/zm_mpeg.Tpo" ".deps/zm_mpeg.Po"; else rm -f ".deps/zm_mpeg.Tpo"; exit 1; fi
zm_mpeg.cpp: In member function `double VideoStream::EncodeFrame(uint8_t*, int, bool, unsigned int)':
zm_mpeg.cpp:331: error: 'struct AVCodecContext' has no member named 'time_base'
zm_mpeg.cpp:331: error: `av_rescale_q' undeclared (first use this function)
zm_mpeg.cpp:331: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/usr/local/src/zm-1.21.4/src'
This is with ffmpeg 0.4.9-pre1 from sourceforge...
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_mpeg.o -MD -MP -MF ".deps/zm_mpeg.Tpo" -c -o zm_mpeg.o zm_mpeg.cpp; \
then mv -f ".deps/zm_mpeg.Tpo" ".deps/zm_mpeg.Po"; else rm -f ".deps/zm_mpeg.Tpo"; exit 1; fi
zm_mpeg.cpp: In member function `double VideoStream::EncodeFrame(uint8_t*, int, bool, unsigned int)':
zm_mpeg.cpp:331: error: 'struct AVCodecContext' has no member named 'time_base'
zm_mpeg.cpp:331: error: `av_rescale_q' undeclared (first use this function)
zm_mpeg.cpp:331: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/usr/local/src/zm-1.21.4/src'
This is with ffmpeg 0.4.9-pre1 from sourceforge...