IPB

Welcome Guest ( Log In | Register )

3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
TAK 2.0.0
_m_
post Jan 11 2010, 13:09
Post #26





Group: Members
Posts: 231
Joined: 6-April 09
Member No.: 68706



QUOTE (TBeck @ Jan 11 2010, 10:10) *
- Put any remaining encoder option into MAX. But always keep an eye on the speed of -p4m because many users are judging TAK's performance by its strongest preset.


So at some point we might see p3m being stronger than p4m? biggrin.gif
Go to the top of the page
+Quote Post
zhjckfd
post Jan 11 2010, 14:25
Post #27





Group: Members
Posts: 1
Joined: 11-January 10
Member No.: 76984



I'm converting to TAK with foobar2000 using parameters -e -md5 -ihs -Pmax - %d
But when I try to test with
takc.exe -t
or
takc.exe -t -md5
I get something like
196* Wave meta data missing
What's the problem and how this can be solved?
Go to the top of the page
+Quote Post
TBeck
post Jan 11 2010, 18:44
Post #28


TAK Developer


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



QUOTE (_m_ @ Jan 11 2010, 13:09) *
QUOTE (TBeck @ Jan 11 2010, 10:10) *
- Put any remaining encoder option into MAX. But always keep an eye on the speed of -p4m because many users are judging TAK's performance by its strongest preset.


So at some point we might see p3m being stronger than p4m? biggrin.gif

Shush... That's totally secret! emot-cop.gif

QUOTE (zhjckfd @ Jan 11 2010, 14:25) *
I'm converting to TAK with foobar2000 using parameters -e -md5 -ihs -Pmax - %d
But when I try to test with
takc.exe -t
or
takc.exe -t -md5
I get something like
196* Wave meta data missing
What's the problem and how this can be solved?

It's no problem. By default TAK saves the header of a wave file in the compressed file. On decoding it will restore this original wave file header. Basically this would not be necessary: TAK could create a new wave file header when decoding. Unfortunately there are several ways to construct a valid header for wave file containing identical audio data. So the header cretaed by TAK could be different from the original header and a binary compare of the decoded file with the source file could fail, although the audio data is identical!

If you use foobar for pipe encoding, you have to specify the -ihs option: (I)gnore (H)eader (S)ize. That's because foobar will sent am incomplete wave file header, that is lacking the size of the file. With no valid header available, TAK can't store the header data and then has to create an own header on decoding. The message will tell you about it. As i wrote above, the audio data itself isn't affected by all this.

This post has been edited by TBeck: Jan 11 2010, 18:46
Go to the top of the page
+Quote Post
dewey1973
post Jan 11 2010, 20:37
Post #29





Group: Members
Posts: 383
Joined: 31-March 03
From: Seattle, WA
Member No.: 5771



Is there a guide or set of instructions for re-encoding older TAK files?
Go to the top of the page
+Quote Post
_m_
post Jan 17 2010, 09:23
Post #30





Group: Members
Posts: 231
Joined: 6-April 09
Member No.: 68706



CODE
takc -e -p4e -md5 -wm0 "3613 - Gloria Rv588, 11. Coro- Cum Sancto Spiritu.wav"
3613 - Glo...Cum Sancto Spiritu.wav .......... Wave file not supported

1 files failed.

This time it's serious.
How can I know what's wrong and what can I do with it?

This post has been edited by _m_: Jan 17 2010, 09:23
Go to the top of the page
+Quote Post
lvqcl
post Jan 17 2010, 12:15
Post #31





Group: Developer
Posts: 3467
Joined: 2-December 07
Member No.: 49183



QUOTE
Sample rates from 8000 to 192000 Hz. Bit depths of 8, 16 or 24. Channels: Mono or Stereo.


What format does this file have?
Go to the top of the page
+Quote Post
_m_
post Jan 17 2010, 17:29
Post #32





Group: Members
Posts: 231
Joined: 6-April 09
Member No.: 68706



Just a regular redbook, 44100, 16, stereo. Other tracks from this CD work flawlessly.
ADDED:
I noticed that if I decode it with flac, then tak doesn't work. But if I use bass library (via Total Commander plugin), it does.
I compared both files, there are differences in 2 places, header and the end. bass generates a file that's round 8 KB longer(13303852 vs. 13312044 B), with additional data looking random to me.
The differences in the header:
FLAC:

bass:


This post has been edited by _m_: Jan 17 2010, 17:48
Go to the top of the page
+Quote Post
TBeck
post Jan 17 2010, 18:55
Post #33


TAK Developer


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



Thanks for the screen shots.

The 4 bytes following the RIFF id tell, how long the RIFF data will be.

For FLAC: 33,135,012 bytes !!!
For bass: 13,312,036 bytes

Since your FLAC decoded file is only 13303852 bytes long, the header is obviously invalid.
Go to the top of the page
+Quote Post
_m_
post Jan 17 2010, 20:40
Post #34





Group: Members
Posts: 231
Joined: 6-April 09
Member No.: 68706



QUOTE (TBeck @ Jan 17 2010, 18:55) *
Thanks for the screen shots.

The 4 bytes following the RIFF id tell, how long the RIFF data will be.

For FLAC: 33,135,012 bytes !!!
For bass: 13,312,036 bytes

Since your FLAC decoded file is only 13303852 bytes long, the header is obviously invalid.


Thanks for the answer. So what should I write to have a correct wav w/out the extra data? I guess I mix something with endianess (because I barely understand it), but I can't sum / convert the numbers to get 33,135,012.

Also, I suggest making TAK more error resilient. Though the wav is incorrect, it's not really a problem to encode it.
Go to the top of the page
+Quote Post
BugHunter
post Jan 19 2010, 15:22
Post #35





Group: Members
Posts: 4
Joined: 4-January 10
Member No.: 76677



QUOTE (_m_ @ Jan 17 2010, 20:40) *
Also, I suggest making TAK more error resilient. Though the wav is incorrect, it's not really a problem to encode it.


Well, generally this is not TAK's problem. As TBeck wrote:

QUOTE (TBeck @ Jan 17 2010, 18:55) *
Since your FLAC decoded file is only 13303852 bytes long, the header is obviously invalid.


I also encode with TAK sandwich with raw adpcm/pcm & ogg. This was done without any problems. And decoding too.

Go to the top of the page
+Quote Post
_m_
post Jan 20 2010, 09:51
Post #36





Group: Members
Posts: 231
Joined: 6-April 09
Member No.: 68706



QUOTE (BugHunter @ Jan 19 2010, 15:22) *
QUOTE (_m_ @ Jan 17 2010, 20:40) *
Also, I suggest making TAK more error resilient. Though the wav is incorrect, it's not really a problem to encode it.


Well, generally this is not TAK's problem. As TBeck wrote:

QUOTE (TBeck @ Jan 17 2010, 18:55) *
Since your FLAC decoded file is only 13303852 bytes long, the header is obviously invalid.


I also encode with TAK sandwich with raw adpcm/pcm & ogg. This was done without any problems. And decoding too.




I don't call it a problem either. Just a misfeature. It deals with errors in a correct, but the least welcome way.

BTW, I noticed that the audio track is cut. Scheduled for reripping.

This post has been edited by _m_: Jan 20 2010, 09:52
Go to the top of the page
+Quote Post
lvqcl
post Jan 20 2010, 14:48
Post #37





Group: Developer
Posts: 3467
Joined: 2-December 07
Member No.: 49183



QUOTE (_m_ @ Jan 20 2010, 11:51) *
I don't call it a problem either. Just a misfeature. It deals with errors in a correct, but the least welcome way.

...so TAK should silently produce incorrect files?
Go to the top of the page
+Quote Post
_m_
post Jan 20 2010, 15:57
Post #38





Group: Members
Posts: 231
Joined: 6-April 09
Member No.: 68706



QUOTE (lvqcl @ Jan 20 2010, 14:48) *
QUOTE (_m_ @ Jan 20 2010, 11:51) *
I don't call it a problem either. Just a misfeature. It deals with errors in a correct, but the least welcome way.

...so TAK should silently produce incorrect files?



Produce? Definitely no. It should correct wav errors when it's possible and just give a warning about decompressibility, if bit-bit correctness isn't preserved.
In the command line that I used there's -wm0 switch, so I made it clear that I don't care about metadata preservation anyway.
Go to the top of the page
+Quote Post
Agent69
post Jan 20 2010, 16:39
Post #39





Group: Members
Posts: 192
Joined: 4-January 02
From: USA
Member No.: 912



Looking through the TAK threads, I didn't notice ReplayGain being mentioned. So TAK doesn't support it? Or did I miss it somewhere?
Go to the top of the page
+Quote Post
yerma
post Jan 20 2010, 16:54
Post #40





Group: Members
Posts: 61
Joined: 21-February 07
From: Graz, Austria
Member No.: 40824



Replay Gain is supported. RG values are written into tags and work like any other apev2 tags.
Go to the top of the page
+Quote Post
Agent69
post Jan 20 2010, 17:35
Post #41





Group: Members
Posts: 192
Joined: 4-January 02
From: USA
Member No.: 912



But does the TAK encoder actually support it? I don't see RPG as an option on the command line.
Go to the top of the page
+Quote Post
yerma
post Jan 21 2010, 00:35
Post #42





Group: Members
Posts: 61
Joined: 21-February 07
From: Graz, Austria
Member No.: 40824



The encoder doesn't calculate any RG values. You need another app like foobar for that.
Go to the top of the page
+Quote Post
Agent69
post Jan 21 2010, 04:01
Post #43





Group: Members
Posts: 192
Joined: 4-January 02
From: USA
Member No.: 912



Thanks!
Go to the top of the page
+Quote Post
wdekler
post Jan 21 2010, 19:14
Post #44





Group: Members
Posts: 100
Joined: 15-January 03
Member No.: 4586



QUOTE (dewey1973 @ Jan 11 2010, 20:37) *
Is there a guide or set of instructions for re-encoding older TAK files?


I'm also interested in how to do this, anyone? Thanks!
Go to the top of the page
+Quote Post
Anakunda
post Jan 24 2010, 16:03
Post #45





Group: Members
Posts: 484
Joined: 24-November 08
Member No.: 63072



Hello,

I was interested if TAK has any downsides against FLAC.
Except that I'd appreciate more plugins, at least CoolEdit filter and WhereIsIt tag reader plugin.
Thanks for TAK.
Go to the top of the page
+Quote Post
_m_
post Jan 24 2010, 18:40
Post #46





Group: Members
Posts: 231
Joined: 6-April 09
Member No.: 68706



QUOTE (Anakunda @ Jan 24 2010, 16:03) *
Hello,

I was interested if TAK has any downsides against FLAC.
Except that I'd appreciate more plugins, at least CoolEdit filter and WhereIsIt tag reader plugin.
Thanks for TAK.

No support for multichannel music.
Go to the top of the page
+Quote Post
smack
post Jan 26 2010, 10:06
Post #47





Group: Members
Posts: 187
Joined: 16-January 02
Member No.: 1046



QUOTE (Anakunda @ Jan 24 2010, 16:03) *
I was interested if TAK has any downsides against FLAC.

Lossless comparison at Hydrogenaudio Wiki
- Hardware support, Software support, Open source, Multichannel, OS support
Go to the top of the page
+Quote Post
_m_
post Feb 21 2010, 08:17
Post #48





Group: Members
Posts: 231
Joined: 6-April 09
Member No.: 68706



Bug: Takc fails if there's any Unicode character in path.
CODE
E:\music\Jean Michel Jarre\1975-03-30 Les Granges brules>"D:\TC\lib\packers\tak
c.exe" -e 14.wav "1.tak
14.wav                              .......... Error reading source

1 files failed.
Go to the top of the page
+Quote Post
_m_
post Feb 25 2010, 14:41
Post #49





Group: Members
Posts: 231
Joined: 6-April 09
Member No.: 68706



QUOTE (_m_ @ Feb 21 2010, 08:17) *
Bug: Takc fails if there's any Unicode character in path.
CODE
E:\music\Jean Michel Jarre\1975-03-30 Les Granges brules>"D:\TC\lib\packers\tak
c.exe" -e 14.wav "1.tak
14.wav                              .......... Error reading source

1 files failed.


I just finished recompressing most of my library from flac -8 (sometimes stronger settings used) to tak -pMax -wp0 -md5.
Music styles are highly variable, there's practically everything.
Savings:
~3.4%.

Very good. smile.gif
Go to the top of the page
+Quote Post
servimo
post Mar 7 2010, 22:18
Post #50





Group: Members
Posts: 146
Joined: 8-April 07
Member No.: 42330



A noob question: What could be a commandline for encoding files to tak using foobar2000.
I tried:
CODE
-e -md5 -ihs -p4m - %d
it gives me a window showing me the encoding progress (very quickly) and then another saying "the file was not found" and really no file is created.
Go to the top of the page
+Quote Post

3 Pages V  < 1 2 3 >
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: 21st December 2014 - 05:52