Cannot compile on Fedora Core 4
Posted: Sun Nov 20, 2005 3:32 am
I am trying to compile zoneminder on Fedora Core 4, but am not having much luck.
I am getting the following error:
zm_mpeg.cpp: In member function ‘void VideoStream::SetupCodec(int, int, int, int, int)’:
zm_mpeg.cpp:102: error: ‘struct AVCodecContext’ has no member named ‘frame_rate’
zm_mpeg.cpp:103: error: ‘struct AVCodecContext’ has no member named ‘frame_rate_base’
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/home/lennox/installs/zoneminder/zm-1.21.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lennox/installs/zoneminder/zm-1.21.4'
make: *** [all] Error 2
Surfing the web, it looks like this is a problem with the change in ffmpeg? I thought I read somewhere on (in the changelog, I think) that this was fixed.
Any suggestions on how to get this to compile? If I have not given enough info, or if this has already been answered elsewhere, I apologize. From the website, the software looks great, and I'd love to get it up and running. Any help would be greatly appreciated.
Thanks
-lennox
I am getting the following error:
zm_mpeg.cpp: In member function ‘void VideoStream::SetupCodec(int, int, int, int, int)’:
zm_mpeg.cpp:102: error: ‘struct AVCodecContext’ has no member named ‘frame_rate’
zm_mpeg.cpp:103: error: ‘struct AVCodecContext’ has no member named ‘frame_rate_base’
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/home/lennox/installs/zoneminder/zm-1.21.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lennox/installs/zoneminder/zm-1.21.4'
make: *** [all] Error 2
Surfing the web, it looks like this is a problem with the change in ffmpeg? I thought I read somewhere on (in the changelog, I think) that this was fixed.
Any suggestions on how to get this to compile? If I have not given enough info, or if this has already been answered elsewhere, I apologize. From the website, the software looks great, and I'd love to get it up and running. Any help would be greatly appreciated.
Thanks
-lennox