Luca Abeni schrieb:
> 
> Hi Thomas,
> 
> Thomas Rehaag wrote:
> > I've tried to configure ffmpeg with:
> > ./configure --enable-shared --disable-static --enable-memalign-hack
> > --disable-gpl --enable-swscale
> >
> > But I was told:
> > "The software scaler is under GPL and --enable-gpl is not specified."
> >
> > The first lines of swscale.h tell something different:
> >
> >  * This file is part of FFmpeg.
> >  *
> >  * FFmpeg is free software; you can redistribute it and/or
> >  * modify it under the terms of the GNU Lesser General Public
> >  * License as published by the Free Software Foundation; either
> >
> > So can annybody please point me to the truth about the license of
> > swscale?
> 
> If you look at all the files in the libswscale directory, you'll see
> that some of them are released under GPL, some other are under LGPL.
> As a result, the resulting library is released under GPL, because it
> contains GPLed components.
> 
> So, both the configure output and the swscale.h header are correct.
> 
> > And if it's really GPL, is there any way to get back img_convert?
> 
> You don't need it.
> Just configure ffmpeg without "--enable-swscale", and you will get
> a library released under the LGPL license that implement the swscale
> API by using the old image scaler contained in libavcodec.
> Since swscale.h's license is LGPL, there is no problem.
> If one day the license of swscale will change (I think there is a
> gsoc project working on something similar), your program will be ready
> to use libswscale without any change in the code.
> 
>                                 Luca

Thanks a lot. I've seen swscale-0.dll for windows on
http://arrozcru.no-ip.org/ and so I didn't even think of a chance, that
sws_scale could be included in one of the dlls I've compiled. 
Now I found it in avcodec.dll at the first view :)

Thomas
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to