Help - Search - Members - Calendar
Full Version: Unable to get an output filr from WavPack
Hydrogenaudio Forums > Lossless Audio Compression > WavPack
Steve Grant
Hello All,

I have set myself up a little encoder using Bass and WavPac and Flac.

The encoder is set to write to stdin on either WavPack or Flac and an output Path/Filename is specified. With Flac the progressbar does it's thing and I end up with a Flac file, but with WavPack the progressbar does it's thing but no File!!

The is no -o option in Wavpack to force an output filename/path, so is the output going to stdout perhaps and dissappearing up it's own pipe? biggrin.gif

I would be very grateful for an answer.

Steve.
bryant
It might be that WavPack is aborting at the end because the file length doesn't match the header. Try the -i option to ignore the length specified in the wav header. So, your command would be something like:

CODE
wavpack -i - outname.wv


If that's not it (and you're on Windows) you can try the WavPack debug mode by renaming the executable "wavpack_debug.exe" and looking at the generated log when done.
Steve Grant
Many thanks that has cured the problem.

I wonder why the header does not contain the right length info?

Thanks again,

Steve.
Martin H
QUOTE (Steve Grant @ Jan 25 2006, 10:30 PM)
I wonder why the header does not contain the right length info?

From the WavPack docs :

-i = ignore length in wav header (no pipe output allowed)

Some programs that pipe data to encoders do not always give the correct length in the wav headers that they provide (foobar's clienc and CDex are examples). In these cases use this option to force WavPack to ignore the header and accept the actual length. Because WavPack must seek to the beginning of the file to write the correct length, this option cannot be used with piped output.
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-2009 Invision Power Services, Inc.