HydrogenAudio

Lossless Audio Compression => WavPack => Topic started by: igor-tf on 2010-07-14 13:36:35

Title: Lossless with no correction? Correction in other folder?
Post by: igor-tf on 2010-07-14 13:36:35
Whether probably precise restoration of file WAV from file WV without a file of correction?
Whether accommodation of files of correction in one folder with lossy files WV is mandatory?
Title: Lossless with no correction? Correction in other folder?
Post by: Synthetic Soul on 2010-07-14 15:01:06
If I understand you correctly:

1. The normal mode does not create a correction file, and is lossless.

2. I'm pretty sure that the correction file has to be in the same folder.  I can see no switch that would let you specify the path.
Title: Lossless with no correction? Correction in other folder?
Post by: igor-tf on 2010-07-14 15:20:40
If I understand you correctly:

1. The normal mode does not create a correction file, and is lossless.

2. I'm pretty sure that the correction file has to be in the same folder.  I can see no switch that would let you specify the path.


The normal mode does not create a correction file, and is lossless.-this i"m anderstand.

Hybrid mode without correction file-is not lossless? Yes?


Title: Lossless with no correction? Correction in other folder?
Post by: 2E7AH on 2010-07-14 15:32:01
Correction files may be in different folder from lossy ones if you use foobar for playback
Title: Lossless with no correction? Correction in other folder?
Post by: igor-tf on 2010-07-14 15:54:38
Correction files may be in different folder from lossy ones if you use foobar for playback


Thank you! I"m anderstand!
But if other program use for playback?
Title: Lossless with no correction? Correction in other folder?
Post by: dv1989 on 2010-07-14 16:17:54
Clearly that is dependent on the program.

Hybrid mode without correction file-is not lossless? Yes?
Yes, that is obviously not lossless.
Edited for clarity
Title: Lossless with no correction? Correction in other folder?
Post by: Synthetic Soul on 2010-07-14 19:00:54
Correction files may be in different folder from lossy ones if you use foobar for playback
Thanks for the info, I didn't realise.

The following may be of interest to the OP (it touches on both subjects, although given the above is not conclusive):

Quote
If the -c option is specified (in addition to the -b option), then WavPack will generate an additional file that will contain the information that was discarded to generate the lossy .wv file. This file will have the same name as the .wv file but will have the extension .wvc (the 'c' is for "correction"). When WvUnpack is used to restore the .wav file, it will attempt to find the .wvc file in the same directory as the .wv file. If it is found then the decompression will be lossless and will be reported as such, otherwise lossy decompression will be reported (assuming that any information was actually discarded during the original compression). If -c is specified but no actual information is discarded, the correction file will be deleted. The extra overhead involved with having these two files instead of a single pure lossless file is usually less than 1% of the original .WAV file and can be as low as 0.25% at high bitrates. Note that CRCs are stored for both the lossy and lossless versions, so error detection works correctly whether the .wvc file is used or not.
Title: Lossless with no correction? Correction in other folder?
Post by: Synthetic Soul on 2010-07-14 19:05:42
NB: It is my understanding that wavpack.exe will check both the working directory and source directory (edit: and destination (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=38281&view=findpost&p=337437)) when tagging from a file (and only a filename is passed).

I did wonder whether correction files may work similarly; however I just tested and it didn't work for me: the correction file in the working directory was ignored.
Title: Lossless with no correction? Correction in other folder?
Post by: igor-tf on 2010-07-14 23:58:49
Ok. And why foobar display bitrate of lossy file wavpack as lossless file? I'm convert to 400 kbps+correction,but foobar display 1000 kbps.    ...???...
Title: Lossless with no correction? Correction in other folder?
Post by: bryant on 2010-07-15 02:29:51
Ok. And why foobar display bitrate of lossy file wavpack as lossless file? I'm convert to 400 kbps+correction,but foobar display 1000 kbps.    ...???...

Foobar shows the total bitrate being consumed, counting the lossy file and the correction file together.

The idea is that when the correction file is present, it's just like lossless, and so it shows the lossless bitrate.
Title: Lossless with no correction? Correction in other folder?
Post by: igor-tf on 2010-07-15 08:22:22
Ok. And why foobar display bitrate of lossy file wavpack as lossless file? I'm convert to 400 kbps+correction,but foobar display 1000 kbps.    ...???...

Foobar shows the total bitrate being consumed, counting the lossy file and the correction file together.

The idea is that when the correction file is present, it's just like lossless, and so it shows the lossless bitrate.


Thank you!

Wavpack support ID3v2 tags? Or ID3v1 only?
Title: Lossless with no correction? Correction in other folder?
Post by: Synthetic Soul on 2010-07-15 09:05:48
You should use APEv2.  Wavpack will tag using this format, as will foobar.