Re: ffmpeg w/ amr RPM?

Dominik 'Rathann' Mierzejewski <[email protected]>
Newsgroups gmane.linux.freshrpms.user
Message-ID <[email protected]>
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"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.