Re: download srpms and rebuild package with other options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2006-07-27 at 16:31 +0200, Ambrogio wrote:
> Hi all,
> 
> I would like to understand well it in general, but I have a little
> problem.
> 
> I would like to use ffmpeg to convert amr files into wav or other.
> 
> I installed via yum from freshrpms all ffmpeg (and all related
> dependencies) but when I trie to convert my file with the command
> 
> ffmpeg -i Reg.amr Reg.wav I receive this output
> 
> FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
>   configuration:  --prefix=/usr --libdir=/usr/lib64
> --mandir=/usr/share/man --incdir=/usr/include/ffmpeg
> --extra-cflags=-fPIC --enable-mp3lame --enable-libogg --enable-vorbis
> --enable-theora --enable-faad --enable-faac --enable-libgsm
> --enable-xvid --enable-x264 --enable-a52 --enable-a52bin --enable-dts
> --enable-pp --enable-shared --enable-pthreads --enable-gpl
> --disable-opts --disable-strip
> 
> I think that I have to download the source package and rebuild with
> --enable-amr_nb --enable-amr_wb --enable-mp3lame
> 
> I don't know how to make it via rpm.
> 
> Can someone explain me all the steps?

Note: none of this should be done as root unless otherwise specified.

Create an RPM building environment for yourself:
http://www.city-fan.org/tips/CreateRPMBuildEnvironment

Download the SRPM

Install the SRPM:
$ rpm -Uvh /path/to/ffmpeg.src.rpm

Edit the spec file to add the configure options you want:
$ vi ~/rpmbuild/SPECS/ffmpeg.spec

It's good practice to also change the "Release" number and add a
changelog entry in the spec file when you wake changes.

Rebuild the package:
$ rpmbuild -ba ~/rpmbuild/SPECS/ffmpeg.spec

At this point you may find that you need to install some additional
-devel packages. These should be yum-able (as root).

Paul.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux