On Thu, Dec 1, 2011 at 9:09 AM, Nathan <[email protected]> wrote:
> On Thu, Dec 1, 2011 at 4:07 AM, Luca Barbato <[email protected]> wrote:
>> On 01/12/11 01:30, Nathan wrote:
>>>
>>> Hi, I'm the (new) maintainer of AVbin, a project setting out to
>>> provide a stable ABI for the Pyglet project (and any other project
>>> that finds it useful) to decode audio/video by thinly wrapping FFmpeg
>>> and providing binary releases for various platforms.  The project was
>>> abandoned in 2008, but I volunteered to try to revive it several weeks
>>> ago.  The project home page is at http://avbin.github.com and the
>>> repository is at https://github.com/avbin/avbin
>>
>> I'm having a look, would be an option for you use a newer snapshot?
>>
>> lu
>
> Yes, absolutely.  If we could get it to work, I would be willing to
> use any newer version.  In my testing, though, I encountered the same
> linking error using versions 0.7.8, 0.8.7, and git master versions of
> FFmpeg, so I gave up on it being fixed by newer versions of code.
>
> I haven't tried using newer versions of Libav yet, though.  Assuming
> the codebase hasn't changed radically since the fork, it's a fairly
> straightforward matter of replacing the ffmpeg/ subdirectory of the
> project with whatever version of Libav you want to try, and running
> "./build.sh linux-x86-64".
>
> By the way, I get the same linking error on the 32-bit version of
> Ubuntu 11.10 running "./build.sh linux-x86-32" -- so the problem
> doesn't seem to be limited to 64-bit versions of stuff.
>
> I'll give it a try myself tonight after I get home from work.
>
> ~ Nathan

Head has too many changes that I don't want to try to adapt to at the
moment (compilation failed with all sorts of errors).  So next I tried
version 0.5.5 -- and it worked without any linking error! [1]

Unfortunately, the 0.5 branch was started in 2009, so it may be that
the code that causes the linking error simply hasn't appeared in that
branch.  Still, it's progress!

~ Nathan

[1] ...as long as I applied the following patch to my code:

diff --git a/Makefile.linux-x86-64 b/Makefile.linux-x86-64
index bb9324f..63d6455 100644
--- a/Makefile.linux-x86-64
+++ b/Makefile.linux-x86-64
@@ -8,7 +8,6 @@ STATIC_LIBS = -whole-archive \
               $(FFMPEG)/libavformat/libavformat.a \
               $(FFMPEG)/libavcodec/libavcodec.a \
               $(FFMPEG)/libavutil/libavutil.a \
-              $(FFMPEG)/libavcore/libavcore.a \
               $(FFMPEG)/libswscale/libswscale.a \
               -no-whole-archive \
               -R /usr/local/lib \
diff --git a/ffmpeg.configure.common b/ffmpeg.configure.common
index aa631e9..bd3283c 100644
--- a/ffmpeg.configure.common
+++ b/ffmpeg.configure.common
@@ -1,7 +1,12 @@
 # Don't need the executables
 --disable-ffmpeg
---disable-ffserver
+#--disable-avplay
+#--disable-avserver
 --disable-ffplay
+--disable-ffserver
+
+# Do need this
+--enable-swscale

 # Keep size down
 --disable-debug
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to