How to convert WavPack to FLAC

audioconversionflac

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.

Best Answer

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.

Related Question