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