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...