[Libav-user] how to compile ffmpeg as library
Philip Schneider
pjschneider at earthlink.net
Sat Jan 10 03:51:51 CET 2015
Hi -
It would be helpful if you could provide some details:
- What platform are you trying to build for? Windows, Mac, Linux, BSD, Solaris? And what version?
- Are trying to cross-compile (building for a platform different than the one you’re running the compiler on)?
- Can you be more specific about what you’ve tried so far?
- Are you trying also to write an application that needs to use ffmpeg libraries?
Instructions for various platforms are here: https://www.ffmpeg.org/platform.html
Compiling ffmpeg is a bit challenging, and the instructions presume some level of experience, which you as a “beginner of programming” may not yet have…This is particularly true for compiling on Windows…
You might want to consider if you really need to build the libraries from sources yourself. There are pre-built versions for various flavors of Linux, for Windows, and for Mac OS X (https://www.ffmpeg.org/download.html).
I have built libraries from source, for Mac and for Windows, but I only did so because I needed to create shared libraries with no GPL restrictions…otherwise I would have just used pre-built packages.
Again, a little more information from you would allow others to offer useful advice :-)
— Philip
On Jan 8, 2015, at 5:05 PM, SooMin Ahn <wingjyn at gmail.com> wrote:
>
>
> hi there.
> I am a beginner of programming. recently, I've researched about ffmpeg.
> B'cuz i need a ffmpeg such as library. So, i've found how to compile ffmpeg as library. But I can't find that way. some similar way is on internet but it doesn't right way.
> first i tried to configuring and then tried to compile with gcc and all .a files (like libavcodec.a ...). Failed... and tried other ways and failed again...So, I need your help.
>
> ffmpeg is wrapper. i know. But i need it as a library. Plz. how could it can be?
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150109/be35798e/attachment.html>
More information about the Libav-user
mailing list