ffmpeg w/ amr RPM?

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Wed Oct 25 21:25:58 CEST 2006


On Wednesday, 25 October 2006 at 18:37, Troy Engel wrote:
> Dominik 'Rathann' Mierzejewski wrote:
> >On Monday, 23 October 2006 at 20:18, Troy Engel wrote:
> >>Anyone know of a repo that has the AMR (WB/NB/etc.) code and patches 
> >>applied to ffmpeg, and offers up a FC5 RPM for us? Is there some sort of 
> >
> >Mine does have it. Feel free to take the src.rpm apart. ;)
> 
> Hiya -- I tried digging around both of the URLs in your sig, but no 
> ffmpeg; have a URL for the .src.rpm to share? :)

Uh, sorry. I didn't read carefully enough. My MPlayer RPMs only have libav*
libraries from ffmpeg, but the recipe is the same for ffmpeg, too. Relevant
snippets from my mplayer.spec below:

%define amr_ver 26104-610
%define amrwb_ver 26204-600

Source10: http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/%{amr_ver}.zip
Source11: http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/%{amrwb_ver}.zip

%setup -q -n %{fname}-%{fversion} -a 6 -a 10 -a 11
unzip -qq %{amr_ver}?ANSI?C?source_code.zip
mv c-code libavcodec/amr_float
rm %{amr_ver}?ANSI?C?source_code.zip
rm %{amrwb_ver}.doc
unzip -qq %{amrwb_ver}?ANSI?C?source_code.zip
mv c-code libavcodec/amrwb_float
rm -f readme.txt
rm %{amrwb_ver}?ANSI?C?source_code.zip

Regards,
R.

-- 
Fedora Extras contributor http://fedoraproject.org/wiki/DominikMierzejewski
MPlayer developer         http://rpm.greysector.net/mplayer/
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"


More information about the freshrpms-list mailing list