HydrogenAudio

Lossless Audio Compression => WavPack => Topic started by: krafty on 2011-04-07 22:58:54

Title: How to extract tags and covers from a WavPack file
Post by: krafty on 2011-04-07 22:58:54
Title says all.
I'd like to know a few examples!
Title: How to extract tags and covers from a WavPack file
Post by: soiaf on 2011-04-07 23:21:43
On linux or Windows or other?

If something like linux have a look at the first post here
http://www.hydrogenaudio.org/forums/index....showtopic=87245 (http://www.hydrogenaudio.org/forums/index.php?showtopic=87245)

For extracting cover art you could try something like

wvunpack -xx "Cover Art (Front)=file.jpg" -v test.wv

which in this case would extract the cover art and put in a file called file.jpg

Title: How to extract tags and covers from a WavPack file
Post by: krafty on 2011-04-07 23:24:53
Linux here. Thanks for the info.
Title: How to extract tags and covers from a WavPack file
Post by: krafty on 2011-04-09 19:42:48
Ok, here' the issue:

MP3Tag is showing ONE front cover and ONE back cover, duplicated, so it shows as 4 embedded files.
But foobar2000 is actually showing ONE front, ONE back and the ONE disc image, totalizing 3 images.
What I wanted is to extract each one of them and I can't get this done, is there a way to list the tag fields to know their names?
Title: How to extract tags and covers from a WavPack file
Post by: soiaf on 2011-04-09 19:58:45
wvunpack -ss test.wv

lists all the tags
Title: How to extract tags and covers from a WavPack file
Post by: krafty on 2011-04-09 20:47:32
-ss actually display the stream information... it doesn't return tags (although help says 'including tags'). The tags here are APEv2.
Title: How to extract tags and covers from a WavPack file
Post by: soiaf on 2011-04-09 21:05:56
It certainly does for me on Windows

Code: [Select]
C:\Music>wvunpack -ss "01 Set Guitars to Kill.wv"

WVUNPACK  Hybrid Lossless Audio Decompressor  Win32 Version 4.60.1
Copyright (c) 1998 - 2009 Conifer Software.  All Rights Reserved.


file name:         01 Set Guitars to Kill.wv
file size:         43179812 bytes
source:            16-bit ints at 44100 Hz
channels:          2 (stereo)
duration:          0:05:29.59
modalities:        lossless
compression:       25.73%
ave bitrate:       1048 kbps
encoder version:   4
original md5:      4cabc20b552e10751823d571c082f4e1
file wrapper:      44 byte RIFF header

APEv2 tag items:   7
Album:             And So I Watch You From Afar
Artist:            And So I Watch You From Afar
Genre:             Post Rock
Title:             Set Guitars to Kill
Track:             1
Year:              2009
Cover Art (Front): 128825-byte binary item
Title: How to extract tags and covers from a WavPack file
Post by: krafty on 2011-04-09 21:47:14
Something's wrong on my side...

edit:  it's a full image, no embedded cuesheet, and MP3Tag says it is APEv2 - and it shows the tags... weirdest thing.
Title: How to extract tags and covers from a WavPack file
Post by: bryant on 2011-04-10 05:18:46
If the total size of the APEv2 tag is over 1MB, then WavPack will ignore it (I think...I'm away from home/code). If other programs are showing the tags and wvunpack is not, then that would be my first guess.

If the tags were created by another program, then perhaps WavPack is just more picky about the tags being correctly formatted.

edit: spelling/typo
Title: How to extract tags and covers from a WavPack file
Post by: krafty on 2011-04-10 17:31:12
Thanks bryant. Yes, The images go over 1MB easily, I can see that. That's why is not returning on command line.
What program is recommended besides MP3Tag to extract the binary tags
Title: How to extract tags and covers from a WavPack file
Post by: krafty on 2011-04-10 20:18:08
Ok, I just realized I have a .iso.wv file which is not a true wavpack file, but a ZIP file with the wavpack file and other files. Whoever made the file this way has plenty crap on his mind. I was curious about "iso.wv", that is why I got this file...