7

I need to convert a bunch of .wv files to .flac but I can't seem to find a program to do it. Does anybody know how I can do this?

P.S.: I was wondering why Audacity does not support the importing .wv format if it is open source and lossless. Does anybody know?


Update: Somewhere I read about converting .ape to .flac using ffmpeg, so I decided to try replacing the .ape with .wv and at first it seems to work but then I get this at the end:

[wv @ 0x8e7c200] Invalid block header.te= 836.1kbits/s    
audiofile.wv: Invalid data found when processing input

So my question is: what is wrong here?

By the way, the command used was ffmpeg -i audiofile.wv audiofile.flac. Thanks for the help.

Gary Maulin
  • 71
  • 1
  • 1
  • 3

2 Answers2

14

The ffmpeg error you're getting makes me think you might just have a corrupted file. You could try sox audiofile.wv audiofile.flac. Alternatively, you could use the wavpack tools:

wvunpack audiofile.wv -o - | flac - -o audiofile.flac

Note that wiill not copy over any metadata; you'll need to do that separately.

If even the wavpack tools can't successfully read the file, then your file is probably just corrupt.

derobert
  • 107,579
  • 20
  • 231
  • 279
2

If you don't mind using command lines, you could use ffmpeg. If you simply run:

ffmpeg -i file.wv -acodec flac file.flac

(Assuming of course the file you want to convert is called "file.wv"), will produce a file called file.flac. Of course, if you want to, you can change that last bit of the command so that ffmpeg outputs a different filename.

Or, if you at least have the ffmpeg libraries installed, you should be able to import the wavpack files into Audacity.

jojman
  • 587
  • 6
  • 15
TSJNachos117
  • 359
  • 1
  • 9