<span aria-hidden="true" id="how-can-i-limit-the-output-duration-of-my-videos"></span>

# How can I limit the output duration of my videos?

You can provide your own FFmpeg parameters to [🤖/video/encode](/docs/robots/video-encode.md) Steps. For example, to limit videos to four minutes, use FFmpeg's `-t` parameter, like in this example:

```json
"ffmpeg": {
  "t": 240
}

```

## See also:

[Can you help me understand the pricing?](/docs/faq/pricing-example.md)

[What are Assemblies?](/docs/faq/assemblies.md)

[How do I enable multi-file upload?](/docs/faq/multi-file-uploads.md)
