Help - Search - Members - Calendar
Full Version: Does WavPack supports raw pcm input?
Hydrogenaudio Forums > Lossless Audio Compression > WavPack
optimus
I'm just going to integrate WavPack support in my batch transcoding tool, but I found it is not likely to eat raw pcm data (the reason why I need this is that the length of input data is not always known at the beginning of transcoding), is this true and any solution?
bryant
QUOTE(optimus @ Oct 1 2005, 07:12 PM)
I'm just going to integrate WavPack support in my batch transcoding tool, but I found it is not likely to eat raw pcm data (the reason why I need this is that the length of input data is not always known at the beginning of transcoding), is this true and any solution?
*


Hi. Thanks for adding WavPack support to your tool!

There is no "raw" mode for the WavPack encoder. However, I think there is an easy work-around. Just start the data with a wav header, but don't worry about the length. Then, add the -i option to the command line to have WavPack ignore the lengths in the header. It will then take as many samples as you give it.

The only possible problem with this method is that you cannot use -i if the output (for the WavPack file) is also a pipe (because WavPack must seek back to the beginning when finished to fixup the file).

Hope this works...
optimus
It works!
optimus
Just done with the integration. Now MEnc can rip CD and transcode from other formats (e.g. FLAC) to WavPack. laugh.gif

A screenshot:
user posted image
bryant
Hi Optimus. Thanks again for including WavPack support in your app; it looks really nice! I have been too busy to try it out yet, but I will soon. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.