error compiling with mpeg4ip-1.6

lizhong zhu zhulizhongum at yahoo.com.cn
Thu Jan 8 05:41:47 UTC 2009


hello, all of users:
when i compile mpeg4ip-1.6, i got the error:
--------------------------------------------------------------
-compare -fno-strict-aliasing -g -O2 -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT video_ffmpeg.lo -MD -MP -MF .deps/video_ffmpeg.Tpo -c video_ffmpeg.cpp  -fPIC -DPIC -o .libs/video_ffmpeg.o
video_ffmpeg.cpp: In member function 'virtual bool CFfmpegVideoEncoder::Init()':
video_ffmpeg.cpp:124: error: 'struct AVCodecContext' has no member named 'frame_rate'
video_ffmpeg.cpp:125: error: 'struct AVCodecContext' has no member named 'frame_rate_base'
video_ffmpeg.cpp:136: error: 'struct AVCodecContext' has no member named 'aspect_ratio'
make[4]: *** [video_ffmpeg.lo] Error 1
make[4]: Leaving directory `/usr/src/mpeg4ip-1.6/server/mp4live'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/mpeg4ip-1.6/server/mp4live'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mpeg4ip-1.6/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mpeg4ip-1.6'
make: *** [all] Error 2
-----------------------------------------------------
my os is centos-5.0. anyone knows that problem? 
please give me a hint!
thanks!
james.zhu
 


      


More information about the freebsd-multimedia mailing list