Mattias Wadman on Nostr: nprofile1q…ny9gl one trick could be to look at the streaminfo md5 which is a ...
Published at
2024-12-18 09:36:06Event JSON
{
"id": "81b2ad7a94d6c78c80864b9cd6f8e056b9736b1a211df43c6d163dcd7552eb52",
"pubkey": "b1a2d3871f56029214e221d0df7c120053d620ce0326c05a83178ccb04ce51df",
"created_at": 1734514566,
"kind": 1,
"tags": [
[
"p",
"02d4f30da9b054218b21a79b99f6891977c789f5445f6c289d4b9165719a2971",
"wss://relay.mostr.pub"
],
[
"p",
"c602d7a92a14fb77f5eacb21173b64321ee8f2ec670e3321f46fb77a672eeba0",
"wss://relay.mostr.pub"
],
[
"e",
"e76a12119e6fe2412ba8825d25d49082475efcfce98eca3686e3b0ef6b5522fd",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fosstodon.org/users/wader/statuses/113673146618424861",
"activitypub"
]
],
"content": "nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqqt20xrdfkp2zrzep57dena5fr9mu0z04g30kc2yafwgk2uv699cs7ny9gl 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:\n\n$ fq -rVd bytes '.[4:] | flac_metadatablock.md5' sample1.flac\n3619081ac7c055cb21e7e978a4530310\n$ mediainfo --Output=JSON sample1.flac | jq -r '.media.track[] | select(.\"@type\" == \"Audio\").extra.MD5_Unencoded'\n3619081AC7C055CB21E7E978A4530310\n$metaflac --show-md5sum sample1.flac\n3619081ac7c055cb21e7e978a4530310",
"sig": "b3d64844d3463ba7475f0bd96848c0601cc26e7254f490b17dd313a59695debce5c3bcd877d13189e56fd5532423966cfec0cb9bff0f737a6687ef6bd92a9f10"
}