You are not logged in.

#1 2004-10-11 18:29:06

vande198
Member
From: East Lansing, MI, USA
Registered: 2003-09-12
Posts: 98

faad2 w/xmms plugin won't compile

I've been attempting to get faad2 to compile a plugin for xmms according to http://davesource.com/Solutions/2004041 … ebian.html.  To do so, I thought all that I really had to do was modify the ./configure line of the PKGBUILD as such

./configure --prefix=/usr --with-xmms --with-libmp4v2

.  However, the compile job errors out during the process of building libmp4v2 giving this error:

make[3]: Entering directory `/home/abs/multimedia/faad2/src/faad2/common/mp4v2'
if /bin/sh ../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I                                                               ../.. -I../../include   -Wall  -march=i686 -O2 -pipe -MT atom_co64.lo -MD -MP -M                                                               F ".deps/atom_co64.Tpo" -c -o atom_co64.lo atom_co64.cpp; 
then mv -f ".deps/atom_co64.Tpo" ".deps/atom_co64.Plo"; else rm -f ".deps/atom_c                                                               o64.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -Wall -march=i686 -O2 -pipe                                                                -MT atom_co64.lo -MD -MP -MF .deps/atom_co64.Tpo -c atom_co64.cpp  -fPIC -DPIC                                                                -o .libs/atom_co64.o
In file included from mp4common.h:36,
                 from atom_co64.cpp:22:
mp4property.h:61: error: expected `0' before ""
mp4property.h:61: error: invalid initializer for virtual method `virtual MP4Prop                                                               ertyType MP4Property::GetType()'
mp4property.h:61: error: expected `;' before ""
mp4property.h:77: error: expected `0' before ""
mp4property.h:77: error: invalid initializer for virtual method `virtual u_int32                                                               _t MP4Property::GetCount()'
mp4property.h:77: error: expected `;' before ""
mp4property.h:78: error: expected `0' before ""
mp4property.h:78: error: invalid initializer for virtual method `virtual void MP                                                               4Property::SetCount(u_int32_t)'
mp4property.h:78: error: expected `;' before ""
mp4property.h:82: error: expected `0' before ""
mp4property.h:82: error: invalid initializer for virtual method `virtual void MP                                                               4Property::Read(MP4File*, u_int32_t)'
mp4property.h:82: error: expected `;' before ""
mp4property.h:84: error: expected `0' before ""
mp4property.h:84: error: invalid initializer for virtual method `virtual void MP                                                               4Property::Write(MP4File*, u_int32_t)'
mp4property.h:84: error: expected `;' before ""
mp4property.h:87: error: expected `0' before ""
mp4property.h:87: error: invalid initializer for virtual method `virtual void MP                                                               4Property::Dump(FILE*, u_int8_t, bool, u_int32_t)'
mp4property.h:87: error: expected `;' before ""
mp4property.h: In member function `u_int32_t MP4TableProperty::GetCount()':
mp4property.h:442: error: 'class MP4Property' has no member named 'GetType'
mp4property.h: In member function `void MP4TableProperty::SetCount(u_int32_t)':
mp4property.h:449: error: 'class MP4Property' has no member named 'GetType'
In file included from mp4common.h:48,
                 from atom_co64.cpp:22:
rtphint.h: At global scope:
rtphint.h:38: error: expected `0' before ""
rtphint.h:38: error: invalid initializer for virtual method `virtual u_int16_t M                                                               P4RtpData::GetDataSize()'
rtphint.h:38: error: expected `;' before ""
rtphint.h:39: error: expected `0' before ""
rtphint.h:39: error: invalid initializer for virtual method `virtual void MP4Rtp                                                               Data::GetData(u_int8_t*)'
rtphint.h:39: error: expected `;' before ""
make[3]: *** [atom_co64.lo] Error 1
make[3]: Leaving directory `/home/abs/multimedia/faad2/src/faad2/common/mp4v2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/abs/multimedia/faad2/src/faad2/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/abs/multimedia/faad2/src/faad2'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

Any help/patches will be nice.  Thanks.


"To be a Spartan is to be a philosopher much more than to be an athlete."
Plato, the <i>Protagoras</i>, 342e-343a

Offline

#2 2004-10-11 20:17:33

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: faad2 w/xmms plugin won't compile

i'm not on my laptop now, but Shemeta let me know that the HEAD of cvs of faad2 can build the xmms-plugin successfully

i'll include faad2-devel in unstable, when i get to my laptop


The impossible missions are the only ones which succeed.

Offline

#3 2004-10-12 04:25:56

vande198
Member
From: East Lansing, MI, USA
Registered: 2003-09-12
Posts: 98

Re: faad2 w/xmms plugin won't compile

Thank you much.  I appreciate it!


"To be a Spartan is to be a philosopher much more than to be an athlete."
Plato, the <i>Protagoras</i>, 342e-343a

Offline

#4 2004-10-12 14:44:14

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: faad2 w/xmms plugin won't compile

# $Id: PKGBUILD,v 1.1 2004/09/30 17:21:28 judd Exp $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Shemeta

pkgname=faad2-devel
pkgver=2.0.cvs20040915
tarver=15092004
pkgrel=1
pkgdesc="ISO AAC audio decoder [devel]"
url="http://www.audiocoding.com"
depends=('gcc')
makedepends=('libsndfile' 'id3lib' 'xmms')
source=(http://www.audiocoding.com/snapshot/faad2-$tarver.tar.gz)

build() {
  cd $startdir/src
  chmod +x bootstrap
  ./bootstrap || return 1
  ./configure --prefix=/usr --with-xmms --with-mp4v2 || return 1
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
}

do not strip the pkg (build it with makepkg -n)

i'm compiling it right now and will include it to unstable, if it works fine


The impossible missions are the only ones which succeed.

Offline

#5 2004-10-12 14:55:39

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: faad2 w/xmms plugin won't compile

WOW! works fine and goes to unstable!

finally i can play m4a in a nice player without having trouble (amarok-devel is too unstable, mplayer has a dreadfull playlist and rhythmbox dies unexpectedly)


The impossible missions are the only ones which succeed.

Offline

#6 2004-10-12 17:54:44

vande198
Member
From: East Lansing, MI, USA
Registered: 2003-09-12
Posts: 98

Re: faad2 w/xmms plugin won't compile

I'm excited too.  I'm building faac-devel via you PKGBUILD to see if it has m4a support yet.


"To be a Spartan is to be a philosopher much more than to be an athlete."
Plato, the <i>Protagoras</i>, 342e-343a

Offline

#7 2004-10-12 20:13:42

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: faad2 w/xmms plugin won't compile

vande198 wrote:

I'm excited too.  I'm building faac-devel via you PKGBUILD to see if it has m4a support yet.

report the faac and faac-devel changes here, please - i really wonder too, but do not have time to compile myself, thx


The impossible missions are the only ones which succeed.

Offline

#8 2004-10-13 05:03:00

hans-jürgen
Member
From: Hamburg, Germany
Registered: 2004-08-24
Posts: 17
Website

Re: faad2 w/xmms plugin won't compile

dp wrote:
vande198 wrote:

I'm excited too.  I'm building faac-devel via you PKGBUILD to see if it has m4a support yet.

report the faac and faac-devel changes here, please - i really wonder too, but do not have time to compile myself, thx

Yes it has since August 2003 and MP4 tagging since March 2004, you can find an updated changelog in the FAAC forum of Audiocoding.com that probably will be added to the CVS soon. FAAC supports the file extensions *.aac, *.mp4, *.m4a and *.m4b (bookmarkable *.m4a) in the current CVS snapshot from Sep 6, 2004 with the -o switch. See also the Wiki page for FAAC.

And thanks for testing the current snapshot/CVS version of the XMMS plugin, too. smile I think you don't even need to include libmp4v2 anymore if you just want the XMMS plugin, because the new version from Aug 22, 2004 uses libmp4ff now like FAAD2 itself. The bigger library from MPEG4IP which has been moved to the FAAC package recently is necessary for the MPEG4IP mp4player plugin and also FAAC, but not for the XMMS plugin.

By the way, it looks as if madman (file management app with iTunes GUI for XMMS) will also add support for MP4/M4A soon, see their mailing list.


ZZee ya, Hans-Jürgen
BLUEZZ BASTARDZZ on Myspace, YouTube and Last.fm
INDIGO ROCKS on Myspace and at home

Offline

#9 2004-10-13 07:53:07

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: faad2 w/xmms plugin won't compile

hans-jürgen wrote:
dp wrote:
vande198 wrote:

I'm excited too.  I'm building faac-devel via you PKGBUILD to see if it has m4a support yet.

report the faac and faac-devel changes here, please - i really wonder too, but do not have time to compile myself, thx

Yes it has since August 2003 and MP4 tagging since March 2004, you can find an updated changelog in the FAAC forum of Audiocoding.com that probably will be added to the CVS soon. FAAC supports the file extensions *.aac, *.mp4, *.m4a and *.m4b (bookmarkable *.m4a) in the current CVS snapshot from Sep 6, 2004 with the -o switch. See also the Wiki page for FAAC.

And thanks for testing the current snapshot/CVS version of the XMMS plugin, too. smile I think you don't even need to include libmp4v2 anymore if you just want the XMMS plugin, because the new version from Aug 22, 2004 uses libmp4ff now like FAAD2 itself. The bigger library from MPEG4IP which has been moved to the FAAC package recently is necessary for the MPEG4IP mp4player plugin and also FAAC, but not for the XMMS plugin.

By the way, it looks as if madman (file management app with iTunes GUI for XMMS) will also add support for MP4/M4A soon, see their mailing list.

thanx for this detailed informations - now i0m informed about the state of things

http://madman.sourceforge.net/index.php
http://sourceforge.net/mailarchive/foru … m_id=34193


The impossible missions are the only ones which succeed.

Offline

#10 2004-10-15 19:28:18

vande198
Member
From: East Lansing, MI, USA
Registered: 2003-09-12
Posts: 98

Re: faad2 w/xmms plugin won't compile

Sorry to take so long to get back to y'all.  Here's the PKGBUILD to faac-devel:

# $Id: PKGBUILD,v 1.1 2004/10/15 13:49:50 vande198 Exp $
# Adapted from the faad2-devel PKGBUILD by Jake VanderKolk <jakevanderkolk@gmail.com>
# Original faad2-devel PKGBUILD: damir <damir@archlinux.org> and Sarah Hay <sarah@archlinux.org>


pkgname=faac-devel
provides=('faac')
conflicts=('faac')
pkgver=1.24.cvs20040906
tarver=06092004
pkgrel=1
pkgdesc="ISO AAC and MP4 audio encoder [devel]"
url="http://www.audiocoding.com"
depends=('gcc')
makedepends=('libsndfile' 'id3lib')
source=(http://www.audiocoding.com/snapshot/faac-$tarver.tar.gz)
md5sums=('d3019c7ab1a51c808eb43bc34981dd88')

build() {
  cd $startdir/src/faac
  chmod +x bootstrap
  ./bootstrap || return 1
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
}

I also uploaded the pkg, filelist, and PKGBUILD to incoming.  Anyone can get it if you go to ftp://ftp.archlinux.org/incoming.


"To be a Spartan is to be a philosopher much more than to be an athlete."
Plato, the <i>Protagoras</i>, 342e-343a

Offline

#11 2004-10-16 08:48:49

hans-jürgen
Member
From: Hamburg, Germany
Registered: 2004-08-24
Posts: 17
Website

Re: faad2 w/xmms plugin won't compile

It seems that madman has support for writing MP4 tags now:

Subject: [madman-discuss] re: m4a support
Date: Fr 15.10.04, 14:49
Message-ID: 41701BB3.7070802@hotmail.com

I updated the m4a to do read write.  It requires mp4v2, which is
packaged in FAAC, and the scons scripts are edited to choose at compile
time.  Compile it with with_m4a=yes for it to be included.

Walt


ZZee ya, Hans-Jürgen
BLUEZZ BASTARDZZ on Myspace, YouTube and Last.fm
INDIGO ROCKS on Myspace and at home

Offline

Board footer

Powered by FluxBB