IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
[Question] About "--merge-blocks".
BlueKnight
post Apr 19 2014, 08:51
Post #1





Group: Members
Posts: 7
Joined: 12-April 14
Member No.: 115486



When I include the option "--merge-blocks" the following happens:
QUOTE
original md5: bfd5392eb5a146e806a13dc9622faf65
verified md5: df25d44ee06b70bc222fc73e1e8e4d49
MD5 signatures should match, but do not!

Is this normal? Or I shouldn't use "--merge-blocks"? I don't know...

Thank you! :)

This post has been edited by BlueKnight: Apr 19 2014, 08:52
Go to the top of the page
+Quote Post
db1989
post Apr 19 2014, 15:30
Post #2





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



MD5 signatures of what? The decoded audio or the entire encoded WavPack files? If the latter, of course they differ because you have just instructed the encoder to alter its format.
Go to the top of the page
+Quote Post
lvqcl
post Apr 19 2014, 15:59
Post #3





Group: Developer
Posts: 3383
Joined: 2-December 07
Member No.: 49183



CODE
wavpack.exe -m --merge-blocks --blocksize=512 test.wav
wvunpack.exe -m -v test.wv

results in:

CODE
original md5:  00b0bff6862b518452b46ad994cbde11
unpacked md5:  00b0bff6862b518452b46ad994cbde11
verified test.wv in 1.04 secs (lossless, 27.38%)


Input file is 16 bit, stereo, 44.1kHz.
Go to the top of the page
+Quote Post
BlueKnight
post Apr 19 2014, 16:00
Post #4





Group: Members
Posts: 7
Joined: 12-April 14
Member No.: 115486



QUOTE (db1989 @ Apr 19 2014, 16:30) *
MD5 signatures of what?

MD5 signatures of the raw pcm data. That output is from WavPack program.

QUOTE (lvqcl @ Apr 19 2014, 16:59) *
CODE
wavpack.exe -m --merge-blocks --blocksize=512 test.wav
wvunpack.exe -m -v test.wv

results in:

CODE
original md5:  00b0bff6862b518452b46ad994cbde11
unpacked md5:  00b0bff6862b518452b46ad994cbde11
verified test.wv in 1.04 secs (lossless, 27.38%)


Input file is 16 bit, stereo, 44.1kHz.

Strange, it doesn't work here. I always get incorrect MD5:
QUOTE
blueknight@bk:~/Desktop/Audio/01$ wavpack -m --merge-blocks --blocksize=512 01.wav

WAVPACK Hybrid Lossless Audio Compressor Linux Version 4.60.1
Copyright © 1998 - 2013 Conifer Software. All Rights Reserved.

original md5 signature: bfd5392eb5a146e806a13dc9622faf65
created 01.wv in 1.17 secs (lossless, 40.08%)
blueknight@bk:~/Desktop/Audio/01$ wvunpack -m -v 01.wv

WVUNPACK Hybrid Lossless Audio Decompressor Linux Version 4.60.1
Copyright © 1998 - 2013 Conifer Software. All Rights Reserved.

original md5: bfd5392eb5a146e806a13dc9622faf65
unpacked md5: 122c4c1e400fe8de0bbbb4a4cf89e5cc
MD5 signatures should match, but do not!


I just want to know if "--merge-blocks" cannot be used that way or it is some kind of bug. I'm using the Linux version, if that matters (noticed your "wavpack.exe").

This post has been edited by BlueKnight: Apr 19 2014, 16:25
Go to the top of the page
+Quote Post
lvqcl
post Apr 19 2014, 16:33
Post #5





Group: Developer
Posts: 3383
Joined: 2-December 07
Member No.: 49183



Do you use 64-bit wavpack? Try 32-bit version.

Also you use old version (4.60.1). Maybe this bug was fixed in 4.70.0.
Go to the top of the page
+Quote Post
BlueKnight
post Apr 19 2014, 16:36
Post #6





Group: Members
Posts: 7
Joined: 12-April 14
Member No.: 115486



QUOTE (lvqcl @ Apr 19 2014, 17:33) *
Do you use 64-bit wavpack? Try 32-bit version.

Also you use old version (4.60.1). Maybe this bug was fixed in 4.70.0.

I will try to compile a 32-bit version...

I'm using the latest wavpack I built from source (got it from official website):
QUOTE
blueknight@bk:~/Desktop/Audio/01$ wavpack --version
wavpack 4.70.0
libwavpack 4.60.1


Maybe the libwavpack is old? Investigating...

EDIT: It seems I have the latest libwavpack here... If not, please let me know.

EDIT: It seems I had to disable shared when compiling, the shared library in my system is old... It is updated now:
QUOTE
blueknight@bk:~$ wavpack --version
wavpack 4.70.0
libwavpack 4.70.0


And now it works:
QUOTE
original md5: bfd5392eb5a146e806a13dc9622faf65
unpacked md5: bfd5392eb5a146e806a13dc9622faf65
verified 01.wv in 0.98 secs (lossless, 38.95%)

Simple fix, LOL... tongue.gif

Thanks for helping! SOLVED!

This post has been edited by BlueKnight: Apr 19 2014, 17:04
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd September 2014 - 00:42