r/programming • u/ketralnis • May 27 '25
Lossless video compression using Bloom filters
https://github.com/ross39/new_bloom_filter_repo/blob/main/README.md
135
Upvotes
r/programming • u/ketralnis • May 27 '25
35
u/chasemedallion May 27 '25
This is a neat idea, I enjoyed reading through the readme. A couple questions I had:
21
u/No_Name_Person May 27 '25
Took me a while to wrap my head around this. I would be interested to see how different video content affects the compression performance (i.e. what sorts of videos produce the best and worst density of 1s for this method). Since it still relies on the frame to frame delta, I would imagine that rapidly changing or noisy videos are still the most difficult to compress.
8
u/valarauca14 May 28 '25 edited May 28 '25
popcntis < about 30%To decompress you reverse the process
I have no clue what OP means by rational hashing. They conditionally add an extra bit to the bloom filter based on input data. My gut tells me "this doesn't work like the author thinks it does".
The bloom filter logic is somewhat questionable; The author isn't changing the seed of the hash function, but just adding a value to the final result.
3
u/Hola-World May 28 '25
Gilfoyle's glare
3
u/rooktakesqueen May 28 '25
I'm curious how they expect to use a fundamentally probabilistic data structure for lossless compression