PDA

View Full Version : slimserver thinks m4a AAC files have zero length size



2004-08-03, 13:12
> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> Torgeir Veimo
> Sent: 03 August 2004 18:43
> To: Slim Devices Discussion
> Subject: [slim] slimserver thinks m4a AAC files have zero
> length size
>
> On Tue, 2004-08-03 at 14:32 +0100, Torgeir Veimo wrote:
> > On Tue, 2004-08-03 at 14:19 +0100, Robin Bowes wrote:
> > >
> > >
> > > This is definitely a bug in faad. I am now successfully
> playing m4a
> > > files in slimserver.
> >
> > Are you 100% sure this is a bug in faad? To me it seems it doesn't
> > even try to play the file at all.
>
> I got it working now, if I turn of cacheing. When I turn on
> the cache again, it stops working. The added sox command
> takes care of the endian issue. I found no CVS version of
> faad that compiled.

Torgeir (and others),

Try this: http://robinbowes.com/article.php/2004080319394853

..m4a playback from a version of faad checked out from CVS.

Enjoy!

R.
--
http://robinbowes.com

Torgeir Veimo
2004-08-03, 13:43
On Tue, 2004-08-03 at 21:12 +0100, robin-lists (AT) robinbowes (DOT) com wrote:
> > -----Original Message-----
> > From: discuss-bounces (AT) lists (DOT) slimdevices.com
> > [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> > Torgeir Veimo
> > Sent: 03 August 2004 18:43
> > To: Slim Devices Discussion
> > Subject: [slim] slimserver thinks m4a AAC files have zero
> > length size
> >
> > On Tue, 2004-08-03 at 14:32 +0100, Torgeir Veimo wrote:
> > > On Tue, 2004-08-03 at 14:19 +0100, Robin Bowes wrote:
> > > >
> > > >
> > > > This is definitely a bug in faad. I am now successfully
> > playing m4a
> > > > files in slimserver.
> > >
> > > Are you 100% sure this is a bug in faad? To me it seems it doesn't
> > > even try to play the file at all.
> >
> > I got it working now, if I turn of cacheing. When I turn on
> > the cache again, it stops working. The added sox command
> > takes care of the endian issue. I found no CVS version of
> > faad that compiled.
>
> Torgeir (and others),
>
> Try this: http://robinbowes.com/article.php/2004080319394853
>
> .m4a playback from a version of faad checked out from CVS.

Still getting this;

make[3]: Entering directory `/usr/local/src/faad2-CVS/plugins/mpeg4ip'
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -
I../.. -I../../include -D_REENTRANT -DNOCONTROLS -fexceptions -g -O2
-MT faad2.lo -MD -MP -MF ".deps/faad2.Tpo" -c -o faad2.lo faad2.cpp; \
then mv -f ".deps/faad2.Tpo" ".deps/faad2.Plo"; else rm -f ".deps/faad2.
Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -D_REENTRANT -
DNOCONTROLS -fexceptions -g -O2 -MT faad2.lo -MD -MP -MF .deps/faad2.Tpo
-c faad2.cpp -fPIC -DPIC -o .libs/faad2.o
faad2.cpp: In function `int aac_decode(codec_data_t*, long long unsigned
int,
int, int*, uint8_t*, unsigned int, void*)':
faad2.cpp:241: error: invalid conversion from `int' to `audio_format_t'

What external dependencies does faad have?

--
-Torgeir