摘要 |
In one embodiment, an edge server in a content-distribution network (CDN) stores a video asset in the form of partially encoded transport-stream chunks, where the partial encoding does not include quantization processing. When the edge server receives a request from a user device for a particular segment of the asset at a particular quality corresponding to a target bitrate, the edge server retrieves at least one partially encoded chunk corresponding to the request and completes the encoding (including quantization processing) of the at least one partially encoded chunk to generate an output file at the requested target bitrate. The edge server then adds corresponding audio data and any auxiliary data to the output file to generate a transport-stream file. The edge server then transmits the transport-stream to the user device as one or more transport-stream packets.
|