Hi, I'm trying to build ZM but get an issue with undefined reference to `avcodec_encode_video2'.
It seems to be related to the libavcodec version. I see somewhere that `avcodec_encode_video2' is only available in libavcodec54.
Does anybody know how to solve this?
Cheers,
Jarle
During 'Make':undefined reference to `avcodec_encode_video2'
Re: During 'Make':undefined reference to `avcodec_encode_vid
I replied in the other thread but my problem was that I was using static libraries with my custom ffmpeg compile. I removed everything and then rebuilt ffmpeg from scratch using the shared library configuration instead and that got me past that error. The problem was apparently an old library file hanging out somewhere that was causing a problem with the zoneminder compile.