README.markdown in pHash-1.1.4 vs README.markdown in pHash-1.1.5
- old
+ new
@@ -6,12 +6,16 @@
gem install pHash
You can specify path to pHash library explicitly using environment variable like `PHASH_LIB=/opt/local/lib/libpHash.dylib`.
-Audio hash functions needs to be compiled with C linkage, so if you get `FFI::NotFoundError` check names of methods in `libpHash`. Tiny patch for pHash 0.9.4 is in `audiophash.diff`.
+There are two problems with official version 0.9.6 of pHash. Both are fixed in a [fork of pHash](https://github.com/hszcg/pHash-0.9.6).
+- Audio hash functions are not compiled with C linkage - you will get `FFI::NotFoundError` when comparing audio files. [Patch](https://github.com/hszcg/pHash-0.9.6/commit/e93af6d).
+
+- Video hash functions are not compatible with latest ffmpeg changes - they will cause Segmentation Fault as explained in [Segmentation Fault error when trying to compare two videos with pHash library and its ruby bindings](http://stackoverflow.com/q/23414036/96823). [Patch](https://github.com/hszcg/pHash-0.9.6/commit/85218a6).
+
## Dependencies
* [pHash](http://www.phash.org/download/)
* [ffi](https://github.com/ffi/ffi#readme) ~> 1.0
@@ -55,8 +59,8 @@
Phash::Text.new('first.txt') % Phash::Text.new('second.txt')
## Copyright
-Copyright (c) 2011-2013 Ivan Kuchin.
+Copyright (c) 2011-2014 Ivan Kuchin.
Released under the GPLv3 as required by license of underlying pHash library.
See LICENSE.txt for details.