dpwe/audfprint

Concatenating precomuted hashes of consecutive parts of file

Closed this issue · 2 comments

Is there a way to concatenate precomputed hashes so that the times align properly?

I have recorded consecutive mp3 files and I precompute them. I would like to concatenate the precomputed files without needing to attach the original mp3 files and precomputing the attached file.

I'm using your code as a library, so if you can share a code sample that would be great.

I've tried offsetting the hash time by 430 for each file I add but it's not exact. even if I get the length of the original file using audio_read it's not exact.

@dpwe this seems to be impossible considering that the info is lost when cutting the file

dpwe commented