[MPlayer-users] new animatrix , old problems :)
catalin.muresan at astral.ro
Sat Apr 5 15:45:52 CEST 2003
On Sat, Apr 05, 2003 at 03:09:32PM +0200, Dominik Mierzejewski wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Saturday, 05 April 2003, Catalin Muresan wrote:
> > > Cool. RPMs for faad. I'll take a look at them. I assume the mplayer RPMs
> > > there are the ones I provide?
> > no, i changed to -2 because i disabled runtime cpu detection (just
> > changed the spec and rebuilt the rpms) so it's for a duron - like the dir
> > says.
> > it would be nice if you could publish rpms with faad from now on :)
> I could, provided that I see some positive responses from other developers.
> When I started maintaining the official RPMs A'rpi, a few other developers
> and I agreed on a certain set of features that is now present in the
> current MPlayer packages. Adding faad support means that the users would
> need to download and install yet another package.
http://www.audiocoding.com/download.php says that binary
distributions is prohibited so that limits the options :(
> > faad required a change in a Makefile for it to compile, you could diff to
> > see what exactly.
> Could you send me the diff?
with the diff it builds but with libsndfile installed.
what i've tried to fix but was not able to fast is to use the
libsndfile that is included in the faad2-1.1.tar.gz source so the outside
dependency of libsndfile is no longer needed, i'll look into it and post a
reply if i succeed.
further info: if you can use the libsndfile from the faad package
you don't have to change from samples->frames (see patch) if not you have to
use the external libsndfile
not sure what gives the libstdc++ dependency
> MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
> "The Universe doesn't give you any points for doing things that are easy."
> -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
-------------- next part --------------
Only in faad2.orig/common: libsndfile
diff -ur faad2.orig/frontend/Makefile.am faad2/frontend/Makefile.am
--- faad2.orig/frontend/Makefile.am Thu Jul 25 17:22:25 2002
+++ faad2/frontend/Makefile.am Sat Apr 5 16:36:25 2003
@@ -6,4 +6,4 @@
CFLAGS = -O2 -D_FILE_OFFSET_BITS=64
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4v2
-LDADD = $(top_builddir)/libfaad/libfaad.la $(top_builddir)/common/mp4v2/libmp4v2.la -lm -lsndfile
+LDADD = $(top_builddir)/libfaad/libfaad.la $(top_builddir)/common/mp4v2/libmp4v2.la -lm -lsndfile -lstdc++
diff -ur faad2.orig/frontend/audio.c faad2/frontend/audio.c
--- faad2.orig/frontend/audio.c Thu Jul 25 15:42:54 2002
+++ faad2/frontend/audio.c Sat Apr 5 16:44:13 2003
@@ -52,7 +52,7 @@
aufile->sfinfo.channels = channels;
- aufile->sfinfo.samples = 0;
+ aufile->sfinfo.frames = 0;
if(infile == '-')
@@ -90,4 +90,4 @@
if (aufile) free(aufile);
\ No newline at end of file
More information about the MPlayer-users