Ffmpeg expert plzz come

Started on the old forum in June 2012 · view the original in the archive · old links redirect here

#ffmpeg #install #server

2 replies · 1,056 views · started 14 years ago · 1 min read

2 participants
arbind004 Junior · 13 posts #1

OPERATING SYSTEM : CentOS 6.2 I am trying to install ffmpeg but getting erro. plzz give solve my problem.

yum install ffmpeg ffmpeg-devel

Error:

Error: Package: docbook-utils-0.6.14-24.el6.noarch (base)
           Requires: perl-SGMLSpm >= 1.03ii
 You could try using --skip-broken to work around the problem
** Found 8 pre-existing rpmdb problem(s), 'yum check' output follows:
MySQL-server-5.1.63-0.cloud.x86_64 has missing requires of perl(DBI)
bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf)
bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl)
bandmin-1.6.1-5.noarch has missing requires of perl(services.conf)
exim-4.77-1.x86_64 has missing requires of perl(SafeFile)
frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
libgcj-4.4.6-3.el6.x86_64 has missing requires of libasound.so.2()(64bit)
libgcj-4.4.6-3.el6.x86_64 has missing requires of libasound.so.2(ALSA_0.9)(64bit)
subzero Super moderator Fellow · 3,954 posts #2

Note: The # indicates that the command should be executed as superuser or root. Preparation

Remove any existing packages:

yum erase ffmpeg x264 x264-devel

Get the dependencies:

yum install gcc git make nasm pkgconfig wget

Make a source directory: mkdir ~/ffmpeg-source Installation Yasm

Yasm is an assembler used by x264 and FFmpeg. cd ~/ffmpeg-source wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz tar xzvf yasm-1.2.0.tar.gz cd yasm-1.2.0 ./configure make

make install

Note: If you do not require certain encoders you may skip the relevant section and then remove the appropriate ./configure option in FFmpeg. For example, if libtheora is not needed, then skip that section and then remove --enable-libtheora from the Install FFmpeg section. x264

H.264 video encoder. cd ~/ffmpeg-source git clone git://git.videolan.org/x264 cd x264 ./configure --enable-static make

make install

LAME

MP3 audio encoder. cd ~/ffmpeg-source wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz tar xzvf lame-3.99.5.tar.gz cd lame-3.99.5 ./configure --disable-shared --enable-nasm make

make install

libogg

Required for libtheora and libvorbis. cd ~/ffmpeg-source wget http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.xz tar Jxvf libogg-1.3.0.tar.xz cd libogg-1.3.0 ./configure --disable-shared make

make install

libtheora

Theora video encoder. cd ~/ffmpeg-source wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz tar xzvf libtheora-1.1.1.tar.gz cd libtheora-1.1.1 ./configure --disable-shared make

make install

libvorbis

Vorbis audio encoder. cd ~/ffmpeg-source wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar.gz tar xzvf libvorbis-1.3.3.tar.gz cd libvorbis-1.3.3 ./configure --disable-shared make

make install

vo-aacenc

VisualOn AAC audio encoder. cd ~/ffmpeg-source wget http://downloads.sourceforge.net/opencore-amr/vo-aacenc-0.1.1.tar.gz tar xzvf vo-aacenc-0.1.2.tar.gz cd vo-aacenc-0.1.2 ./configure --disable-shared make

make install

libvpx

VP8 video encoder. cd ~/ffmpeg-source git clone http://git.chromium.org/webm/libvpx.git cd libvpx ./configure make

make install

FFmpeg cd ~/ffmpeg-source git clone git://source.ffmpeg.org/ffmpeg cd ffmpeg ./configure --enable-gpl --enable-libmp3lame --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-version3 make

make install

Compilation is now complete and ffmpeg should now be ready to use. The rest of this guide shows how to update or remove FFmpeg.

Note: Keep the ffmpeg-source directory and all contents if you intend to update or uninstall as shown below. Updating x264, libvpx, and FFmpeg

First uninstall x264, libvpx, and FFmpeg: cd ~/ffmpeg-source/x264

make uninstall

cd ~/ffmpeg-source/ffmpeg

make uninstall

cd ~/ffmpeg-source/libvpx

make uninstall

Update x264 cd ~/ffmpeg-source/x264 make distclean git pull

Then run ./configure, make, and make install as shown in the Install x264 section. Update libvpx cd ~/ffmpeg-source/libvpx make clean git pull

Then run ./configure, make, and make install as shown in the Install libvpx section. Update FFmpeg cd ~/ffmpeg-source/ffmpeg make distclean git pull

Then run ./configure, make, and make install as shown in the Install FFmpeg section. Reverting changes made by this guide cd ~/ffmpeg-source/yasm-1.2.0

make uninstall

cd ../x264

make uninstall

cd ../lame-3.99.5

make uninstall

cd ../libogg-1.3.0

make uninstall

cd ../libtheora-1.1.1

make uninstall

cd ../libvorbis-1.3.3

make uninstall

cd ../libvpx

make uninstall

cd ../vo-aacenc-0.1.2

make uninstall

cd ../ffmpeg

make uninstall

rm -rf ~/ffmpeg-source

yum erase gcc git make nasm pkgconfig wget

Here: CentosCompilationGuide – FFmpeg

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

arbind004 Junior · 13 posts #3

thankx subzero i have change my CentOS 6.2 TO CentOS 5.8 and ffmpeg install sucessfully. thankx for help

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close