PDA

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



2004-08-01, 16:27
> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of kdf
> Sent: 01 August 2004 23:01
> To: Slim Devices Discussion
> Subject: [slim] slimserver thinks m4a AAC files have zero
> length size
>
> Quoting robin-lists (AT) robinbowes (DOT) com:
>
> >
> > > -----Original Message-----
> > > From: discuss-bounces (AT) lists (DOT) slimdevices.com
> > > [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of kdf
> > > Sent: 01 August 2004 19:02
> > > To: Slim Devices Discussion
> > > Subject: [slim] slimserver thinks m4a AAC files have
> zero length
> > > size
> > >
> > > change line 93 to read:
> > > if ($tags->{'TIMESCALE'} && $tags->{'DURATION'}) { instead of
> > > if ($tags->{'TIMESCALE'} && $tags->{'SECS'}) {
> > >
> >
> > Hi,
> >
> > I've implemented this and have got a little further in that
> slimserver
> > now makes an attempt to play the file but I just hear white noise.
>
> white noise is typical of an endian problem, which should
> have been eliminated, but clearly isn't. Try using -f 1
> instead of -f 2 in the convert.conf command line. I've been
> using -f 1 since I set up faad and the one m4a file I have
> plays fine ;) I've only had it play white noice when trying
> to convert to aif instead of wav.

Hi,

-f 1 doesn't make any difference - still white noise.

I tried doing faad -w file.m4a > file.wav and playing back the wav and I
still just get white noise so I suspect that faad may not be working
correctly.

Any further suggestions gratefully received...!

R.
--
http://robinbowes.com

Andrew W. Donoho
2004-08-01, 18:34
On Aug 1, 2004, at 16:27, <robin-lists (AT) robinbowes (DOT) com> wrote:
> -f 1 doesn't make any difference - still white noise.
>
> I tried doing faad -w file.m4a > file.wav and playing back the wav and
> I
> still just get white noise so I suspect that faad may not be working
> correctly.
>
> Any further suggestions gratefully received...!

Robin,

Please compile out of CVS as I directed. There is a bug in FAAD2 for
piping decoded music. You appear to have used someone's rpm of the
2.0.0 version. My instructions were in the previous email.

Andrew

____________________________________
Andrew W. Donoho
awd (AT) DDG (DOT) com, PGP Key ID: 0x81D0F250
+1 (512) 453-6652 (o), +1 (512) 750-7596 (m)

kdf
2004-08-01, 22:30
Quoting robin-lists (AT) robinbowes (DOT) com:


> Hi,
>
> -f 1 doesn't make any difference - still white noise.
>
> I tried doing faad -w file.m4a > file.wav and playing back the wav and I
> still just get white noise so I suspect that faad may not be working
> correctly.
>
> Any further suggestions gratefully received...!
>

if you are playing the WAV through slimserver, it may still be choosing the
wrong endian. I have had this happen to me, but not for a long time. Granted,
I am usually just a little ahead of even daily builds so 5.2.1 might qualify as
a long time. Hopefully Dean will have a second to explain how endian works and
have an idea why it might be getting wet wrong. I've not had the time to track
down just how the server is deciding. It is, however, supposed to be figuring
out for us.

-kdf