|
From: | Pablo Barrera |
Subject: | Re: [libcvd-members] ffmpeg and swscale |
Date: | Wed, 20 Aug 2008 16:06:47 +0100 |
On 14/08/2008, at 17:14:59, Edward Rosten wrote:
On Thu, 14 Aug 2008, Pablo Barrera wrote:HiI am trying to compile CVD in macosx but it seems that my version of ffmpeg is incompatibleUndefined symbols: "_img_convert", referenced from:CVD::VFB::RawVideoFileBuffer::read_next_frame() in videofilebuffer.old: symbol(s) not found collect2: ld returned 1 exit status make: *** [libcvd.dylib] Error 1I've read in the archive of the mailing list this is a known issue. Is there any solution available yet? I've tried to fix myself but I lack a lot of knowledge about ffmpeg. Even with the information available at [1] [2] I haven't succeeded. Anyone with more knowledge about this could give some hints about what I should change at videofilebuffer.cc?Cheers, Pablo [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487643 [2] http://svn.mplayerhq.hu/ffmpeg/trunk/vhook/watermark.c?r1=6577&r2=6649Try the latest version of libCVD from CVS. I've updated it to use new versions of ffmpeg. You will have to compile ffmpeg with -- enable-gpl --enable-swscale and compile libCVD with --enable-gpl in order for this to work.I've tested it on 64 bit linux with the current latest SVN version of ffmpeg. I'm guessing you have a much older version, since I had to modify the code to look for headers in different places. It may work with your version.
There is an small bug in the configure.in you changed to test the new library.
address@hidden cvs diff configure.in Index: configure.in =================================================================== RCS file: /cvsroot/libcvd/libcvd/configure.in,v retrieving revision 1.133 diff -r1.133 configure.in 13a14,15 > AC_REQUIRE_CPP > 758d759 < 760c761< AC_CHECK_HEADERS(libavcodec/avcodec.h libavformat/avformat.h libswscale/swscale.h, [ffmpeg_new_headers=1], [a=1])
---> AC_CHECK_HEADERS(libavcodec/avcodec.h libavformat/avformat.h libswscale/swscale.h, [ffmpeg_new_headers=1], [])
797a799 >If you set a=1 and someone (like me) has the ffmpeg_old_headers, the configure script will not compile ffmpeg.
Pablo
[Prev in Thread] | Current Thread | [Next in Thread] |