IPB

Welcome Guest ( Log In | Register )

TAK 1.1.0 - Beta release
TBeck
post Dec 19 2008, 02:44
Post #1


TAK Developer


Group: Developer
Posts: 1098
Joined: 1-April 06
Member No.: 29051



Beta release 4 of TAK 1.1.0 ((T)om's lossless (A)udio (K)ompressor)

It consists of:

- TAK Applications 1.1.0 Beta 4
- Winamp plugin 1.1.0 Beta 4
- Decoding library 1.1.0 Beta 4

The SDK will come with the final release.

Download:

Download link removed. TAK 1.1.0 Final has been released.

Fixes in Beta 2 / 08-12-20

- Takc.exe contained a bug: When using pipe encoding with the parameter combination -ihs -sts0, the encoder stopped with an error message.

Only Takc.exe and it's readme have been modified.

Fixes in Beta 3 / 08-12-20

- On very rare occasions (about 1 of 250,000 seeks in my tests) the decoder could fail when seeking to the end of a file with a quite large (i am testing up to 4 MB) meta data structure (APEv2-tag) at the end. This resulted in an "undecodable" error message and affected the decoding library and the winamp plugin.

All binaries and the readme have been modified.

Fixes in Beta 4 / 08-12-30

- Tiny speed improvements.
- If pipe encoding is used without the -ihs paramter (that is for instance required for foobar), TAKC will now reserve only 46 bytes in the header for the storage of wave file meta data. That's sufficient for a standard wave file header. Earlier version reserved 1 MB (!) in the header, making the compressed file accordingly bigger.

All binaries and the readme have been modified.

What's new

New Features:

- Support for 192 Khz Audio.
- Seeking without seek table.

Caution: Decoders prior to those released with V1.1.0 can't decode 192 Khz files and can't seek in files without seek table.

Improvements:

- Encoding and decoding speed improvements of about 3 percent for presets p0 and p1 on my system. Also some decoding speedup for p2.
- Fixed a bug in the encoder that resulted in suboptimal compression of some loud files and especially high resolution audio. Some files may gain about 0.05 percent of compression. Not much, but it comes without any speed penality.
- Further clean up of the Code.

Modifications:

- I hope you don't mind but i always had the feeling 5 presets are enough. Therefore i dropped the appropriately 'Insane' named preset -p5 and instead made presets 3 and 4 stronger. Okay, new -p4 will nevertheless be slightly weaker than old -p5, because i have reduced the maximum predictor count from 256 to 160. Before doing this i performed a detailed analysis of predictor count * compression * speed. There are not many files which benefit from such high predictor orders. Two of my file sets contain many of such files, but even they will only loose about 0.10 percent compression. Not a big loss if in exchange you get nearly half the decoding (cpu power) requirements.
- Removed option to modify the Prefilter sensitivity.

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.

Some remarks:

The beta release has been delayed because my enhanced validation procedure found some bugs in the new seeking-without-seektable feature. After the correction of the 3 bugs i found, i lost about 2 percent of speed because of now suboptimal code alignment.

Beta testing

The beta version has already gone through extensive testing performed by my automatic scripts. But especially because of the many changes for 1.1.0 rare bugs are still possible (as always...). Please try the beta release and report any bugs in this thread.

It's important to test the new seeking-without-seek table feature:

- Encode a file (big files would be nice and APEv2 tags too) with no seek table: -sts0
- Play it back with Winamp or Foobar and perform some seeks.

I would also be happy about tests of compression efficiency and speed. Because the final release will have identical performance (there may be a speed variation of 1 to 2 percent because of different code alignment of another build), it does make sense to test the beta.

Thanks for testing and have fun

Thomas

This post has been edited by TBeck: Jan 5 2009, 06:01
Go to the top of the page
+Quote Post
 
Start new topic
Replies
TBeck
post Dec 28 2008, 03:20
Post #2


TAK Developer


Group: Developer
Posts: 1098
Joined: 1-April 06
Member No.: 29051



QUOTE (Synthetic Soul @ Dec 27 2008, 22:39) *
QUOTE (Synthetic Soul @ Dec 22 2008, 11:31) *
I am still slightly concerned about my test set-up. Perhaps I will re-run both 1.1.0 and 1.0.4 again, to ensure that they both have an equal testing environment. My biggest concern with my comparison is misinforming users, and developers of course!
OK, I'm glad I did (although I have no idea where this leaves my comparison). These results show 1.1.0 in a more favourable light:
...
For the record, here's both the old (comparison figures) and new figures for both versions, to show the differences in test. You will see that the 1.1.0 results (thankfully) compare very well; the results for 1.0.4 are unsatisfactorily different though.
...
NB: Just seen Thomas' response above. Well, I am always happy to test some more Thomas. smile.gif

Thank you, that' extremely helpful and will save me a lot of work! rolleyes.gif

Currently i have only two ideas what could be causing the different results:

1) The disk-io-system is behaving differently. Possibly smaller or larger io-sizes in TAK could make a difference.
2) The cpu-time is beeing calculated differently.

My intuition prefers 2).

QUOTE (Synthetic Soul @ Dec 27 2008, 22:39) *
NB: Just seen Thomas' response above. Well, I am always happy to test some more Thomas. smile.gif

Great! For the testing of my possible modifications a pass with -p0 will be sufficient.

QUOTE (lostintime @ Dec 28 2008, 01:30) *
I've created a 60 second 48 kHz (i.e. 2,880,000 samples) 16 bit mono WAV file of silence which I've named "60 seconds of silence.wav". When I do the following command:

CODE
type "60 seconds of silence.wav" | takc -e -pmax - "60 seconds of silence.tak"

I get a 1,052,878 byte file. But if I use TAKC directly on the file instead, i.e. without piping it to TAKC, with this command:

CODE
takc -e -pmax "60 seconds of silence.wav"

Then I only get a 4,342 byte file. Both the 1,052,878 byte file and the 4,342 byte file decode correctly to the original WAV file. I've tested both version 1.0.4 and version 1.1.0 beta 3 of TAKC with the same results.

If pipe encoding is used without the -ihs paramter (that is for instance required for foobar), TAK will try to save the wave meta data to the file. By default it will reserve 1 MB in the header! That's the default maximum size for both pipe and file based encoding.

When performing file beased encoding TAK can determine the actual meta data size and will reserve only as much space as is required. But with pipe encoding this isn't possible because there can be a footer at the end of the wave data and it's size can not be calculated before the end of the pipe has been encountered.

You may limit the maximum wave meta data size with the wm-switch:

-wm46 reserves 46 bytes for a standard wave header without any additional info.

-wm0 to reserve no space for the wave header. The reconstructed header of the encoded file may differ from the original file.

By default also a bit space for the seek table is beeing reserved. You may disable it with the sts-switch:
-sts0
Go to the top of the page
+Quote Post

Posts in this topic
- TBeck   TAK 1.1.0 - Beta release   Dec 19 2008, 02:44
- - Remedial Sound   Congrats on the new beta!   Dec 19 2008, 10:01
- - CPKTV   thanks for new beta. does winamp plug-in supports ...   Dec 19 2008, 10:34
- - ssjkakaroto   Thanks for the beta Thomas. Single file albums wit...   Dec 19 2008, 16:54
- - melomaniac   First, thank you Thomas for your dedicated work. ...   Dec 19 2008, 18:17
|- - Synthetic Soul   QUOTE (melomaniac @ Dec 19 2008, 17:17) S...   Dec 20 2008, 09:40
|- - melomaniac   QUOTE (Synthetic Soul @ Dec 20 2008, 09:4...   Dec 20 2008, 11:04
|- - Synthetic Soul   QUOTE (Synthetic Soul @ Dec 20 2008, 08:4...   Dec 21 2008, 21:57
|- - TBeck   QUOTE (Synthetic Soul @ Dec 21 2008, 21:5...   Dec 21 2008, 22:52
||- - Synthetic Soul   QUOTE (TBeck @ Dec 21 2008, 21:52) Althou...   Dec 22 2008, 12:31
||- - Synthetic Soul   QUOTE (Synthetic Soul @ Dec 22 2008, 11:3...   Dec 27 2008, 22:39
|- - melomaniac   QUOTE (Synthetic Soul @ Dec 21 2008, 21:5...   Dec 21 2008, 23:11
- - Squeller   I wanted to test -sts0 with fb2k but couldn't ...   Dec 19 2008, 21:32
|- - TBeck   QUOTE (Squeller @ Dec 19 2008, 21:32) I w...   Dec 19 2008, 21:51
|- - Squeller   QUOTE (TBeck @ Dec 19 2008, 21:51) You ha...   Dec 19 2008, 22:44
|- - TBeck   QUOTE (Squeller @ Dec 19 2008, 22:44) QUO...   Dec 19 2008, 23:11
|- - TBeck   QUOTE (TBeck @ Dec 19 2008, 23:11) QUOTE ...   Dec 19 2008, 23:39
- - Neasden   It would be nice a TAK website featuring the winni...   Dec 19 2008, 21:55
- - TBeck   Ok, i've got it. It only can happen with pipe...   Dec 19 2008, 23:50
- - Squeller   Thank you Thomas, I'll use it tomorrow then.   Dec 19 2008, 23:54
- - TBeck   Beta 2 has been released The download link is in ...   Dec 20 2008, 00:46
- - Squeller   I encoded to some album image files with embedded ...   Dec 20 2008, 09:51
- - BenniP   Hello, i'am trying TAK for the first time, gr...   Dec 20 2008, 11:00
- - Squeller   TBeck, if -ihs is mandatory when using -sts0, you ...   Dec 20 2008, 11:54
- - BenniP   Now that was easy! Thank you very much...   Dec 20 2008, 11:56
- - TBeck   Beta 3 has been released The download link is in ...   Dec 20 2008, 14:10
- - sauvage78   Thks Synthetic Soul, the update of your comparison...   Dec 21 2008, 22:14
- - TBeck   QUOTE (CPKTV @ Dec 19 2008, 10:34) thanks...   Dec 21 2008, 22:16
- - greynol   If the speed has gone up with the compression rema...   Dec 21 2008, 23:15
- - buktore   Thanks for this, Thomas Some remarks: (using -...   Dec 22 2008, 07:47
|- - TBeck   QUOTE (buktore @ Dec 22 2008, 07:47) - Fo...   Dec 22 2008, 13:17
- - buktore   Hmm.. I can't reproduce it. I don't hav...   Dec 22 2008, 14:52
|- - TBeck   QUOTE (buktore @ Dec 22 2008, 14:52) Hmm....   Dec 22 2008, 15:24
- - buktore   Well.. I still have the APE file (actually APE ...   Dec 22 2008, 15:43
|- - TBeck   QUOTE (buktore @ Dec 22 2008, 15:43) Well...   Dec 22 2008, 17:48
- - buktore   QUOTE Now i am not sure if you have tested the who...   Dec 22 2008, 18:29
|- - Synthetic Soul   QUOTE (buktore @ Dec 22 2008, 17:29) QUOT...   Dec 23 2008, 10:20
- - Alexxander   A quick conversion test with 2 albums compressed i...   Dec 22 2008, 18:37
- - TBeck   QUOTE (Synthetic Soul @ Dec 23 2008, 10:2...   Dec 24 2008, 01:41
- - lostintime   I've created a 60 second 48 kHz (i.e. 2,880,00...   Dec 28 2008, 01:30
- - TBeck   QUOTE (Synthetic Soul @ Dec 27 2008, 22:3...   Dec 28 2008, 03:20
|- - Bugs.Bunny   Hi TBeck, I'm quite impressed by TAK! I di...   Dec 28 2008, 14:29
- - TBeck   QUOTE (Synthetic Soul @ Dec 27 2008, 22:3...   Dec 29 2008, 06:11
|- - lostintime   QUOTE (TBeck @ Dec 29 2008, 17:11) The ne...   Dec 29 2008, 09:29
- - halb27   No doubt: looking at compression ratio and importa...   Dec 29 2008, 09:07
|- - jcoalson   QUOTE (halb27 @ Dec 29 2008, 03:07) b) Th...   Dec 29 2008, 18:11
|- - halb27   QUOTE (jcoalson @ Dec 29 2008, 19:11) QUO...   Dec 29 2008, 18:43
- - greynol   To put it more simply, I think the question should...   Dec 29 2008, 18:46
- - jcoalson   I mean just that the comparison of command-line de...   Dec 29 2008, 20:12
|- - TBeck   QUOTE (jcoalson @ Dec 29 2008, 20:12) - t...   Dec 29 2008, 20:31
- - halb27   Well, TAK's speed compared to FLAC's as ta...   Dec 29 2008, 23:14
- - TBeck   QUOTE (halb27 @ Dec 29 2008, 09:07) No do...   Dec 30 2008, 16:34
- - TBeck   Beta 4 has been released The download link and th...   Dec 31 2008, 00:35
|- - adamjk   You are the best!   Dec 31 2008, 13:56
- - Synthetic Soul   CODE | 1.1.0b3 | 1.1.0b4 | Enc Dec | ...   Dec 31 2008, 20:45
- - TBeck   QUOTE (adamjk @ Dec 31 2008, 13:56) You a...   Jan 3 2009, 14:32
|- - Synthetic Soul   QUOTE (TBeck @ Jan 3 2009, 13:32) Thank y...   Jan 3 2009, 17:54
|- - TBeck   QUOTE (Synthetic Soul @ Jan 3 2009, 17:54...   Jan 5 2009, 05:53
- - TBeck   Prepearing the final release I want to release th...   Jan 3 2009, 15:08


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd November 2014 - 18:18