Consistency

The consistency node checks that a media file is complete and not corrupt by counting zero chunks (runs of empty bytes) that indicate a truncated or partially-downloaded file. Running it early lets a pipeline skip expensive processing on broken media.

Kind

consistency

Applies to

Video, Audio

Inputs

None

Output keys

zero_chunk_count (Long), is_complete (Boolean)

Requirements

CPU only. Reads the file bytes from storage.

Persists to

asset consistency block + asset_node_result ledger

Downstream nodes read is_complete to decide whether to proceed — for example Thumbnail skips incomplete videos.

Configuration

No custom options beyond the common node flags.

Use Cases

  • Ingest gatekeeping — detect truncated or corrupt downloads before spending time on hashing, transcoding or ML nodes.

  • Data-quality reporting — flag incomplete assets in a library for re-fetch.