Video Reprocessing


Video Reprocessing

Reprocesses videos that already exist — mainly to encrypt an existing catalogue after enabling HLS encryption, but also to change the compression preset or the HLS segment duration of past uploads.

Reprocessing re-packages the video from its original file. It does not re-encode from scratch, so quality is preserved and the cost is a fraction of a full encode.

Endpoints in this section

MethodPathPage
GET/videos/hls_encryptedList encrypted videos
POST/videos/{video_id}?reencodeReprocess a video
POST/videos/reencode_bulkReprocess videos in bulk
GET/videos/reencode_bulk_statusTrack a bulk reprocess
POST/videos/reencode_bulk_cancelCancel a bulk reprocess

Prerequisites

  • The library must have keep_original_files enabled — without the original file the operation fails. Check it with GET /library.
  • Reprocessing consumes credits. Insufficient balance returns 402, not 400.

Why this exists

Enabling HLS encryption applies to new uploads only. Videos uploaded before it was turned on stay unencrypted until they are reprocessed — this section is how you protect the existing catalogue.

Related sections

  • HLS Encryption — the library switch that makes new uploads encrypted.
  • Configure Hls Segments — the hls_segment_duration setting this operation can override per video.