IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
WavPack 4.60 beta available, Windows and Linux versions
bryant
post Sep 16 2009, 02:51
Post #1


WavPack Developer


Group: Developer (Donating)
Posts: 1290
Joined: 3-January 02
From: San Francisco CA
Member No.: 900



This is long overdue, but I have finished a beta release of the 4.60 WavPack library and command-line programs:

Windows binaries
Linux distribution

The big changes are binary APEv2 tag support (i.e. cover art), raw PCM support, and the 16-channel limit being removed.

Here's the complete list of changes from 4.50. Note that some of these items were included in the alpha release (in January!)
and some were included in the beta release of the winamp plugin which was done for the Essentials Pack (so there is no new
winamp update).
  • added functions to libwavpack for handling binary fields in APE tags (done in a backward compatible way)
  • moved tag handling to its own source code module called tags.c (part of a slow cleanup)
  • fixed bug where APEv2 tags with footers but no headers would not be detected
  • added new option --write-binary-tag “Field=@File.ext” to allow appending binary tags during encoding (for cover art)
  • added -x option to wvunpack to allow extracting arbitrary tags (including binary) to stdout
  • added -xx option to extract a specified tag (including binary) to a file (optional custom filename with replacement codes %a, %t, and %e)
  • added --no-utf8-convert option to wavpack and wvunpack to force skipping of the UTF-8 conversion for APEv2 tag fields
  • improved formatting of -ss output and removed dumping of multiline tags (available now with -x option)
  • fixed a bug that caused multichannel files using all 8 streams to refuse to decode (related to Ambisonics)
  • increased number of available channels from about 16 to 4096 (although currently limited to just 256)
  • new option --raw-pcm to allow encoding raw pcm data (allows specification of sampling rate, bit-depth, and number of channels)
  • added ability to specify “unassigned” channels with --channel-order option
  • added new option --pair-unassigned-chans (this was the previous behavior, but now unassigned channels go to mono streams)
  • fixed bugs that could cause decoding of a valid WavPack correction file to report errors where none exist (although decoding was still accurate) or could cause seeking in correction files to fail
  • add "lossless" and "category" to metadata keywords that we handle in winamp plugin
  • add internationalization support to winamp plugin (many thanks to winamp folks!)
  • add GPL license to xmms plugin and fix xmms build on some systems
  • add -n option to wvgain for processing new files only (those without ReplayGain info)
  • increase maximum possible gain value generated by wvgain from +24 to +64 dB

Note that the -ww option in the alpha for adding binary tags has been changed to --write-binary-tag because I
realized that using -ww would not report any error with a previous version, but would store the file as text (oops!)

Thanks everyone for your support and, as always, I appreciate any testing or comments on the betas! smile.gif
Go to the top of the page
+Quote Post
esa372
post Sep 16 2009, 04:07
Post #2





Group: Members (Donating)
Posts: 429
Joined: 5-September 04
From: Los Angeles
Member No.: 16796



Excellent news, bryant - Thank you!

It's great to see new WavPack developement. I'll be cheking out the new beta tomorrow.

Keep up the good work, and thanks again!

cool.gif

~esa



--------------------
Clowns love haircuts; so should Lee Marvin's valet.
Go to the top of the page
+Quote Post
Liisachan
post Sep 16 2009, 05:12
Post #3





Group: Members (Donating)
Posts: 119
Joined: 9-July 04
Member No.: 15225



Thank you smile.gif
I tested the --raw-pcm option, and --raw-pcm=48000,16,2 worked for me.
When wvunpack'ed, the result is (of course) bit-identical to the original data (except the newly decoded file has 'cue '... at the end).
Go to the top of the page
+Quote Post
shadowking
post Sep 16 2009, 08:31
Post #4





Group: Members
Posts: 1523
Joined: 31-January 04
Member No.: 11664



Thanks David.


--------------------
Wavpack -b450
Go to the top of the page
+Quote Post
Synthetic Soul
post Sep 16 2009, 09:45
Post #5





Group: Super Moderator
Posts: 4887
Joined: 12-August 04
From: Exeter, UK
Member No.: 16217



Excellent news David, thanks you.

I am particularly interested in binary tagging, and the ability to dump tags to stdout or to file.


--------------------
I'm on a horse.
Go to the top of the page
+Quote Post
Xenion
post Sep 16 2009, 11:23
Post #6





Group: Members
Posts: 1041
Joined: 23-May 02
From: DE
Member No.: 2107



excellent
Go to the top of the page
+Quote Post
sPeziFisH
post Sep 16 2009, 21:43
Post #7





Group: Members
Posts: 380
Joined: 9-October 02
Member No.: 3506



Thank you.

If you want to hear a complete album in only some minutes, you could put each track into its own channel.. and downmix cool.gif Yeah I know, your human brains are not capable of things like that.. wink.gif laugh.gif

edit: stuff

This post has been edited by sPeziFisH: Sep 16 2009, 21:45
Go to the top of the page
+Quote Post
BoraBora
post Sep 17 2009, 00:19
Post #8





Group: Members
Posts: 116
Joined: 17-November 04
From: Paris, France
Member No.: 18179



Great news, thanks a lot for your work, Bryant!

It may be worth noting that Catraxx now supports WavPack:

QUOTE
8.30 - August 31, 2009

* Audio: Added full support for WavPack files.
Go to the top of the page
+Quote Post
ssjkakaroto
post Sep 17 2009, 06:12
Post #9





Group: Members
Posts: 203
Joined: 22-May 02
Member No.: 2096



Thanks for the update David!


--------------------
Allegari nihil et allegatum non probare, paria sunt.
Go to the top of the page
+Quote Post
randal1013
post Sep 20 2009, 22:16
Post #10





Group: Members
Posts: 306
Joined: 1-March 06
Member No.: 28189



i'm a little confused about the binary tag for adding cover art. is there a specific field i should use for the art? and the picture must be in the same folder as the source file, right?
Go to the top of the page
+Quote Post
bryant
post Sep 20 2009, 23:06
Post #11


WavPack Developer


Group: Developer (Donating)
Posts: 1290
Joined: 3-January 02
From: San Francisco CA
Member No.: 900



QUOTE (randal1013 @ Sep 20 2009, 14:16) *
i'm a little confused about the binary tag for adding cover art. is there a specific field i should use for the art? and the picture must be in the same folder as the source file, right?

The field name for cover art has been decided to be "Cover Art (Front)". A complete list of WavPack accepted fields is near the end of this document (although anything is allowed, obviously, if you don't need any other application to recognize it).

I think the source file folder is looked in first, but if it's not found there then it will look in any other directories specified on the command line. Also, on Windows, the filename can be a wildcard (but there must be only one match).
Go to the top of the page
+Quote Post
randal1013
post Sep 24 2009, 03:29
Post #12





Group: Members
Posts: 306
Joined: 1-March 06
Member No.: 28189



when i use --write-binary-tag "Cover Art (Front)=Folder.jpg", foobar's art viewer says it's an unsupported format or corrupt file. when i load the converted file into mp3tag it doesn't recognize any cover art. what am i doing wrong?

if i convert to wavpack without the binary tag, i can add cover art with mp3tag and it shows up in foobar.
Go to the top of the page
+Quote Post
bryant
post Sep 24 2009, 05:20
Post #13


WavPack Developer


Group: Developer (Donating)
Posts: 1290
Joined: 3-January 02
From: San Francisco CA
Member No.: 900



QUOTE (randal1013 @ Sep 23 2009, 19:29) *
when i use --write-binary-tag "Cover Art (Front)=Folder.jpg", foobar's art viewer says it's an unsupported format or corrupt file. when i load the converted file into mp3tag it doesn't recognize any cover art. what am i doing wrong?

Unless you just typed it wrong for this post, you need a '@' before the filename to indicate it's a file. Otherwise it's just making a binary tag with those 10 characters (and that's how it should show up when you do a -ss on it with wvunpack):

CODE
Cover Art (Front): 10-byte binary item
instead of this:
CODE
Cover Art (Front): 60288-byte binary item (jpg)


edit: I think that this is a pretty easy error to make, and I can't think of any reason to create a binary tag directly from the command-line (as opposed to from a file), so I think maybe I'll make it an error instead. Thanks for catching this! smile.gif

This post has been edited by bryant: Sep 24 2009, 05:46
Go to the top of the page
+Quote Post
randal1013
post Sep 24 2009, 15:23
Post #14





Group: Members
Posts: 306
Joined: 1-March 06
Member No.: 28189



i've tried the "@" symbol and when i click convert i get an error message.

QUOTE
1 out of 1 tracks converted with major problems.

Source: "D:\[MUSIC]\[TEMP]\Black Sabbath\1970-1\01.Black Sabbath.wv"
An error occurred while writing to file (The encoder has terminated prematurely with code 1; please re-check parameters) : "D:\TEMP\[MUSIC]\01.Black Sabbath.wv"
Additional information:
Encoder stream format: 44100Hz / 2ch / 16bps
Command line: "D:\APPS\FOOBAR\0.COMMON\encoding\wavpack-460beta.exe" -i --write-binary-tag "Cover Art (Front)=@Folder.jpg" - "01.Black Sabbath.wv"
Working folder: D:\TEMP\[MUSIC]\

Conversion failed: The encoder has terminated prematurely with code 1; please re-check parameters


if i remove the "@", the conversion works, but then obviously the artwork doesn't show.
Go to the top of the page
+Quote Post
bryant
post Sep 24 2009, 16:32
Post #15


WavPack Developer


Group: Developer (Donating)
Posts: 1290
Joined: 3-January 02
From: San Francisco CA
Member No.: 900



Ah, okay, I remember this problem (although I'm not exactly sure of a solution, depending on how you are doing things). The original thread was here.

The problem is that wavpack.exe does not know where to find "Folder.jpg" (which is why it's failing). It tries the current folder and any paths mentioned on the command line, but that's about all it can do. Taking out the '@' fixes the failure, but of course it's still not really finding the art.

What I gather from the poster is that if the artwork is put in the target folder then wavpack.exe can find it, but it can't find it if it's in the source folder. You might try that (if possible) or maybe putting in the full path to the artwork (probably not easy). Other than that, I don't have a solution, sorry... sad.gif

I did fix the bug reported in that thread of the crashing, but I don't think that will help here.
Go to the top of the page
+Quote Post
randal1013
post Sep 24 2009, 17:02
Post #16





Group: Members
Posts: 306
Joined: 1-March 06
Member No.: 28189



ok, i can confirm that it works if the picture is already in the destination folder, and also works if you put the full path in the command line. the good news is, you can use %FIELD% in the path.

for example, i used "@D:\[MUSIC]\[TEMP]\%ARTIST%\%DATE%\Folder.jpg" and it worked.

i also confirmed that by specifying the file path, the picture can be located anywhere on the hard drive. so if you have a folder with all your cover art, you can point to it in the command line. for example: "@D:\[MUSIC]\[COVER ART]\%ARTIST% - %ALBUM%.jpg" works as well.


so in conclusion, the binary tag actually has more functionality than originally implied. smile.gif



good work and thank you for your help biggrin.gif



EDIT: i feel i should point out, that $blah() operations don't work. so you can't use $REPLACE(%PATH%,%FILENAME_EXT%,Folder.jpg)

This post has been edited by randal1013: Sep 24 2009, 17:13
Go to the top of the page
+Quote Post
tedgo
post Sep 24 2009, 19:54
Post #17





Group: Members
Posts: 1089
Joined: 16-April 04
From: Bavaria, Germany
Member No.: 13548



QUOTE (randal1013 @ Sep 24 2009, 18:02) *
for example, i used "@D:\[MUSIC]\[TEMP]\%ARTIST%\%DATE%\Folder.jpg" and it worked.

Thanks for this hint smile.gif

QUOTE (randal1013 @ Sep 24 2009, 18:02) *
EDIT: i feel i should point out, that $blah() operations don't work. so you can't use $REPLACE(%PATH%,%FILENAME_EXT%,Folder.jpg)

crying.gif
That's sad...
Would be great if foobar could support full title formating strings in converter.

@bryant
Thanks for making my preferred lossless codec even better and better smile.gif
Go to the top of the page
+Quote Post
bryant
post Sep 25 2009, 16:54
Post #18


WavPack Developer


Group: Developer (Donating)
Posts: 1290
Joined: 3-January 02
From: San Francisco CA
Member No.: 900



This is really good information...thanks for all your help (and thanks to everyone for trying out the new versions)! smile.gif
Go to the top of the page
+Quote Post

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: 24th July 2014 - 15:09