{"status":"ok","message":"[matroska,webm @ 0x7fffca78dc40] Element at 0x951cfd ending at 0x951d0e exceeds containing master element ending at 0x951cf1"}
{"status":"error","message":"identify: Premature end of JPEG file `/mnt/c/daten/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram/parliamentdefect.jpg' @ warning/jpeg.c/JPEGWarningHandler/352."}
\ No newline at end of file
# IndexerHelper
Analyses media data in conjunction with the [Indexer](https://gitlab.switch.ch/memoriav/memobase-2020/services/indexer). It can be used to
- validate video and audio files (using [FFmpeg](https://ffmpeg.org/))
- generate a histogram of an image
- extract EXIF data out of an image (using [ExifTool](https://exiftool.org/))
## Installation
go get gitlab.switch.ch/memoriav/memobase-2020/services/histogram
go build gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/histogram
go build gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice
{"status":"ok","message":"[matroska,webm @ 0x7fffca78dc40] Element at 0x951cfd ending at 0x951d0e exceeds containing master element ending at 0x951cf1"}
{"status":"error","message":"identify: Premature end of JPEG file `/mnt/c/daten/go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram/parliamentdefect.jpg' @ warning/jpeg.c/JPEGWarningHandler/352."}