Assets

Make an adaptive (HLS) stream for an existing video

Submits the same AWS MediaConvert job an upload with config.adaptive_stream: true runs, for a video that was uploaded without it. Only the transcode runs; no other processing is repeated. When the job finishes, GET /v1/assets/:id/stream/playlist.m3u8 serves the stream and metadata.hls_status becomes ready. A video that already has a stream (recorded, or found in storage, which also records it), or whose job is still running, is left alone unless force is true.

post/v1/assets/{id}/adaptive-stream

Request

  • Base URL: https://api.picsha.ai
  • URL: https://api.picsha.ai/v1/assets/{id}/adaptive-stream
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

forceboolean

Submit a new job even when a stream exists or a job is running.

Response

Default Response

idstring required
status'ready' required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.