[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libcvd-members] ffmpeg and swscale

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:


I am trying to compile CVD in macosx but it seems that my version of ffmpeg is incompatible

Undefined symbols:
"_img_convert", referenced from:
CVD::VFB::RawVideoFileBuffer::read_next_frame() in videofilebuffer.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [libcvd.dylib] Error 1

I'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




Try 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 you changed to test the new library.

address@hidden cvs diff
RCS file: /cvsroot/libcvd/libcvd/,v
retrieving revision 1.133
diff -r1.133
< 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], [])

If you set a=1 and someone (like me) has the ffmpeg_old_headers, the configure script will not compile ffmpeg.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]