title
Products            Buy            Support Forum            Professional            About            Codec Central
 

[Calculate Audio CRC] plug-in returns unexpected MD5 values.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pablogm123
    dBpoweramp Enthusiast
    • May 2012
    • 86

    [Calculate Audio CRC] plug-in returns unexpected MD5 values.

    Hello. I'm using the [Calculate Audio CRC] plug-in to verify the CRC32/MD5 hashes of raw PCM audio stream of some audio files (wavpack format) against the known and expected values. The CRC32 is calculated properly, but MD5 not.

    For example, these are the expected hashes for an album extracted from a Saturn game which has two data tracks, as reported by another application which I use to dump mixed mode CDs:

    CRC32
    Code:
    REM Trk 03: 0x641d9a0c
    REM Trk 04: 0xc43ba679
    REM Trk 05: 0xeec20dd4
    REM Trk 06: 0xb2609b00
    REM Trk 07: 0xcfa90ad4
    REM Trk 08: 0xee32e748
    REM Trk 09: 0xd0f16838
    REM Trk 10: 0xebeb19a0
    REM Trk 11: 0x536f046a
    REM Trk 12: 0x702b2789
    REM Trk 13: 0x0f867aff
    REM Trk 14: 0x2b5268c5
    REM Trk 15: 0x0f95f4a8
    REM Trk 16: 0xd0a1094a
    REM Trk 17: 0xb3afd192
    REM Trk 18: 0xfbd39be2

    MD5
    Code:
    REM Trk 03: 0x87de2c702646f652c96df704831b51a1
    REM Trk 04: 0xbd10c585765a40b8d7651cc94e6e9a8b
    REM Trk 05: 0x8d3a6e21d4a175da8beb06dfcd736b1c
    REM Trk 06: 0xf8d0a8a4e384d4fd68f83782ce4dd9a4
    REM Trk 07: 0xb6344839139f5c4f9323bb1a95a3d412
    REM Trk 08: 0xa3ebd40ae313b85ee10da53349972910
    REM Trk 09: 0x8f74e4f065c3ba79c1f043f8250206a4
    REM Trk 10: 0x1fee6bd2a7923cff88365dc18fb9a17f
    REM Trk 11: 0x707c1835c4b7c41382e0a8ba40cbc0a1
    REM Trk 12: 0xcd0a00cb299ced9041e6100a9b983856
    REM Trk 13: 0xf7d80ffc1f1e4d8745be59033a6e7535
    REM Trk 14: 0x86841efa52b792a0dc3ce7c5ccd15b26
    REM Trk 15: 0x623636702481ac6c26a3cbfd4b84991c
    REM Trk 16: 0x9c2e16c2d01f1502d40b8e12585673ba
    REM Trk 17: 0x6c8a0434a689eb139274012549742e71
    REM Trk 18: 0xc8f9a2bb2007d209bbca8fa131edce3c


    The wavpack container itself stores properly the expected MD5 hash once I encoded that album into wv files, which I can see in the file view info tab of Winamp when I play that file. And the [Calculate Audio CRC] plug-in calculates fine the CRC32 of the raw PCM audio stream, but calculates very weird and unexpected MD5 hashes. For example, the previous album I have talking about once processed by the plug-in. Also, notice the not properly sorted names of files in the list.

    Code:
    CRC32		MD5					Filename
    
    641D9A0C	702CDE8752F6462604F76DC9A1511B83	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\03 - Opening.wv
    C43BA679	85C510BDB8405A76C91C65D78B9A6E4E	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\04 - Soccer Night Game.wv
    B2609B00	A4A8D0F8FDD484E38237F868A4D94DCE	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\06 - Replay 1.wv
    CFA90AD4	394834B64F5C9F131ABB239312D4A395	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\07 - Replay 2.wv
    EE32E748	0AD4EBA35EB813E333A50DE110299749	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\08 - Replay 3.wv
    EEC20DD4	216E3A8DDA75A1D4DF06EB8B1C6B73CD	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\05 - Soccer Day Game.wv
    D0F16838	F0E4748F79BAC365F843F0C1A4060225	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\09 - Results Wide Cup.wv
    536F046A	35187C7013C4B7C4BAA8E082A1C0CB40	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\11 - Winner Tournament.wv
    702B2789	CB000ACD90ED9C290A10E6415638989B	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\12 - Winner Tournament Remix.wv
    0F867AFF	FC0FD8F7874D1E1F0359BE4535756E3A	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\13 - Replay 4.wv
    2B5268C5	FA1E8486A092B752C5E73CDC265BD1CC	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\14 - Replay 5.wv
    EBEB19A0	D26BEE1FFF3C92A7C15D36887FA1B98F	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\10 - Results Wide Cup Long Version.wv
    0F95F4A8	703636626CAC8124FDCBA3261C99844B	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\15 - Replay 6.wv
    D0A1094A	C2162E9C02151FD0128E0BD4BA735658	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\16 - Soccer Night Rain Game.wv
    FBD39BE2	BBA2F9C809D20720A18FCABB3CCEED31	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\18 - Title.wv
    B3AFD192	34048A6C13EB89A625017492712E7449	D:\Nueva colección\Música\Video Game Music\Sega Worldwide Soccer '97 (Saturn)\17 - Soccer Day Rain Game.wv
    Last edited by pablogm123; 10-06-2012, 07:45 PM.
  • Spoon
    Administrator
    • Apr 2002
    • 43930

    #2
    Re: [Calculate Audio CRC] plug-in returns unexpected MD5 values.

    You would have to reference to a 3rd program which can calculate md5 on the audio data, perhaps foobar?
    Spoon
    www.dbpoweramp.com

    Comment

    • pablogm123
      dBpoweramp Enthusiast
      • May 2012
      • 86

      #3
      Re: [Calculate Audio CRC] plug-in returns unexpected MD5 values.

      I have performed another two tests:

      1: I have decoded the .wv files into .raw headerless format (wvunpack -r command). Then I have hashed those files through a general hashing program. Result:


      2: The "Verify Integrity" complement of Foobar. Same result:

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 43930

        #4
        Re: [Calculate Audio CRC] plug-in returns unexpected MD5 values.

        It looks like our md5 is calcuated using some other basis (the results will always be consistent).
        Spoon
        www.dbpoweramp.com

        Comment

        Working...

        ]]>