Ubuntu 11.04 에서 x264 최신 버 전과 ffmpeg 0.6.1 을 컴 파일 하고 설치 합 니 다.
오랫동안 북 돋 우 어 마침내 이 문제 가 해결 되 었 습 니 다. 네티즌 여러분 께 감 사 드 립 니 다!다음은 제 가 설치 하고 컴 파일 하 는 과정 을 알려 드 리 겠 습 니 다. 한편 으로 는 여러분 을 도 울 수 있 기 를 바 랍 니 다. 다른 한편 으로 는 제 가 다음 에 컴 파일 할 때 또 오래된 문제 에 부 딪 히 는 것 을 방지 하기 위해 해결 방법 을 잊 었 습 니 다!
1. 이전에 x264, libx264 - dev, ffmpeg 를 설치 했다 면 먼저 마 운 트 해제 하고 X 터미널 이나 콘 솔 을 열 어 아래 명령 을 실행 하 십시오.
sudo apt-get purge ffmpeg x264 libx264-dev
2. 의존 소프트웨어 및 기타 컴 파일 에 필요 한 소프트웨어 설치:
sudo apt-get install build-essential subversion git-core checkinstall yasm texi2html libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libvorbis-devlibx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev nasm yasm libbz2-dev
3. faad 2 설치:
다운로드 주소:http://sourceforge.net/projects/faac/files/faad2-src/faad2-2.7/faad2-2.7.tar.gz/download faad 2 의 설치 가 가장 간단 합 니 다. 직접 압축 을 풀 고...
sudo ./configure && make && sudo make install
됐어.
4. faac 설치:
다운로드 주소:
http://sourceforge.net/projects/faac/files/faac-src/faac-1.28/faac-1.28.tar.gz/download
압축 해제 후 파일 수정:
vi +123 ./common/mp4v2/mpeg4ip.h
123 줄 부터 이 파일 mpeg 4 ip. h 를 수정 하여 129 줄 이 끝 날 때 까지 합 니 다.
:
#ifdef __cplusplus
extern "C" {
#endif
char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif
:
#ifdef __cplusplus
extern "C++" {
#endif
const char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif
그리고 기본 설치:
sudo ./configure && make && sudo make install
5. lame 설치:
다운로드 주소:
http://sourceforge.net/projects/lame/files/lame/3.98.4/lame-3.98.4.tar.gz/download?use_mirror=ncu
압축 해제 후:
./configure --enable-nasm --disable-shared && make && sudo make install
6. 최신 버 전의 x264 를 가 져 오고 컴 파일 하여 설치 합 니 다. git 명령 을 통 해 가 져 옵 니 다.
git clone git://git.videolan.org/x264.git
cd x264
./configure --enable-shared
make && sudo make install
7. ffmpeg0.6.1
:
http://www.ffmpeg.org/releases/ffmpeg-0.6.1.tar.gz
, :
./configure --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libx264
:
make && make install
, , , , , , ......
==========================================================================================================
, qq ! linux C ,shell , , , , 。。。。
QQ:213622826
==========================================================================================================
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
용감한 바로 가기 및 우분투 응용 프로그램안녕하세요 여러분, 이 기사에서는 모든 사이트에서 pwa를 생성하고 실행기 응용 프로그램으로 추가하는 방법을 설명하고 싶습니다. 일부 웹사이트는 PWA로 설치를 허용하지 않지만 유사한 애플리케이션을 원합니다. 1. ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.