Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TTA Lossless Audio Codec
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
NuclearFusi0n
Apprentice
Apprentice


Joined: 20 Jun 2003
Posts: 297

PostPosted: Thu Jan 15, 2004 8:42 am    Post subject: TTA Lossless Audio Codec Reply with quote

Apparently TTA 2.0 smacks around every other lossless codec and eats most of em for lunch...

Home Page: http://tta.iszf.irk.ru/

TTA 2.0 vs. other codecs: http://tta.iszf.irk.ru/comparisons.html

Anybody have any experience with TTA? ebuilds even? =D
_________________
I will keel yoo grub
Back to top
View user's profile Send private message
Anime_Fan
Guru
Guru


Joined: 01 Jul 2003
Posts: 366
Location: Linköping, Sweden

PostPosted: Thu Jan 15, 2004 6:22 pm    Post subject: Reply with quote

To be honest, half a meg per file isn't that much when we're talking 30 MB files.

And it takes its fair time to encode with it.

I suggest you download a package yourself.

I used ftp://tta.iszf.irk.ru/ttaenc-2.0-src-20040112.zip. Then just unzip it and run make. No ./configure or anything. Just make, and then run ttaenc.

That's a good thing. 61 kB sources after you remove things like the GPL from the files. ANSI C without comments. The code is pretty much unreadable for me (mainly because I skimmed it).

Code:
ls
entropy.c  entropy.h  filters.c  filters.h  Makefile  ttaenc.c  ttaenc.h
kami@kami tta $ du -h .
61K     .
kami@kami tta $ make
gcc -c -Wall -O2 -funroll-loops -fomit-frame-pointer entropy.c
gcc -c -Wall -O2 -funroll-loops -fomit-frame-pointer filters.c
filters.c:51: varning: missing braces around initializer
filters.c:51: varning: (near initialization for `flt_set[0]')
filters.c: I funktion `filters_compress':
filters.c:248: varning: initiering from incompatible pointer type
filters.c:249: varning: initiering from incompatible pointer type
filters.c:250: varning: initiering from incompatible pointer type
filters.c: I funktion `filters_decompress':
filters.c:278: varning: initiering from incompatible pointer type
filters.c:279: varning: initiering from incompatible pointer type
filters.c:280: varning: initiering from incompatible pointer type
gcc -c -Wall -O2 -funroll-loops -fomit-frame-pointer ttaenc.c
ttaenc.c: I funktion `process_files':
ttaenc.c:808: varning: int format, long int arg (arg 3)
ttaenc.c:808: varning: int format, long int arg (arg 4)
ttaenc.c:813: varning: int format, long int arg (arg 4)
ttaenc.c: I funktion `main':
ttaenc.c:823: varning: `farg' might be used uninitialized in this function
ttaenc.c:823: varning: `parg' might be used uninitialized in this function
ttaenc.c:823: varning: `act' might be used uninitialized in this function
gcc entropy.o filters.o ttaenc.o -o ttaenc -Wall -O2 -funroll-loops -fomit-frame-pointer -lm


This post was answered in accordance with "the adopt an unanswered post initiative today"
Back to top
View user's profile Send private message
The Mountain Man
l33t
l33t


Joined: 03 Sep 2003
Posts: 643

PostPosted: Thu Jan 15, 2004 7:26 pm    Post subject: Reply with quote

Don't really see how it "smacks around every other lossless codec and eats most of em for lunch" seeing as it is mostly on par with the other lossless codecs in the test.

Still, I love the idea of lossless compression and it's good to see some competing formats are starting to take shape. FLAC has already been integrated into at least one portable device (the iRiver, I believe), and I'm hoping the increased competition will allow advances in compression technology so that some day, losslessly compressed files will rival the size of today's MP3 and Ogg.
_________________
I suck at signatures.
Back to top
View user's profile Send private message
ShockValue
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2003
Posts: 137

PostPosted: Fri Jan 16, 2004 12:58 am    Post subject: Reply with quote

But does anything support the playback of these files?

<gripe>
Flac is supposedly a "well recognised" format in linux, yet maybe 1 in 10 players / taggers /etc actually read the format.

(Points eyes at JuK coders...)

</gripe>
Back to top
View user's profile Send private message
NuclearFusi0n
Apprentice
Apprentice


Joined: 20 Jun 2003
Posts: 297

PostPosted: Wed Jan 21, 2004 7:47 am    Post subject: Reply with quote

ShockValue wrote:
But does anything support the playback of these files?

<gripe>
Flac is supposedly a "well recognised" format in linux, yet maybe 1 in 10 players / taggers /etc actually read the format.

(Points eyes at JuK coders...)

</gripe>

IIRC JuK uses the gstreamer framework which supports FLAC excellently
_________________
I will keel yoo grub
Back to top
View user's profile Send private message
minimizebeefgoo
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jul 2003
Posts: 149
Location: MI, USA

PostPosted: Wed Jan 21, 2004 2:45 pm    Post subject: Reply with quote

And FLAC is still much better-supported, than say, Monkey's Audio, which I can't get to compile and the binary release of which I've seen refuses to decode anything. 1 is 10 is better than 1 in 30.
Back to top
View user's profile Send private message
Proton
Apprentice
Apprentice


Joined: 16 Mar 2003
Posts: 195
Location: Estoril, Portugal

PostPosted: Wed Jan 21, 2004 3:36 pm    Post subject: Reply with quote

AFAIK, the Monkey's Audio developer has almost given up on Monkey's Audio, as his daily work on Jriver's Media Center (an excellent jukebox for Windows, I hope there was something like it for Linux) takes up too much time...

It's a pity, really, as it's a damn good format. The reason why there aren't many plugins is because of the license MA was released under. It's not GPL-compatible, as you have to ask permission to the author to do anything bla bla bla. So, there can't be any plugins for GPL'ed programs/libraries, only LGPL'ed ones. That's why there are plugins for GStreamer and not for XMMS.

Anyway, with that kind of license, the only hope for development is from the author itself, and I don't think that's going to happen so soon. Maybe it's time to start looking for alternatives... FLAC looks nice, but it's not as effective as MA. Maybe it'll get better. This TTA one doesn't exactly seem supported, so it doesn't seem like a good choice.
_________________
Sérgio @ Portugal
IST - LEIC
Back to top
View user's profile Send private message
ShockValue
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2003
Posts: 137

PostPosted: Wed Jan 21, 2004 5:38 pm    Post subject: Reply with quote

Flac is now supported (mostly, I'm still working out a few kinks) in JuK with KDE release 3.2rc1.

I'm a happy man.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum