Hi Alexis,

looks like svn code hasn't seen any update regaring the issue with
swscale enabled external ffmpeg.

Here is what I had to do to compile latest SVN on a Debian system
utilizing external ffmpeg (libavcodeccvs51)
provided by Christian Marillat on http://www.debian-multimedia.org/,
which has swscale enabled.

First of all, it turned out that link stage (g++) was not able to find
any of the avcodec_* functions, because they are "C".
Wrapping the ffmpeg/avcodec includes of fileac3.C and ffmpeg.C into
extern "C" statements did the trick.
Maybe this is a completely sick approach, but at least g++ seems to be
happy at link time.
If anyone knows how to do better, please let me know !

Second, latest libavcodeccvs51 is built with swscale support enabled.
Therefor it was necessary
to apply some part of your patch manually (ffmpeg.C and adjustments to
the Makefile -> this was faster
than editing configure etc. and re-run everything from scratch)

So, here's my request to merge this patch (maybe in some adapted version
or anything similar) into SVN.
Having broken SVN code when it comes to external ffmpeg with enabled
swscale is a pretty bothersome situation.

The absolut minimum should be merge the configure code to check for a
swscale enabled external ffmpeg and
give a meaningfull error message ! This would have saved me from several
hours of trial and error.

Toby


_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to