| 1 | FFmpeg examples README |
| 2 | ---------------------- |
| 3 | |
| 4 | Both following use cases rely on pkg-config and make, thus make sure |
| 5 | that you have them installed and working on your system. |
| 6 | |
| 7 | |
| 8 | Method 1: build the installed examples in a generic read/write user directory |
| 9 | |
| 10 | Copy to a read/write user directory and just use "make", it will link |
| 11 | to the libraries on your system, assuming the PKG_CONFIG_PATH is |
| 12 | correctly configured. |
| 13 | |
| 14 | Method 2: build the examples in-tree |
| 15 | |
| 16 | Assuming you are in the source FFmpeg checkout directory, you need to build |
| 17 | FFmpeg (no need to make install in any prefix). Then just run "make examples". |
| 18 | This will build the examples using the FFmpeg build system. You can clean those |
| 19 | examples using "make examplesclean" |
| 20 | |
| 21 | If you want to try the dedicated Makefile examples (to emulate the first |
| 22 | method), go into doc/examples and run a command such as |
| 23 | PKG_CONFIG_PATH=pc-uninstalled make. |