Thursday, November 6, 2008

ffmpeg for ZM

Today i had tough time installing ZM with ffmpeg , I was using CentOS

At frist I installed the default system "ffmpeg" and then I went to intsall zm , while installing zone minder I was getting this error
zm_mpeg.cpp:281: error: cannot convert �ByteIOContext� to �ByteIOContext*� for argument �1� to �int url_fclose(ByteIOContext*)�

After searching the forum . I found that I need to install the latest ffmpeg
Uninsatalled the system "ffmpeg"
downloaded latest source by using
"svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg "
installed ffmpeg , but for ZM again problem
I faced problems Like

zm_mpeg.h:29:29: error: ffmpeg/avformat.h: No such file or directory
zm_mpeg.h:31:28: error: ffmpeg/swscale.h: No such file or director


Did so many things like copying files here and there , I think I nearly made a mess of my installation . then I happened to see the link which save me

"http://www.zoneminder.com/forums/viewtopic.php?t=12151&highlight=ffmpeg+avformat"

Followed it step by step and it ZM got installed
Thanks to "hushpuppy" user

No comments: