1.23.3 not compatible with the latest ffmpeg?

Support and queries relating to all previous versions of ZoneMinder
Locked
RobinQi
Posts: 14
Joined: Thu Oct 02, 2008 4:29 pm

1.23.3 not compatible with the latest ffmpeg?

Post by RobinQi »

Hi! All: I am trying to compile the new 1.23.3 version. Downloaded the
latest ffmpeg. installed it.

The first issue I encountered was when I did the .configure. It reports
it cannot find the ffmpeg. After investigation I found a bunch of
subdirectories under /usr/local/include looks like the newly installed
ffmpeg, but none of them are called "ffmpeg". I had to manually create
a "ffmpeg" directory and copy all files from those subdirecories to it.
Then configure went through.

Then next issue is when I compile, the compiler reports:
zm_mpeg.cpp: In member function âdouble VideoStream::EncodeFrame(uint8_t*, int, bool, unsigned int)â:
zm_mpeg.cpp:325: error: 'img_convert' was not declared in this scope

It seems img_convert was in ffmpeg/avformat.h, but it is now deprecated
and deleted?
RobinQi
Posts: 14
Joined: Thu Oct 02, 2008 4:29 pm

Post by RobinQi »

Problem resolved. Had to recompile ffmpeg with bunch of switches turned on(mainly swscale lib), had to modify zm_mpeg.h to use the new directory structure. finally got all my cameras running now !!!
Locked