No description or website provided.
Objective-C C Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
mac-show-ppms
upstream
.gitignore
.gitmodules
.travis.yml
README.md
build.sh
hash-frames.c

README.md

Some command-line tools for media

Build Status

hash-frames

PPM-listhash64(RGB frame pixels)-list, e.g. for "trust-but-verify" frame accuracy for extracting clips.

cat foo.mp4 | \
  ffmpeg -loglevel warning -i - -f image2pipe -c ppm - | \
  hash-frames > foo.mp4.hashes

The current hash function is cityhash (64-bit).

show-ppms (Mac)

cd mac-show-ppms && \
  xcodebuild && \
  cat foo.mp4 | \
    ffmpeg -loglevel warning -i - -f image2pipe -c ppm - | \
    ./build/Release/show-ppms.app/Contents/MacOS/show-ppms

The current implementation plays frames as quickly as it can, which is approximately the right speed for my use case.

TODO: improve performance, take --fps= argument.

License: TBD