[TAG] Fwd: FFMPEG Installation
predivan at ptt.yu
Wed Oct 18 20:05:05 MSD 2006
On Tue, 10 Oct 2006 17:04:22 -0400
Suramya Tomar wrote:
> 2. How to modify (RPM - atrpms.net) installation of FFMPEG to include
> the amr_nb / amr_wb fixes in order for me to be able to convert 3GPP
> video to FLV.
You'll have to rebuild ffmpeg if you want that, so you'll need ffmpeg src.rpm, amr-nb and amr-wb source.
http://dl.atrpms.net/all/ffmpeg-0.4.9-17_r6524.at.src.rpm or http://dag.wieers.com/packages/ffmpeg/ffmpeg-0.4.9-0.6.20060918.rf.src.rpm
It's been years since I used rpm-based distros, so you'll have to work out details yourself, but procedure is as follows:
install src.rpm with rpm -ivv and check the output to see where it installed sources and spec file.
In this case source is ffmpeg-0.4.9 tar.bz2.Extract it with 'tar -xjf ffmpeg-0.4.9.tar.bz2'.Then unzip  to ffmpeg-0.4.9/libavcodec/amr_float,
and  to ffmpeg-0.4.9/libavcodec/amrwb_float.After that, recreate ffmpeg tarball with 'tar -cjf ffmpeg-0.4.9.tar.bz2 ffmpeg-0.4.9'.
Now, you'll have to edit spec file.
Open it in editor, and find %build section in it.
Add '--enable-amr-wb' as ./configure switch(amr_float is enabled by default).
Save spec file.
Build and install it:
rpm -ba ffmpeg.spec
That's it.Hopefully ;)
> PS. Would you know of any guide/tutorial that explains how to
> create/modify RPM's, where files are stored and where spec files can be
> found, once they are installed on a system?
 According to avcodec/amr.c
To set aside my fears over the car going bang I have built an ingenious
squirrel trap from a cat basket, some elastic bands, two cable ties, a
cork and a piece of string -- Adrian Foden seeks lunch, in #ukmg
More information about the TAG