Tutorials for:
Using the FFmpeg library in your own projects
Developing with the FFmpeg library
./configure --prefix=/usr/local/ffmpeg --disable-x86asm
make
sudo make install
echo "export LD_LIBRARY_PATH=/usr/local/ffmpeg/lib:$LD_LIBRARY_PATH">> ~/.bashrc
echo "export PKG_CONFIG_PATH=/usr/local/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH">> ~/.bashrc
source ~/.bashrc
./configure --prefix=/usr/local/ffmpeg --enable-shared --enable-static --enable-pic
make
sudo make install
./configure --prefix=/usr/local/ffmpeg --enable-libx264 --enable-gpl
with the pkg-config, there is no need to add --extra-cflags=-I/usr/local/ffmpeg/include --extra-cxxflags=-I/usr/local/ffmpeg/include --extra-ldflags=-L/usr/local/ffmpeg/lib
make
sudo make install
gcc muxing.c -o muxing pkg-config --cflags --libs libavdevice libavformat libavfilter libavcodec libswresample libswscale libavutil
-lx264
[1] https://wiki.multimedia.cx/index.php/Category:FFmpeg_Tutorials
[2] https://github.com/leandromoreira/ffmpeg-libav-tutorial
[3] https://github.com/sorrowhill/FFmpegTutorial
[4] http://dranger.com/ffmpeg/
[5] https://github.com/selvan/ffmpeg_tutorial
[6] https://github.com/loupus/ffmpeg_tutorial
[7] https://github.com/mpenkov/ffmpeg-tutorial
[8] https://lists.ffmpeg.org/doxygen/trunk/examples.html