2007/10/22, toby <[EMAIL PROTECTED]>:
> 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 !

I confirm this issue and commited patch here:

http://www.pipapo.org/gitweb?p=cinelerra/mob;a=commit;h=0f76346bd2a235108fe2e74086b6d804bb0081f8

>
> 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)


What is the current status of swscale support ?
Do you have patches ?

Nicolas (kwizart)

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

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

Reply via email to