2012-09-13 22:12:56 +03:00
|
|
|
FFmpeg examples README
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
Both following use cases rely on pkg-config and make, thus make sure
|
|
|
|
that you have them installed and working on your system.
|
|
|
|
|
|
|
|
|
2013-11-28 16:08:06 +03:00
|
|
|
Method 1: build the installed examples in a generic read/write user directory
|
2012-09-13 22:12:56 +03:00
|
|
|
|
|
|
|
Copy to a read/write user directory and just use "make", it will link
|
|
|
|
to the libraries on your system, assuming the PKG_CONFIG_PATH is
|
|
|
|
correctly configured.
|
|
|
|
|
2013-11-28 16:08:06 +03:00
|
|
|
Method 2: build the examples in-tree
|
2012-09-13 22:12:56 +03:00
|
|
|
|
|
|
|
Assuming you are in the source FFmpeg checkout directory, you need to build
|
2013-11-28 16:08:06 +03:00
|
|
|
FFmpeg (no need to make install in any prefix). Then just run "make examples".
|
|
|
|
This will build the examples using the FFmpeg build system. You can clean those
|
|
|
|
examples using "make examplesclean"
|
|
|
|
|
2013-12-02 16:22:11 +03:00
|
|
|
If you want to try the dedicated Makefile examples (to emulate the first
|
2013-11-28 16:08:06 +03:00
|
|
|
method), go into doc/examples and run a command such as
|
|
|
|
PKG_CONFIG_PATH=pc-uninstalled make.
|