Hi,
Gabriel Gambetta wrote:
> Hi, this is my first post to the list. I've recently added video playback to
> my game framework using ffmpeg. This works in Windows, Linux and Mac.
> However, I'm terribly confused by the libraries.
>
> I'm not compiling any of the libs. In Linux I install the ffmpeg-devel
> packages, in Windows I downloaded precompiled libs from somewhere (mingw?),
> and I don't remember about the Mac. Yes, I know this is not ideal.
>
> In Windows I have avcodec-51.dll, avutil-49.dll, swscale-0.dll and
> avformat-51.dll. These numbers match the versions of the ones installed in
> Fedora 6, except there's no libswscale. In my Fedora 9 machine I do have
> libswscale, avformat 52, and the rest of the versions match.
Sorry, but I do not really understand the problem: you use different
versions of the libraries, that have been compiled by different people
using different configuration options...
So, some differences in version numbers and exported symbols can be
expected.
> 1) Are there "official" prebuilt libraries for Windows, Linux and Mac?
No, the official way is to download ffmpeg from svn and to compile it by
yourself. This will automagically solve most of the problems.
> 2) Why there is swscale sometimes and in other cases the functions are in
> other library?
libswscale compilation can be enabled at configuration time: if
libswscale is not compiled, the sws_* calls are emulated through some
old and deprecated functions from libavcodec (which are not compiled if
you enable libswscale).
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user