1. Download Source: http://ffmpeg.org/download.html
2. Decompression: TAR–XVF ffmpeg-3.2.1.tar.bz2
3. Configuration
eg:./configure--enable-shared--enable-memalign-hack--disable-debug--prefix=/home/heya/ffmpeg/out/--arch=arm-- cross-prefix=arm-hisiv200-linux---target-os=linux
Attention:
--prefix=/home/heya/ffmpeg/out/the path to the output of the generated file (executable file, header file, library file).
--arch=arm Chip Solution
--target-os=linux System Solutions
--arch=arm--cross-prefix=arm-hisiv200-linux-Cross-compiler tool chain
4. Compile Make
5. Install output make install, output (bin; Include;lib;share four folders)
6. Executable row File Migration: porting the non-static library in Lib to the root filesystem's lib or usr/lib/directory and porting the bin to the root file system bin directory.
Using FFmpeg
Eg:ffmpeg-i Output.ts-codec copy-hls_list_size 120-hls_time testlive.m3u8
8. Library Migration Development:
# Migrate non-static libraries in Lib to the Lib or user/lib/directory of the root filesystem.
# Migrate non-static libraries in LIB to the specified library folder in the development project.
# Copy all files and folders below the include to the specified header folder of the development project.
# Now that the environment has been built, you can tailor the library files and header files to your own needs.
FFMPEG development Environment Building--(Linux)