IPB

Welcome Guest ( Log In | Register )

3 Pages V  < 1 2 3  
Reply to this topicStart new topic
TAK 2.2.0
lvqcl
post May 11 2012, 16:01
Post #51





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



QUOTE (Mr.Duck @ May 11 2012, 09:23) *
The tak command line encoder can't read tak files!

It can.
Go to the top of the page
+Quote Post
Mr.Duck
post May 12 2012, 21:55
Post #52





Group: Members
Posts: 80
Joined: 26-March 09
Member No.: 68393



QUOTE (lvqcl @ May 11 2012, 16:01) *
QUOTE (Mr.Duck @ May 11 2012, 09:23) *
The tak command line encoder can't read tak files!

It can.

Did you try it? It gives error... "Command line error: invalid file extension"
Go to the top of the page
+Quote Post
marc2003
post May 12 2012, 22:25
Post #53





Group: Members
Posts: 4326
Joined: 27-January 05
From: England
Member No.: 19379



you are using -d to decode, right?



This post has been edited by marc2003: May 12 2012, 22:27
Go to the top of the page
+Quote Post
Mr.Duck
post May 14 2012, 02:04
Post #54





Group: Members
Posts: 80
Joined: 26-March 09
Member No.: 68393



QUOTE (marc2003 @ May 12 2012, 22:25) *
you are using -d to decode, right?

No, I'm using -e to encode.
Go to the top of the page
+Quote Post
Destroid
post May 14 2012, 06:39
Post #55





Group: Members
Posts: 544
Joined: 4-June 02
Member No.: 2220



Yes, I could find no internal conversion either (if what I understand is TAK->TAK conversion), which would be handy- for example- -p0 to -p4m compression.

As a matter of fact, not long ago I also couldn't get TAK.EXE nor TakC.exe or even SHNTool to help me with TAK->TAK conversion. Long story short, CUETools' embedded .CUE sheets into TAK made FB2K conversion of CDImage's a pain because of track-splitting instead of keeping solitary image file. I tried to pipe TakC.EXE decode to TakC.EXE encode and I failed at that too.

Hope I didn't derail thread (my solution ended up being I'd strip APEv2 tags prior to conversion and use FB2K so no track-splitting would occur).


--------------------
"Something bothering you, Mister Spock?"
Go to the top of the page
+Quote Post
06_taro
post May 14 2012, 08:54
Post #56





Group: Members
Posts: 12
Joined: 22-September 10
Member No.: 84054



CODE
D:\Program Files\Media\Foobar2000\encoders>takc -d input.tak -| takc -e -md5 -v -lp -tn4 - output.tak
< STDIN                             ..........  73.44%  102*

Compression:     73.44 %
Duration:         2.15 sec
Speed:          101.91 * real time

D:\Program Files\Media\Foobar2000\encoders>takc -fi input.tak
=== input.tak =================================================

  File size:                    26.70 MB
  Header size:                   0.07 KB
    Unused:                      0.00 KB
  Compression:                  72.28 %
  Samples per channel:        9682596
  File duration:               219.56 sec
  Frame duration:                 250 ms
  Seek table:              Not available
  Audio format:            PCM, 44100 Hz, 16 Bits, 2 Channels
  Encoder:                 V 2.2.0, -p4m
  Codec:                   2 Integer 24 bit (TAK 2.0)
  Wave file meta data:     Not available
  MD5:                     84f051642b3b70a144f4a3ecc7647803
  APEv2-Tag:               No
  Status:                  Ok

D:\Program Files\Media\Foobar2000\encoders>takc -fi output.tak
=== output.tak ================================================

  File size:                    27.13 MB
  Header size:                   0.13 KB
    Unused:                      0.01 KB
  Compression:                  73.44 %
  Samples per channel:        9682596
  File duration:               219.56 sec
  Frame duration:                 125 ms
  Seek table:              Not available
  Audio format:            PCM, 44100 Hz, 16 Bits, 2 Channels
  Encoder:                 V 2.2.0, -p2
  Codec:                   2 Integer 24 bit (TAK 2.0)
  Wave file meta data:     Header 44, Footer 0 Bytes
  MD5:                     84f051642b3b70a144f4a3ecc7647803
  APEv2-Tag:               No
  Status:                  Ok
Go to the top of the page
+Quote Post
Destroid
post May 14 2012, 16:56
Post #57





Group: Members
Posts: 544
Joined: 4-June 02
Member No.: 2220



@06_taro - Ok, it works for me too, now. Can't remember what error I had gotten before but the proof of above I can confirm tongue.gif

@Mr.Duck - Hope that answers your question.


--------------------
"Something bothering you, Mister Spock?"
Go to the top of the page
+Quote Post
Mr.Duck
post May 15 2012, 01:18
Post #58





Group: Members
Posts: 80
Joined: 26-March 09
Member No.: 68393



Ah that's helpful, thanks.

But all the tags get lost with that method sad.gif I'm wondering, does anyone have any other working solutions that preserves file tags?

Go to the top of the page
+Quote Post
marc2003
post May 15 2012, 01:30
Post #59





Group: Members
Posts: 4326
Joined: 27-January 05
From: England
Member No.: 19379



using foobar2000 would preserve tags (except embedded album art). as well as setting up a custom encoder, you'll need foo_input_tak - http://www.foobar2000.org/components/view/foo_input_tak


Go to the top of the page
+Quote Post
Mr.Duck
post May 20 2012, 15:40
Post #60





Group: Members
Posts: 80
Joined: 26-March 09
Member No.: 68393



If anyone knows of a (command line) tool that can copy tags from 1 file to another, I would be interested in taking a look at it.

Also hoping TBeck to reply to thread soon-ish wink.gif
Go to the top of the page
+Quote Post
CoRoNe
post May 20 2012, 16:27
Post #61





Group: Members
Posts: 164
Joined: 31-May 05
From: Netherlands
Member No.: 22417



Tool: Mp3tag
Command line tool: Tag 2.0.52 (with --fromfile)


--------------------
DC-Bass Source Mod: http://reino.degeelebosch.nl
Go to the top of the page
+Quote Post
e354412
post Jun 21 2012, 01:59
Post #62





Group: Members
Posts: 3
Joined: 21-June 12
Member No.: 100868



TAK is really a great codec which compresses much better than FLAC but I really miss one feature in the winamp plug-in and that is the transcoder for decoding (I think this is all that's needed "link") to other formats for portable devices. I don't need encoding just decoding would be enough.
Go to the top of the page
+Quote Post
Mr.Duck
post Nov 11 2012, 23:54
Post #63





Group: Members
Posts: 80
Joined: 26-March 09
Member No.: 68393



So I finally got round to writing this batch file to encode both WAV files and TAK files into new TAK files with maximum compression. You can download it here if you are interested.

After unpacking, you just drag a folder onto the batch file and it will recursively process all the WAV and TAK files inside. Or you can drag some individual files onto it and it processes just those files. It saves you having to load the media files into some GUI program like foobar2000 to encode them. If you like a GUI interface to do everything manually, then this won't be of any value to you.
Go to the top of the page
+Quote Post
hmasterwang
post Jun 11 2013, 13:48
Post #64





Group: Members
Posts: 4
Joined: 11-June 13
Member No.: 108601



This version doesn't support wav file exceeded 4GB, is there any fix?
Go to the top of the page
+Quote Post
lvqcl
post Jun 11 2013, 14:49
Post #65





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



CODE
takc.exe -e -p2 -ihs - outfile.tak < infile.wav
Go to the top of the page
+Quote Post
hmasterwang
post Jun 12 2013, 15:13
Post #66





Group: Members
Posts: 4
Joined: 11-June 13
Member No.: 108601



QUOTE (lvqcl @ Jun 11 2013, 07:49) *
CODE
takc.exe -e -p2 -ihs - outfile.tak < infile.wav

Thanks, but I mean "decoded wav exceeds 4GB". I have a 2GB TAK file; its decoded wave file is 5GB. No player plays the wave file correctly. It seems to produce a very big single data chunk exceeds 4GB.
Go to the top of the page
+Quote Post
naturfreak
post Jun 12 2013, 15:20
Post #67





Group: Members
Posts: 175
Joined: 16-October 03
Member No.: 9338



According to the official specifications the size of WAV files is limited to 4 GB. Larger files can be created but they are not conforming to the specs.
Go to the top of the page
+Quote Post
db1989
post Jun 12 2013, 15:25
Post #68





Group: Super Moderator
Posts: 5141
Joined: 23-June 06
Member No.: 32180



All signs point to that being a problem with WAV, not TAK.

Are you implying that the audio was stored as WAV before encoding and was playable without problems in that state?
Go to the top of the page
+Quote Post
hmasterwang
post Jun 12 2013, 15:41
Post #69





Group: Members
Posts: 4
Joined: 11-June 13
Member No.: 108601



QUOTE (db1989 @ Jun 12 2013, 08:25) *
All signs point to that being a problem with WAV, not TAK.

Are you implying that the audio was stored as WAV before encoding and was playable without problems in that state?

I am not sure. I got the tak file from the Internet.

Won't TAK store the wave file larger than 4GB as RF64 or Multiple Data Chunk format?

Since wave is the only format TAK will be decoded as, I believe we should fix it here :-).
Go to the top of the page
+Quote Post
lvqcl
post Jun 12 2013, 15:43
Post #70





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



Unfortunately TAK itself doesn't support RIFF64 or Wave64 file formats. BTW, foobar2000 (+foo_input_tak plugin) can convert .TAK files to .W64.

On the other hand, why do you want to decode it to WAV?
Go to the top of the page
+Quote Post
hmasterwang
post Jun 12 2013, 16:01
Post #71





Group: Members
Posts: 4
Joined: 11-June 13
Member No.: 108601



QUOTE (lvqcl @ Jun 12 2013, 08:43) *
Unfortunately TAK itself doesn't support RIFF64 or Wave64 file formats. BTW, foobar2000 (+foo_input_tak plugin) can convert .TAK files to .W64.


Thanks

QUOTE (lvqcl @ Jun 12 2013, 08:43) *
On the other hand, why do you want to decode it to WAV?


WAV is the only format support by TAK 2.2.0. I am reluctant to use foobar2000 -- I am obsessive.

I have to use it now.

Thanks anyway.
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: 17th April 2014 - 03:56