IPB

Welcome Guest ( Log In | Register )

6 Pages V  < 1 2 3 4 > »   
Reply to this topicStart new topic
Lossless AAC?, Coming to iTunes 4.5 soon!
Speek
post Apr 28 2004, 12:43
Post #26





Group: Members
Posts: 394
Joined: 31-October 01
Member No.: 386



I've added Apple Lossless to my performance comparison of lossless audio compressors. I didn't find a way yet to decode the compressed files to WAVE files, so decoding speed is "?" for now.
Go to the top of the page
 
+Quote Post
kl33per
post Apr 28 2004, 13:01
Post #27


A/V Moderator


Group: Members
Posts: 841
Joined: 9-June 03
From: Brisbane, AUS
Member No.: 7078



Should be able to do it with QuickTime Pro. Otherwise I think it's impossible for the moment.


--------------------
www.sessions.com.au - Sessions Entertainment
Go to the top of the page
 
+Quote Post
robUx4
post Apr 28 2004, 13:09
Post #28


Matroska Developer


Group: Developer (Donating)
Posts: 410
Joined: 14-March 02
From: Paris
Member No.: 1519



Apparently it doesn't perform well, but at least it's fast...

"alac" ? It looks a lot like "flac" unsure.gif


--------------------
http://www.matroska.org/ : the best vapourware / http://robux4.blogspot.com/
Go to the top of the page
 
+Quote Post
Quasar
post Apr 28 2004, 13:11
Post #29





Group: Members
Posts: 21
Joined: 24-April 04
Member No.: 13676



QUOTE (kl33per @ Apr 28 2004, 04:01 AM)
Should be able to do it with QuickTime Pro.

Yep.
Go to the top of the page
 
+Quote Post
Iconoclast_a
post Apr 28 2004, 13:22
Post #30





Group: Members
Posts: 69
Joined: 6-June 03
Member No.: 7038



Dammit! Why can't they just support FLAC?!? Now a lot of people will have to reencode their audio collections, wasting lots of time and energy in something that's totally unnecessary.
Go to the top of the page
 
+Quote Post
QuantumKnot
post Apr 28 2004, 13:28
Post #31





Group: Developer
Posts: 1245
Joined: 16-December 02
From: Australia
Member No.: 4097



QUOTE (Iconoclast_a @ Apr 28 2004, 10:22 PM)
Dammit! Why can't they just support FLAC?!? Now a lot of people will have to reencode their audio collections, wasting lots of time and energy in something that's totally unnecessary.

And now a lot of people will find their non-iTunes player suddenly cannot play certain m4a files too rolleyes.gif
Go to the top of the page
 
+Quote Post
kl33per
post Apr 28 2004, 13:40
Post #32


A/V Moderator


Group: Members
Posts: 841
Joined: 9-June 03
From: Brisbane, AUS
Member No.: 7078



Unless this lossless codec is indeed an implementation of the upcoming ALS (which I find very difficult to believe considering that it's not finished IIRC), the music should not be stored in a MPEG-4 container at all.


--------------------
www.sessions.com.au - Sessions Entertainment
Go to the top of the page
 
+Quote Post
QuantumKnot
post Apr 28 2004, 13:44
Post #33





Group: Developer
Posts: 1245
Joined: 16-December 02
From: Australia
Member No.: 4097



The About box in iTunes doesn't reveal the source of the lossless codec. So it is unlikely to be FLAC.
Go to the top of the page
 
+Quote Post
Speek
post Apr 28 2004, 13:45
Post #34





Group: Members
Posts: 394
Joined: 31-October 01
Member No.: 386



Thanks kl33per. QuickTime Pro does the decoding job. But it seems to me there's a bug. Decoded files are some frames shorter than the original WAVE file. I've tested this with EAC's 'WAV compare' tool. Can someone confirm this?
Go to the top of the page
 
+Quote Post
kalmark
post Apr 28 2004, 13:52
Post #35





Group: Members
Posts: 596
Joined: 9-October 03
From: ZZ 9 Plural Z Alpha
Member No.: 9230



Is there a way to extract the "alac" part from the m4a container?

And does it make any sense? smile.gif

Sorry for spreading FUD before in the thread sad.gif

This post has been edited by kalmark: Apr 28 2004, 13:52


--------------------
Life is Real...
(But not in audio :) )
Go to the top of the page
 
+Quote Post
menno
post Apr 28 2004, 13:53
Post #36


Nero MPEG4 developer


Group: Developer (Donating)
Posts: 1187
Joined: 11-October 01
From: LA
Member No.: 267



QUOTE (bond @ Apr 28 2004, 12:27 PM)
the file contains "alac", i assume this means apple lossless audio codec...

The sample description box is indeed called "ALAC", for any MPEG-4 audio codec it would definately have to be "MP4A". So if it is the new MPEG-4 ALS codec they did not add it to the file in a very compatible way. It also seems that the file doesn't have an ESDS (ESDescriptor), so finding out more is not really possible sad.gif

BTW: Any MP4 reader should be able to read this file and just ignore the ALAC track as an unknown track. Crashing of a player would mean that it is buggy smile.gif

Menno
Go to the top of the page
 
+Quote Post
bond
post Apr 28 2004, 13:55
Post #37





Group: Members
Posts: 881
Joined: 11-October 02
Member No.: 3523



QUOTE (kl33per @ Apr 28 2004, 01:40 PM)
Unless this lossless codec is indeed an implementation of the upcoming ALS (which I find very difficult to believe considering that it's not finished IIRC), the music should not be stored in a MPEG-4 container at all.

yeah its problematic, still it doesnt break the files

i guess apple is simply too fast, or mpeg is too slow biggrin.gif

QUOTE (Speek @ Apr 28 2004, 01:45 PM)
Thanks kl33per. QuickTime Pro does the decoding job.

hm not here (at least the sample uploaded by kl33per)! i have qt 6.5 installed (but not itunes, which is i assume necessary)

QUOTE
The sample description box is indeed called "ALAC", for any MPEG-4 audio codec it would definately have to be "MP4A". So if it is the new MPEG-4 ALS codec they did not add it to the file in a very compatible way. It also seems that the file doesn't have an ESDS (ESDescriptor), so finding out more is not really possible

still they place it under "smhd" and didnt use the "nmhd" unkown atom, so the players could detect it as audio stream i think

i doubt that it is mpeg-4 als

This post has been edited by bond: Apr 28 2004, 14:03


--------------------
I know, that I know nothing (Socrates)
Go to the top of the page
 
+Quote Post
bawjaws
post Apr 28 2004, 14:01
Post #38





Group: Members
Posts: 148
Joined: 10-December 02
Member No.: 4043



To decode in iTunes set the import option to WAV in preferences, select the Lossless track and then select Convert to WAV in the Advanced menu.

Not tried it but it should work.
Go to the top of the page
 
+Quote Post
bawjaws
post Apr 28 2004, 14:03
Post #39





Group: Members
Posts: 148
Joined: 10-December 02
Member No.: 4043



QUOTE (QuantumKnot @ Apr 28 2004, 04:44 AM)
The About box in iTunes doesn't reveal the source of the lossless codec.  So it is unlikely to be FLAC.

The FLAC encoder/decoder is LGPL isn't it? That means they can modify it as much as they like and link it to anything, under any licence as long as they return any changes made to the FLAC code itself. I don't think there's an advertising clause, or is there?

edit: just checked the Safari about box which says nothing about KHTML, licenced under similar terms. edit3 : However, there is a Licence entry under the Help menu which talks about the LGPL, but that point is moot given the following info:

edit 2: just checked flac.sf.net and apparently they use Xiph's BSD licence nowadays.

This post has been edited by bawjaws: Apr 28 2004, 14:10
Go to the top of the page
 
+Quote Post
menno
post Apr 28 2004, 14:04
Post #40


Nero MPEG4 developer


Group: Developer (Donating)
Posts: 1187
Joined: 11-October 01
From: LA
Member No.: 267



QUOTE (bond @ Apr 28 2004, 01:55 PM)
QUOTE
The sample description box is indeed called "ALAC", for any MPEG-4 audio codec it would definately have to be "MP4A". So if it is the new MPEG-4 ALS codec they did not add it to the file in a very compatible way. It also seems that the file doesn't have an ESDS (ESDescriptor), so finding out more is not really possible

still they place it under "smhd" and didnt use an unkown atom, so the players could detect it as audio stream i think

Treating every track with a SMHD as AAC audio is wrong (ok, I guess some players might actually do that wink.gif ). So the parser will know that it is sound, but it will also know that it doesn't know what codec the track uses smile.gif

Menno

Edit: wait I meant to say YES biggrin.gif

This post has been edited by menno: Apr 28 2004, 14:06
Go to the top of the page
 
+Quote Post
bond
post Apr 28 2004, 14:19
Post #41





Group: Members
Posts: 881
Joined: 11-October 02
Member No.: 3523



hm they also name it "soun" in the handler reference atom (like its also the case with aac and mp3 in mp4)

what would be the more correct way to place an unspecified audio track in mp4? using "mp4a" in the sample descritption atom, but some own description (eg "alac" instead of "soun") under hdlr
or as apple does it: "soun" in hdlr and some private stuff ("alac") under "stsd"?


--------------------
I know, that I know nothing (Socrates)
Go to the top of the page
 
+Quote Post
menno
post Apr 28 2004, 14:22
Post #42


Nero MPEG4 developer


Group: Developer (Donating)
Posts: 1187
Joined: 11-October 01
From: LA
Member No.: 267



QUOTE (bond @ Apr 28 2004, 02:19 PM)
hm they also name it "soun" in the handler reference atom (like its also the case with aac and mp3 in mp4)

what would be the more correct way to place an unspecified audio track in mp4? using "mp4a" in the sample descritption atom, but some own description (eg "alac" instead of "soun") under hdlr
or as apple does it: "soun" in hdlr and some private stuff ("alac") under "stsd"?

All codec related stuff is in the ESDescriptor and there are fields in there where you can define your own codec. File should be exactly the same as a normal MP4 file with sound track, only ESDescriptor should have some different values to other codecs, as each codec will have different values to others codecs smile.gif

Menno
Go to the top of the page
 
+Quote Post
Ruiner
post Apr 28 2004, 14:28
Post #43





Group: Members
Posts: 6
Joined: 11-April 04
Member No.: 13410



QUOTE
To decode in iTunes set the import option to WAV in preferences, select the Lossless track and then select Convert to WAV in the Advanced menu.


This does work, but it's not a very accurate way of measuring the decoding speed because the system actually has to create the wave files which slows it down quite a bit.
But you can still use it for a comparison.

I conducted a highly scientific test using itunes, foobar and a stop watch:
itunes worked at approximately 43x to decode to wave
foobar worked at approximately 45x to decode the flac files to wave.

Running the flac files through the foobar speedmeter it decoded them at 65.60x
So I could maybe say itunes can decode at 63x on my athlon 2400+...but not really because the testing was so inaccurate.
Go to the top of the page
 
+Quote Post
bond
post Apr 28 2004, 14:30
Post #44





Group: Members
Posts: 881
Joined: 11-October 02
Member No.: 3523



QUOTE (menno @ Apr 28 2004, 02:22 PM)
QUOTE (bond @ Apr 28 2004, 02:19 PM)
hm they also name it "soun" in the handler reference atom (like its also the case with aac and mp3 in mp4)

what would be the more correct way to place an unspecified audio track in mp4? using "mp4a" in the sample descritption atom, but some own description (eg "alac" instead of "soun") under hdlr
or as apple does it: "soun" in hdlr and some private stuff ("alac") under "stsd"?

All codec related stuff is in the ESDescriptor and there are fields in there where you can define your own codec. File should be exactly the same as a normal MP4 file with sound track, only ESDescriptor should have some different values to other codecs, as each codec will have different values to others codecs smile.gif

Menno

hm but you said that the alac files have no esdescriptor!? blink.gif

btw how can i read out the esdescriptor?


--------------------
I know, that I know nothing (Socrates)
Go to the top of the page
 
+Quote Post
menno
post Apr 28 2004, 14:50
Post #45


Nero MPEG4 developer


Group: Developer (Donating)
Posts: 1187
Joined: 11-October 01
From: LA
Member No.: 267



QUOTE (bond @ Apr 28 2004, 02:30 PM)
hm but you said that the alac files have no esdescriptor!?  blink.gif

Yes, but since Apple uses ALAC instead of MP4A, it describes only one codec, but it's not a very nice way of doing things.

QUOTE
btw how can i read out the esdescriptor?


I just debug stepped through my mp4 parser smile.gif

Menno
Go to the top of the page
 
+Quote Post
Cygnus X1
post Apr 28 2004, 15:08
Post #46





Group: Members (Donating)
Posts: 676
Joined: 5-June 02
From: New York
Member No.: 2224



Just tried ALAC on my PowerBook...it is indeed a lot faster than FLAC (probably Altivec optimized), hitting encoding speeds of 23-24x on my G4 867 for rock music. Rush, Led Zeppelin, and Pink Floyd have compressed down to between 800-1000kbps, which falls short of what I would get with FLAC, but is much faster. Though I'm happy to now be able to easily convert my CD's to lossless for use on my Mac and iPod, I really wish Apple would have waited for MPEG-4 lossless or just implemented FLAC rather than going down the proprietary route.

This post has been edited by Cygnus X1: Apr 28 2004, 15:09
Go to the top of the page
 
+Quote Post
kl33per
post Apr 28 2004, 15:10
Post #47


A/V Moderator


Group: Members
Posts: 841
Joined: 9-June 03
From: Brisbane, AUS
Member No.: 7078



QUOTE (bond @ Apr 28 2004, 10:55 PM)
QUOTE (kl33per @ Apr 28 2004, 01:40 PM)
Unless this lossless codec is indeed an implementation of the upcoming ALS (which I find very difficult to believe considering that it's not finished IIRC), the music should not be stored in a MPEG-4 container at all.

yeah its problematic, still it doesnt break the files

It shouldn't break the file, but seeing as it's not part of the MPEG-4 Standard, they shouldn't have used the MPEG-4 container.

QUOTE
QUOTE (Speek @ Apr 28 2004, 01:45 PM)
Thanks kl33per. QuickTime Pro does the decoding job.

hm not here (at least the sample uploaded by kl33per)! i have qt 6.5 installed (but not itunes, which is i assume necessary)

You need QuickTime 6.5.1. iTunes is not nesscessary, just a registered QuickTime.


--------------------
www.sessions.com.au - Sessions Entertainment
Go to the top of the page
 
+Quote Post
M
post Apr 28 2004, 15:20
Post #48





Group: Members
Posts: 947
Joined: 29-December 01
Member No.: 830



Paging Josh Coalson....

- M.
Go to the top of the page
 
+Quote Post
bond
post Apr 28 2004, 15:28
Post #49





Group: Members
Posts: 881
Joined: 11-October 02
Member No.: 3523



QUOTE (kl33per @ Apr 28 2004, 03:10 PM)
It shouldn't break the file, but seeing as it's not part of the MPEG-4 Standard, they shouldn't have used the MPEG-4 container.

hm its a private extension, which the mp4 container allows (its the same way as ahead places subtitles in mp4)
basically i think that such an extension is not good but valid if mpeg is too slow to standardize a solution on its own (eg a lossless or a subtitle format)

still mpeg is working on such solutions on its own already but it seems to be too slow to satisfy some of the markets needs already wanting the stuff now: mpeg-4 als and for subs the mpeg-4 text stream format has been finalized recently (i hope to see some mpeg-4 subtitle implementations soon)

QUOTE
You need QuickTime 6.5.1.  iTunes is not nesscessary, just a registered QuickTime.

thx smile.gif

This post has been edited by bond: Apr 28 2004, 15:33


--------------------
I know, that I know nothing (Socrates)
Go to the top of the page
 
+Quote Post
Cyaneyes
post Apr 28 2004, 15:59
Post #50





Group: Members
Posts: 292
Joined: 21-September 03
Member No.: 8934



QUOTE
QUOTE
Handy Concept for Concept Rock

Many music CDs contain songs that blend into each other, and importing them to iTunes may create a small gap between songs that interrupts the flow. If you use the iTunes Join Tracks feature, the program melds two or more songs into one, continuous gap-free track. So now you can enjoy listening to classical music, concept rock albums and extended dance mixes without the silent treatment.



That's odd, why didn't they just offer gapless AAC like Nero AAC does (even if it's not part of the standard).


IIRC, the problem isn't with the files but with how iTunes and the iPod plays them. The iPod, especially, seems to introduce rather large gaps even with WAV files.

http://www.pretentiousname.com/mp3players/
Go to the top of the page
 
+Quote Post

6 Pages V  < 1 2 3 4 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd November 2009 - 06:09