http://www.test.com/test.flv?start=10
In this case, data will be returned starting from the 10th byte. Video files in VOD scenarios are all cached on various CDN nodes; therefore, the nodes can directly respond to such requests once this configuration is enabled.File Type | Meta Information | Parameter Description (start) | Request Sample |
MP4 | For a video on the origin server, the meta information must be located in the file header. Videos with meta information located at the file end are not supported. | The parameter start specifies a time point (in seconds) and uses a decimal to specify a millisecond. For example, "start = 1.01" means that the start time is at 1.01s. CDN will locate the last keyframe before the time specified by start if start is not a keyframe. | http://www.test.com/demo.mp4?start=10 indicates that the video will be played back starting from the 10th second. |
FLV | The video on the origin server must have meta information. | The parameter start specifies a byte. CDN will automatically locate the last keyframe before the byte specified by start if start is not a keyframe. | http://www.test.com/demo.flv?start=10 indicates that the video will be played back starting from the 10th byte. |
TS | – | The start parameter defines a start byte. CDN will automatically locate the beginning byte. | http://www.test.com/demo.ts?start=10 indicates that the video is played from the 10th byte. |
Was this page helpful?