Video Download

Download video file

GET
https://peertube2.cpy.re/download/videos/generate/{videoIdOrUUID}

Generate a mp4 container that contains at most 1 video stream and at most 1 audio stream. Mainly used to merge the HLS audio only video file and the HLS video only resolution file.

Parameters

videoIdOrUUIDid | UUIDv4 | shortUUIDrequiredpath

Video id or UUID

videoFileIdsArray<integer>requiredquery

streams of video files to mux in the output

videoFileTokenstringquery

Video file token generated by PeerTube so you don't need to provide an OAuth token in the request header.

Response

200OK

successful operation