akamhy / videohash

Near Duplicate Video Detection (Perceptual Video Hashing) - Get a 64-bit comparable hash-value for any video.
https://pypi.org/project/videohash
MIT License
264 stars 41 forks source link

Address issue with `subprocess` and `stdint` #99

Open dale-wahl opened 1 year ago

dale-wahl commented 1 year ago

This is main to address the issue described here: https://github.com/akamhy/videohash/issues/98

It's mostly an issue with subprocess and ffmpeg, but videohash is susceptible to it. Let me know if you have any questions.

I also added a bit to allow me to save the ffmpeg logs (which I needed at first to diagnose what was going on). You can keep it at your leisure, but I left it as optional.

Thanks again for this library. It's a very good idea and I'm looking forward to experimenting more with the various results!

Demmenie commented 3 days ago

I fixed this and published it in my fork: https://github.com/Demmenie/videohash2 https://pypi.org/project/videohash2/