IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
How to extract tags only?, extract tags, not audio
CoRoNe
post Aug 17 2010, 22:52
Post #1





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



Hello,

I have a WV-file with embedded cue-sheet and cover-art. I'd like to know how to extract both of these with wvunpack.exe WITHOUT having to extract the audio itself.
I've actually already managed to do this with "wvunpack -cc -xx "Cover Art (Front)"", and after that quickly hit Ctrl+C to stop the WAV-file extraction.
However the primary command for this would be: "wvunpack -c -x "Cover Art (Front)"", but since this is then forwarded to stdout, no actual files are extracted.
I get the following messages:
CODE
can't extract more than 1 tag item to stdout at a time!
can't extract a tag to stdout and do anything else!
Press any key to continue . . .

I have read this however:
QUOTE (http://www.wavpack.com/wavpack_doc.html)
-s = display summary information only to stdout (no decode)

This option causes WvUnpack to simply display general information about the specified WavPack files including source information, encoder version and
options and original MD5 checksum. This information can be directed into a file with the ">" operator. No file decoding or verification can occur with this option.
So I guess for people only wanting to extract certain tags without the audio, there's something missing from the manual? I tried some variations with the ">" in it, but nothing worked.


--------------------
DC-Bass Source Mod: http://reino.degeelebosch.nl
Go to the top of the page
+Quote Post
bryant
post Aug 18 2010, 04:39
Post #2


WavPack Developer


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



QUOTE (CoRoNe @ Aug 17 2010, 14:52) *
So I guess for people only wanting to extract certain tags without the audio, there's something missing from the manual? I tried some variations with the ">" in it, but nothing worked.

Yeah, the syntax and behavior is a little confusing. If you do not want to decode audio, then you need to use stdout for all tag decoding and (obviously) need one command line for each tag:

CODE
wvunpack file.wv -x "Cover Art (Front)" > cover.jpg
wvunpack file.wv -c > cuesheet.cue

BTW, I have not tried these with the frontend (which it looks like you might be using), so there might be a problem there with using stdout.

I could add a new switch like --no-audio-decode to force the behavior you want, and I also thought about a switch --extract-all-tags that would extract all multi-line and binary tags, but I decided it was already getting too confusing... smile.gif

David
Go to the top of the page
+Quote Post
CoRoNe
post Aug 18 2010, 11:26
Post #3





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



Ah yes, Multi frontend automatically fills in %s and %d, so you're right. Using only the command-tool worked. However, with -cc and -xx wvunpack.exe automatically names the jpg-file "Cover Art (Front).jpg" and the cue-file "[file-name.wv].cue", where as with -c and -x entering a name seems to be mandatory, because something like "*.jpg" doesn't work.
A new switch for extracting tags is also welcome. Thanks for your time.


--------------------
DC-Bass Source Mod: http://reino.degeelebosch.nl
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: 22nd December 2014 - 04:41