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
| Method | Path | Page |
|---|---|---|
| GET | /videos/hls_encrypted | List encrypted videos |
| POST | /videos/{video_id}?reencode | Reprocess a video |
| POST | /videos/reencode_bulk | Reprocess videos in bulk |
| GET | /videos/reencode_bulk_status | Track a bulk reprocess |
| POST | /videos/reencode_bulk_cancel | Cancel a bulk reprocess |
Prerequisites
- The library must have
keep_original_filesenabled — without the original file the operation fails. Check it withGET /library. - Reprocessing consumes credits. Insufficient balance returns
402, not400.
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_durationsetting this operation can override per video.
