Open topic with navigation

# CreateClip

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.

## Parameters

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

## Example

    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.

## Response

    <autnresponse>
      <action>CREATECLIP</action>
      <response>SUCCESS</response>
      <responsedata></responsedata>
    </autnresponse>

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm