HydrogenAudio

Hydrogenaudio Forum => Validated News => Topic started by: TBeck on 2009-07-27 22:20:00

Title: TAK 1.1.2
Post by: TBeck on 2009-07-27 22:20:00
Final release of TAK 1.1.2 ((T)om's lossless (A)udio (K)ompressor)

This version brings tagging support for the command line encoder and speed improvements of up to 10 percent.

It consists of:

- TAK Applications 1.1.2.
- TAK Winamp plugin 1.1.2.
- TAK SDK 1.1.1.
- TAK Decoding library 1.1.2.

Download

Download the archive in the upload section: TAK 1.1.2 Final (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=73666&view=findpost&p=648383)

What's new

New Features:

- Tagging support for the command line encoder.

Improvements:

- Depending on preset and cpu up to 10 percent faster encoding and decoding compared with V1.1.1.
- Slightly faster encoding and decoding of LossyWav files.
- Slightly faster encoding and decoding if MMX is disabled and the pure pascal code is beeing used.
- Removed some more assembler routines and simplified a lot of code. The binaries are again smaller now.

Fixes:

- The new filter introduced in V1.1.1 revealed a bug in the encoder, which resulted in suboptimal performance especially when compressing LossyWav-files with the presets -p3 or -p4 (BTW: It doesn't make sense to go higher than -p2m when compressing LossyWav-files...).

Known issues:

- If you use pipe decoding and the application reading the pipe is beeing terminated before the whole file has been read, TAKC may get into an endless loop and has to be manually killed with the task manager. I don't think this is a big issue but i will try to fix it in one of the next versions. BTW: Big thanks to shnutils for testing the pipe decoding!
- There seem to be some compatibility issues with pipe decoding to some other applications ("crc1632.exe" has been reported). I will try to fix it in the next release.

More information

You may find some useful information in the beta thread (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=72823&view=findpost&p=642073).

Plans for V1.1.3

I don't know yet.

Have fun...

Thomas
Title: TAK 1.1.2
Post by: TrNSZ on 2009-07-28 00:38:17
[deleted]
Title: TAK 1.1.2
Post by: Squeller on 2009-07-28 06:59:03
Thanks for the continuing development. For my lossless, I use 100% tak, because of its great speed/size ratio and its reliability.
Title: TAK 1.1.2
Post by: randal1013 on 2009-07-28 15:11:37
does foobar use pipe decoding?




TBeck: thanks for your work!
Title: TAK 1.1.2
Post by: Scidd0w on 2009-07-28 20:47:47
TBeck;

Thank you for all the hard work on this codec!
Title: TAK 1.1.2
Post by: Destroid on 2009-07-28 20:53:26
Quote
does foobar use pipe decoding?

Yes.

Here's a couple of tests, all default settings (all compression ratios were identical):
Code: [Select]

P3 (733MHz)
TAKC 1.1.0  18.81x  37.92x
TAKC 1.1.1  21.77x  40.63x
TAKC 1.1.2  22.22x  39.44x

Athlon 64 3000+ (2.0 GHz)
TAKC 1.1.0  114.36x  191.00x
TAKC 1.1.1  112.09x  191.83x
TAKC 1.1.2  115.12x  198.82x

Great work!
Title: TAK 1.1.2
Post by: lvqcl on 2009-07-28 21:58:00
Foobar doesn't use pipe decoding.

I mean, it doesn't use TAKC.exe for decoding and doesn't read pipe from TAKC. Instead, TAK component for foobar2000 relies on tak_deco_lib.dll.
Title: TAK 1.1.2
Post by: Eli on 2009-07-29 00:19:39
Tom, thank you for your continued work. One day TAK may replace FLAC for me. It definitely is a very promising codec.
Title: TAK 1.1.2
Post by: HisInfernalMajesty on 2009-07-31 02:30:23
I did some tests out of curiosity.. and it seems like 1.1.2 is slower on my computer than 1.1.1 is!

with v1.1.1 encoding with TEST in the GUI i got:
Compression:    70.22 %
Duration:        82.75 sec
Speed:          205.07 * real time

and with 1.1.2 i got:
Compression:    70.22 %
Duration:      157.40 sec
Speed:          107.81 * real time

v1.1.1 seemed to max out at 213x when encoding and 1.1.2 seemed to max out at around 111x or so. This was on a collection of 57 songs

I'm running Windows Vists Ultimate 64bit with an Intel i7 920 (@3.2GhZ) (if you need to know more i can tell you)

One thing i noticed was that was weird was while encoding some songs the encode rate would drop down to 50 to 70x then shoot back up on the next song. I don't know if this is normal or not, so i just wanted to mention it.  Also, it wasn't the song that caused it, as one test it would encode at it's max speed then in another test it would slow down to 50x..

I'm willing to do other tests, just let me know what i can do
Title: TAK 1.1.2
Post by: ssjkakaroto on 2009-08-01 02:57:29
Thanks for the release Thomas! 

Do you plan on adding raw pcm encoding/decoding on the next version?
Title: TAK 1.1.2
Post by: Seeking_Lossless on 2009-08-01 06:42:12
can you make your official website to english because i can't read German.
Title: TAK 1.1.2
Post by: Squeller on 2009-08-01 08:01:57
http://translate.google.de/translate?hl=de...FTak%2FTak.html (http://translate.google.de/translate?hl=de&sl=de&tl=en&u=http%3A%2F%2Fwww.thbeck.de%2FTak%2FTak.html)
Title: TAK 1.1.2
Post by: Shy Guy on 2009-08-05 02:07:58
Very much been a fan of TAK for a long time now. Thanks for the ongoing work, Tom. Much appreciated.
Title: TAK 1.1.2
Post by: Destroid on 2009-08-05 05:05:29
I did some tests out of curiosity.. and it seems like 1.1.2 is slower on my computer than 1.1.1 is!

Which settings did you use?

Quote
One thing i noticed was that was weird was while encoding some songs the encode rate would drop down to 50 to 70x then shoot back up on the next song. I don't know if this is normal or not, so i just wanted to mention it.  Also, it wasn't the song that caused it, as one test it would encode at it's max speed then in another test it would slow down to 50x..

That sounds more like something in the background eating cycles, is my guess. I can't imagine that being normal behavior, usually the opposite. There's a few friend's machines I fixed where that was infested with malware, so it might be a good idea to check that since slow encoding is the least worrisome in that scenario.
Title: TAK 1.1.2
Post by: dB on 2009-08-08 07:19:21
Many thanks Tom 
Title: TAK 1.1.2
Post by: TBeck on 2009-08-24 19:43:03
Here's a couple of tests, all default settings (all compression ratios were identical):
...
Great work!

Thank you very much! Especially for appreciating even small improvements!

I did some tests out of curiosity.. and it seems like 1.1.2 is slower on my computer than 1.1.1 is!

with v1.1.1 encoding with TEST in the GUI i got:
Compression:    70.22 %
Duration:        82.75 sec
Speed:          205.07 * real time

and with 1.1.2 i got:
Compression:    70.22 %
Duration:      157.40 sec
Speed:          107.81 * real time

v1.1.1 seemed to max out at 213x when encoding and 1.1.2 seemed to max out at around 111x or so. This was on a collection of 57 songs

I'm running Windows Vists Ultimate 64bit with an Intel i7 920 (@3.2GhZ) (if you need to know more i can tell you)

One thing i noticed was that was weird was while encoding some songs the encode rate would drop down to 50 to 70x then shoot back up on the next song. I don't know if this is normal or not, so i just wanted to mention it.  Also, it wasn't the song that caused it, as one test it would encode at it's max speed then in another test it would slow down to 50x..

I'm willing to do other tests, just let me know what i can do


I did some tests out of curiosity.. and it seems like 1.1.2 is slower on my computer than 1.1.1 is!

Which settings did you use?

Quote
One thing i noticed was that was weird was while encoding some songs the encode rate would drop down to 50 to 70x then shoot back up on the next song. I don't know if this is normal or not, so i just wanted to mention it.  Also, it wasn't the song that caused it, as one test it would encode at it's max speed then in another test it would slow down to 50x..

That sounds more like something in the background eating cycles, is my guess. I can't imagine that being normal behavior, usually the opposite. There's a few friend's machines I fixed where that was infested with malware, so it might be a good idea to check that since slow encoding is the least worrisome in that scenario.

A really good reply!

I want to add another possible explaination: TAK is using extremely optimized code in the filters, which may drive CPU's into areas, where the cooling isn't sufficient and they use clock-throttling.


Do you plan on adding raw pcm encoding/decoding on the next version?

It's on my todo list... But no promises: I am also working hard on the TAK 2.0 codec, and i am progressing faster than expected... I am not sure, if there will be a 1.1.3 release (with new functionality) before the 2.0 release. Possibly you will have to wait for 2.0.1...

can you make your official website to english because i can't read German.

Given my rather bad english, i am a bit in a trouble here...

While i myself can tolerate my bad english in some of TAK's documentation (sorry to the readers), i don't want to let it show up on my homepage, where i am also presenting my self employeed work.

I have to look for a solution.

  Thomas


Title: TAK 1.1.2
Post by: Destroid on 2009-08-25 10:47:45
I thought a few major players here in HA were affluent in your language,  I'm trying to remember them by alias since they would be able to translate your technical terms correctly. And you are correct, people visiting your home page should have the professional prose that equates to the the professional program, if I must say.

Also, thanks for the excellent news about upcoming TAK releases. I, for one, will be eagerly awaiting.

edit: typos
Title: TAK 1.1.2
Post by: Synthetic Soul on 2009-08-25 11:14:04
I have had the embarrassment of having my English grammar corrected by fusion.

Personally I am amazed at how well many members here use English.  Sebastian Mares and Lyx spring to mind, as proficient English-writing Germans.

Edit: Oh, and I should point out that your English, Thomas, is one thousand times better than any second language I have attempted (which probably totals French and Spanish).
Title: TAK 1.1.2
Post by: Zarggg on 2009-09-03 21:11:37
Agreed. Your English is quite up to par with the norm you see from FIRST-LANGUAGE speakers lately.
Title: TAK 1.1.2
Post by: Perun on 2009-09-07 12:46:20
I have been using TAK since its first final release (having switched to it from Monkey's Audio) and I must say that, while there are many other great (some even awesome) lossless codecs, I love TAK for its rich set of excellent features.

Alas, I must woefully confess that I have had to use WavPack lately. The trouble is TAK doesn't support multichannel audio so far. WavPack is a truly awesome codec, and I respect its developer as much as I do Thomas. Yet I prefer TAK for its speed/compression ratio, and since I always try to get the highest compression a codec offers, I do the same with WavPack using the following options: wavpack.exe -hh -m -x6 *.wav. Space is something always worth saving, and hi-rez multichannel audio certainly calls for that. It is, however, almost intolerable to wait for a file to take five to eight times longer to get compressed than its own length. (I say "almost" because I still tolerate this.)

Indeed, the WavPack help warns that using the -x[4-6] option is very slow, and it is my own choice to do so. Yet from the fact that TAK offers even better compression within a fraction of that time when tested on some 24-bit stereo files I infer (and truly hope) that the speed/compression ratio will be the same for multichannel audio when support for that is implemented.

Itching to see the next TAK release (whether 1.1.3 or 2.0.1).

Big thanks to Thomas. Nice day to all.
Title: TAK 1.1.2
Post by: twistedddx on 2009-09-28 00:38:42
Hi TBeck.
It appears that tak_SSD_Create_FromFile can not handle unicode names. It would be nice if multibyte filenames could be used or a function that can accept widechar filenames was created.
Thanks.
Title: TAK 1.1.2
Post by: Perun on 2009-10-18 18:45:50
By the way, hopefully, the next releases of TAK will support resolutions of up to 192 kHz.
Title: TAK 1.1.2
Post by: TBeck on 2009-10-26 23:20:35
By the way, hopefully, the next releases of TAK will support resolutions of up to 192 kHz.

It does already support 192 KHz, but unfortunately no multichannel audio. I will work on it after the 2.0 release.

  Thomas

Title: TAK 1.1.2
Post by: Perun on 2009-10-29 11:36:02
It does already support 192 KHz, but unfortunately no multichannel audio. I will work on it after the 2.0 release.

  Thomas

Indeed, my mistake.
Title: TAK 1.1.2
Post by: Perun on 2010-01-02 21:56:28
It does already support 192 KHz, but unfortunately no multichannel audio. I will work on it after the 2.0 release.

  Thomas

Indeed, my mistake.

Well, then it obviously doesn't support wav files bigger than 4 GB, does it?