cablecas.blogg.se

Static ffmpeg library
Static ffmpeg library












static ffmpeg library

make install will install to path provided in above step in –prefix make make installĩ) move to ffmpeg folder and configure it for compiling with libx264./configure -enable-gpl -enable-libx264 -enable-pthreads -enable-static -extra-cflags=-I./x264/include -extra-ldflags=-L. –enable-shared: Add this option for generating shared libraryħ) compile and install x264. git clone git:///x264.gitĦ) Compile x264 for static libraries. mv ffmpeg-2.4.3 ffmpeg-gplĤ) Get the latest libx264 in ffmpeg directory. So you mean that I should add -extra-libs'-L/path/to/static/libx264a -lx264' right Ill give that a shot. You may want to use 'ldd' to test for dynamic libraries. I chose to rename it to ffmpeg_gpl to keep it reminding me that I am using GPL version. An alternative is using '/path/to/lib.a' on the linking line instead of '-L/path/to -llib'. You may want to keep two version of FFMPEG one LGPL version and other GPL version. Try avoiding making changes in your already compiled FFMPEG. svn checkout svn:///ffmpeg/trunk ffmpegĢ) Rename ffmpeg directory to something you will remember like ffmpeg_gpl.














Static ffmpeg library