|
[Alembik] FFmpeg library codecs (Re: Sample Client Code)
From: Jakub Danilewicz <jdanilewicz@ki...> - 2008-08-12 11:40
|
|
Ender Wiggin escribió: > I'm hosting Alembik via Glassfish on an Amazon Elastic Cloud Compute > instance running CentOS 5. > > I've been trying to find a version of ffmpeg with the 51.48.0 > libvacodec version, but haven't had any success. Do you think you > could point me towards one? > Well, it is a bit complicated issue, if you want to have all codecs supported. Available FFmpeg binary distributions lack the AMR narrow band codecs due to patent issues. You may get the AMR-NB libs separately, but to have it all working together you must compile FFmpeg yourself. Below you'll find the detailed recipe (courtesy of Dr. Pepix) how to make it for CentOS 5 and other related systems. Enable amr-nb in ffmpeg ----------------------- - get the rpmforge repository definition (follow the indications given at https://rpmrepo.org/RPMforge/Using) - install ffmpeg in the devel machine with all its dependencies yum install ffmpeg -y - get the amr-nb binary libraries (runtime and devel) yum install amrnb amrnb-libs -y - get the ffmpeg source code wget http://dag.wieers.com/rpm/packages/ffmpeg/ffmpeg-0.4.9-0.9.20070530.rf.src.rpm - "install" the source code in order to gain access to the spec file rpm -i ffmpeg-0.4.9-0.9.20070530.rf.src.rpm - edit the spec file in order to enable linking with the amr-nb libs cd $RPMHOME/SPECS # usually /usr/src/redhat/SPECS $EDITOR ffmpeg.spec # I recommend /usr/bin/emacs :) # add the line "--enable-libamr-nb" after the # line that reads "--enable-gpl" # it's strongly recommended to change the # package release, e.g.: 0.9 -> 0.9b - build the new rpm rpmbuild -ba ffmpeg.spec # the rpm will end in $RPMHOME/RPMS/<arch>/ffmpeg-... Install FFmpeg with all the bells and whistles ---------------------------------------------- - put the new ffmpeg and amr-nb rpm packages in the target machine # remember: scp is your friend! - get the rpmforge repository definition (follow the indications given at https://rpmrepo.org/RPMforge/Using) - install ffmpeg in the target machine with all its dependencies yum install ffmpeg -y - erase the standard ffmpeg rpm rpm -e ffmpeg - install the new ffmpeg and amr-nb libraries rpm -i ffmpeg-... amrnb-... j-d |
| Thread | Author | Date | |
|---|---|---|---|
| [Alembik] Sample Client Code | Chris L <fremen.kynes@gm...> |
|
|
|
|
|
|
|
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use