FFMPEG development Environment Building--(Linux)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.