codec-patch-stream

GitHub

codec-patch-stream is a systems project for decoding video and selecting patches efficiently for downstream model pipelines.

It is designed around two core workflows:

  • decode-only frame extraction
  • decode plus energy-based patch selection

The library separates decode execution from patch processing, which gives callers explicit control over whether each stage runs on CPU or GPU.

That makes it a good fit for research and production settings where video throughput, patch efficiency, and hardware placement all matter at the same time.