about summary refs log tree commit diff
path: root/content/sw-notes/ffmpeg-cut-video.md
blob: fb95f087411fac96048e5bdd759a50f13ab87342 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
title: "How to cut videos with ffmpeg"
date: 2024-04-24
translationKey: ffmpeg-cut-video
categories: [software, guide]
tags: [ffmpeg]
---

To cut video with ffmpeg, use the flag `-ss` for the beginning of the cut and
`-to` for the end of the cut.  For example:

```sh
ffmpeg -i in.mp4 -ss 00:00:02 -to 00:00:14 out.mp4
```