# Find Motion in CCTV Footage (Summary Video)

**Use case:** 

Paste security-camera or NVR video links and get only the moments with motion: a timeline of events with thumbnails and one summary video with the source time burned in. The on-screen clock and sensor noise are ignored. Hours of footage become minutes to review.

## Input

```json
{
  "videoUrls": [
    "https://api.apify.com/v2/key-value-stores/RL7JMSU2StgBzcpmV/records/sample-cctv.mp4?signature=1bvR1Dt2o6BOlw597bND6"
  ],
  "sensitivity": "medium",
  "minEventSeconds": "0.6",
  "mergeGapSeconds": "3",
  "preRollSeconds": "2",
  "postRollSeconds": "2",
  "createSummaryVideo": true,
  "createClips": false,
  "createThumbnails": true,
  "burnTimestamp": true,
  "maxHeight": 720,
  "maxDurationMinutes": 720,
  "maxEventsPerVideo": 300
}
```

## Output

```json
{
  "sourceUrl": {
    "label": "Video",
    "format": "link"
  },
  "eventsFound": {
    "label": "Events",
    "format": "number"
  },
  "motionSeconds": {
    "label": "Motion (s)",
    "format": "number"
  },
  "scannedSeconds": {
    "label": "Scanned (s)",
    "format": "number"
  },
  "timeSavedPercent": {
    "label": "Less to watch (%)",
    "format": "number"
  },
  "summaryVideoUrl": {
    "label": "Summary video",
    "format": "link"
  },
  "events": {
    "label": "Events",
    "format": "array"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The CCTV Motion Clipper — Keep Only the Moments with Motion Actor is ready to run with the inputs already set for "Find Motion in CCTV Footage (Summary Video)". [Sign up or log in](https://console.apify.com/create-task-from-example/676hcywXq114t27Rk) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find Motion in CCTV Footage (Summary Video)" task

The CCTV Motion Clipper — Keep Only the Moments with Motion Actor will start running based on the input automatically. You can also change all the input fields, like video urls, sensitivity, and more, to match your specific use case.

### 3. Receive the "Find Motion in CCTV Footage (Summary Video)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as video, events, motion (s), and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find Motion in CCTV Footage (Summary Video)" task via API](https://apify.com/adorable_partial/cctv-motion-clipper.md).

## About this Actor

This example demonstrates how to use [CCTV Motion Clipper — Keep Only the Moments with Motion](https://apify.com/adorable_partial/cctv-motion-clipper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/adorable_partial/cctv-motion-clipper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/adorable_partial/cctv-motion-clipper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
