GetVideoMatchVideo

Returns the video associated with a video match clip.

The video is returned in whatever format was supplied.

Type: synchronous

Parameter Description Required
database The name of the database that contains the video clip. Yes
identifier The identifier of the video clip. Yes

You can also set the parameters Output and FileName to write the output of this action to a file.

Example

The following example downloads the video from a clip with the identifier "clip1", in the database "clips", and writes it to the file "video.mp4".

curl http://localhost:14000/action=GetVideoMatchVideo -F database=clips -F identifier=clip1 -o video.mp4

Response

The response contains the video data. The Content-Length response header is set to the length of the video data in bytes.

If an error occurs, Media Server returns a standard XML error response.