Creates a clip of video from the rolling buffer and saves it to the specified location.
Media Server does not transcode the video. The clip uses the same codecs as the video in the rolling buffer.
Parameter | Description | Required |
---|---|---|
Duration | The duration of the clip (in milliseconds). | Yes |
Path | The path, name, and file extension of the created clip. | Yes |
StartTime | The time to begin the clip from (EPOCH milliseconds or ISO-8601 format). You must use UTC time. Video for this start time must exist in the rolling buffer. | Yes |
Stream | The name of the rolling buffer to create the clip from. | Yes |
http://localhost:14000/action=CreateClip &Stream=BBCNews &StartTime=1393000074243 &Duration=300000 &Path=./temp/News1.ts
This action instructs Media Server to create a five minute clip from the BBCNews
stream in the rolling buffer, beginning from Fri, 21 Feb 2014 16:27:54 GMT, and to save the clip as the News1.ts
file in the temp
directory.
<autnresponse> <action>CREATECLIP</action> <response>SUCCESS</response> <responsedata></responsedata> </autnresponse>
|