CentOS Compile ffmpeg and mencoder

Source: Internet
Author: User
Tags centos

Originally, on the blog together on the written is very complete, unfortunately, the original pure technology blog by the Wall, and at the same time, must use a amrnb and AMRWB download site also seems to be wall, or hung, helpless, and must use this thing, so with that new open AMR. After the completion of the download compiled with such parameters to compile the good.

The configuration of MEncoder is as follows: (This time the configuration is closed a lot of things, mainly useless)

Because of the opening of the Theora, so to go to the next Theora and Ogg source code into the MPlayer directory

Cp-r Include/theora. /mplayer-checkout-2009-11-20/cp-r Inclde/ogg. /mplayer-checkout-2009-11-20/

Notice, this ogg inside has a config_type.h.in, the content is not right, and the file name that needs is config_type.h, here is not clear what reason does not have, from 1.0 version inside directly copy content to come over:

#ifndef __config_types_h__ #define __CONFIG_TYPES_H__/* These are filled under configure/typedef int16_t ogg_int16_t; typedef int32_t OGG_INT32_T; typedef u_int32_t OGG_UINT32_T; typedef int64_t OGG_INT64_T; #endif

./configure--prefix=/usr/local/mencoder--codecsdir=/usr/local/mencoder/codecs--win32codecsdir=/usr/local/ Mencoder/codecs--realcodecsdir=/usr/local/codecs--enable-x264--enable-theora--enable-faad--ENABLE-FAAC-- Enable-libopencore_amrnb--ENABLE-LIBOPENCORE_AMRWB

Compilation parameters for FFmpeg

./configure--prefix=/usr/local/ffmpeg--ENABLE-LIBFAAC--enable-libfaad--enable-libx264--ENABLE-GPL- enable-shared--enable-libopencore-amrnb--ENABLE-LIBOPENCORE-AMRWB--enable-nonfree--enable-version3

Related Article

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.