Why Nostr? What is Njump?
2024-12-18 09:36:06
in reply to

Mattias Wadman on Nostr: nprofile1q…ny9gl one trick could be to look at the streaminfo md5 which is a ...

one trick could be to look at the streaminfo md5 which is a checksum of the uncompressed samples. there are several ways to extract it:

$ fq -rVd bytes '.[4:] | flac_metadatablock.md5' sample1.flac
3619081ac7c055cb21e7e978a4530310
$ mediainfo --Output=JSON sample1.flac | jq -r '.media.track[] | select(."@type" == "Audio").extra.MD5_Unencoded'
3619081AC7C055CB21E7E978A4530310
$metaflac --show-md5sum sample1.flac
3619081ac7c055cb21e7e978a4530310
Author Public Key
npub1kx3d8pcl2cpfy98zy8gd7lqjqpfavgxwqvnvqk5rz7xvkpxw280sj94a5h