GStreamer plugin allowing the decoding of BlurHash (https://blurha.sh/) encoded hash values
It decodes an hash value into a 32-bit RGBA raw image
Uses decoder code from: https://github.com/woltapp/blurhash/tree/master/C
- gstreamer-1.0 (dev)
- gstreamer-base-1.0 (dev)
- gstreamer-video-1.0 (dev)
mkdir build
cd build
cmake ..
make
- hash: hash value to be decoded (default value is: "LaJHjmVu8_
po#smR+axaoLWCRj")
- hash: "LaJHjmVu8_
po#smR+axaoLWCRj" - width: 128
- height: 128
$ gst-launch-1.0 blurhashsrc ! imagefreeze ! fakesink
$ gst-launch-1.0 blurhashsrc ! imagefreeze ! videoconvert ! ximagesink
$ gst-launch-1.0 blurhashsrc hash="L34x;VRlagRlRSowWDRl4aodowod" ! imagefreeze ! videoconvert ! ximagesink
$ gst-launch-1.0 blurhashsrc hash="L34x;VRlagRlRSowWDRl4aodowod" ! video/x-raw, width=256, height=256 ! imagefreeze ! videoconvert ! ximagesink
- Add support for 24-bit RGB format.