Skip to content

Zer0pa/ZPE-Video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ZPE-Video

Install / Developer Commands

Package Install

Installable package: python3.11 -m pip install zpe-video. Current release: 0.1.0 on PyPI. Source: Zer0pa/ZPE-Video.

python3.11 -m pip install zpe-video

Import smoke:

python3.11 - <<'PY'
import importlib.metadata as md
import zpe_video

print("zpe-video", md.version("zpe-video"))
PY

Install success only proves package acquisition/import. Product scope, stale PyPI state, platform limits, and blockers remain in the front-door sections below.

  • PyPI README is stale; Python support intentionally excludes Python 3.14.

Quick Start

git clone https://github.com/Zer0pa/ZPE-Video.git
cd ZPE-Video
python3.11 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip uv
uv sync --extra dev
uv run pytest tests -v
uv run python examples/02_cross_writer.py   # expected: "cross-writer wedge: VERIFIED"

Expected: 29/29 tests pass; the cross-writer example prints cross-writer wedge: VERIFIED with byte-identical output from the library and an independent from-spec encoder.


00 · ZPE-VIDEO · PERCEPTION RECEIPT DEVELOPER-READY · RECEIPT CORE OPEN

See what AI really saw in video.

A byte-identical perception receipt for AI video pipelines · ZPE-Video · PyPI zpe-video v0.1.0 · github.com/Zer0pa/ZPE-Video

AI systems decide what gets flagged in video, who gets identified, what a generation model is trained on — and until now, no one outside the pipeline could check what the detector was actually shown. ZPE-Video is the record that closes that gap. Two independent Python writers, built from the same spec, produce a byte-identical perception receipt for the same frames. What the AI saw becomes a re-derivable record. This is not a video codec.

ZPE-Video approved scientific square mechanics diagram showing frame-order detector-packet mechanics.
Scope: receipt for detector, tracker, and manifest state. Two writers produce the same bytes; pixels and audio are not reconstructed.
01 · THE GAP NO RECEIPT

An AI processes video — but no one can check what it was actually shown.

02 · MARKETS ADJACENT FORECASTS
AI video market '33 · $42.3B
Content detection / provenance '30 · $39.7B
AI image + video generator '30 · $60.8B
Video analytics est. $12.4B
AI content authentication est. $3.1B
Adjacent AI-video and provenance markets · hypothesis only; no adoption, compliance, or legal-sufficiency claim.
03 · VALUE OF MARKET
$39.7B
Content provenance is growing; ZPE-Video is a bounded Python receipt layer beneath that infrastructure, not a replacement for it.
04 · INSIGHT

What AI saw in the video can now be checked.

05.1 · CURRENT TECH NO RECEIPT FORMAT

Perception traces from AI video pipelines scatter across Parquet, JSON, pickle, and MCAP containers. There is no portable record format and no second writer that can independently rebuild the same bytes from the spec.

05.2 · OUR TECH BYTE-IDENTICAL RECEIPT

zpe-video v0.1.0 ships a zero-dependency Python library with a documented wire format, per-frame CRC32, stable receipt hashes, and SHA-256 manifest binding. Two independent writers — one built from the spec by hand — produce byte-identical output across 3 receipt-core cases. The record is re-derivable, not just inspectable.

05.3 · BENCHMARKS 3 RECEIPT-CORE CASES
Cross-writer SHA3cases stable
Manifest bind3cases verified
Receipt corePASSnot sovereign
PyPIv0.1.0connected
Writer A SHA=
Writer B SHA=
Parquet MISS
Benchmark: 961B vs Parquet 5,386B · 0.302ms vs 4.500ms · receipt scope only.
06 · MEASUREMENT RECEIPT VALIDATION

Receipt evidence lives in bytes, hash, CRC, and manifest.

06.1 · COMPARATIVE RECEIPT VALIDATION CROSS-WRITER SHA STABILITY
Writer A SHA=
Writer B SHA=
Parquet not stable
Raw struct not receipt
Two writers produce the same bytes on 3 receipt-core cases · manifest binding holds · Parquet and raw-struct comparators shown for reference · wider corpus coverage open. Source: proofs/artifacts/
07 · KEY METRICS PHASE 09.4 PROVENANCE
07.1 · CROSS-WRITER SHA
3CASES STABLE
Two independent Python writers · byte-identical output
07.2 · MANIFEST BIND
3CASES VERIFIED
SHA-256 receipt → manifest binding verified
07.3 · RECEIPT CORE
PASS
Receipt scope only · not full-video replay
07.4 · RELEASE
v0.1.0
PyPI zpe-video · released 2026-05-04
07.5 · COMPRESSION
NO
No video-frame compression claim.
08 · DETERMINISM BYTE-EXACT RECEIPT

Two independent Python writers, one byte-identical receipt.

08.1 · WHAT DETERMINISTIC MEANS RECEIPT SCOPE

Deterministic means the same detector and tracker input plus the same wire-format spec produce a byte-identical perception receipt from two independent Python writers, with SHA-256 manifest binding verified on the same three receipt-core cases. Cross-writer SHA-stable measures the receipt only — it is not deterministic computer vision, deterministic LLM output, a legal evidence chain, full-video replay, or a competitor to AV1 or VVC. The scope is the record, and the scope is named.

08.2 · HONEST BLOCKER
Honest Blocker ·

The receipt carries detector and tracker state — boxes, track IDs, timestamps, CRCs, manifest binding. It does not reconstruct pixels, appearance, or audio. Cross-runtime replay is open, C2PA integration is not in scope yet, and the PyPI v0.1.0 README still carries stale private-repo and video-codec wording.

09

WHAT THE MODEL SAW, ON THE RECORD.

09.1 · THE AMBITION

The ambition is not to compete with video codecs. It is to make the question "what was this AI actually shown?" answerable by anyone who can run Python. When that record exists at intake, AI video systems stop being black boxes that decide on inputs no one else can inspect.

09.2 · WHAT WORKS NOW

Working today: byte-identical perception records, two independent Python writers, manifest-bound on three receipt-core cases.

09.3 · WHAT'S STILL OPEN

Still open: cross-runtime replay, C2PA integration, sovereign closure, and the v0.1.0 PyPI README cleanup.

09.4 · MODERATION · NEAR-TERM (12–24 MO)
Moderation teams gain a re-derivable record
A trust-and-safety lead reviewing a content-removal appeal can ask the pipeline what frames the detector actually saw, and a second engineer can rebuild the writer and confirm the same bytes. Disputes stop hinging on the platform's word alone.
09.5 · STORAGE · NEAR-TERM (12–24 MO)
Detection logs shrink without losing the record
A surveillance archive owner storing months of detector output keeps the same boxes, tracks, and timestamps at roughly a fifth of the storage footprint of default Parquet. The infrastructure bill drops without changing what the auditor can re-read later.
09.6 · PROVENANCE · MID-TERM (24–48 MO)
Provenance standards get a perception layer
Content-authentication standards like C2PA describe what was made; this describes what was seen on the way in. As both layers connect, a published video can be traced back to the exact detector inputs the producing pipeline acknowledged, not just the rendered output.
09.7 · INTEGRITY · MID-TERM (24–48 MO)
Silent corruption stops reaching the model
A video-LLM inference pipeline that accepts a corrupted detector record today produces a quietly wrong answer. With per-frame CRC checked on decode, corruption surfaces as a raised error at the gate, so a downstream operator notices before the bad inference reaches a user.
09.8 · GOVERNANCE · PARADIGM (48 MO+)
AI video input becomes legally answerable
Regulators, insurers, and courts asking what an AI was shown today get a shrug. When pipelines carry byte-identical perception records at intake, the question becomes answerable on demand, and AI-video liability shifts from speculation about model intent to inspection of recorded input.

About

Perception receipts for AI video pipelines. Cross-writer bit-exact under default settings (SHA-256 stable across writers in any language). Zero runtime dependencies; pure stdlib core. ~1.1 KB per video; per-frame CRC32 + schema + versioning. Useful now, improving continuously.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages