about summary refs log tree commit diff
path: root/content/notes/ffmpeg-cut-video.md
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2025-02-24 17:18:18 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2025-02-24 17:18:18 +0700
commit3eff2d874bc0dc5fa7544e5889a3325336342653 (patch)
tree0f1ad9df0dfa99f02db3aeab5cb74c2deeb6f9cb /content/notes/ffmpeg-cut-video.md
parent1315358300c30347bee3ba7e9cf3b8caab32989b (diff)
downloadblog-revamp.tar.gz
Remove translations revamp
Diffstat (limited to 'content/notes/ffmpeg-cut-video.md')
-rw-r--r--content/notes/ffmpeg-cut-video.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/content/notes/ffmpeg-cut-video.md b/content/notes/ffmpeg-cut-video.md
new file mode 100644
index 0000000..fb95f08
--- /dev/null
+++ b/content/notes/ffmpeg-cut-video.md
@@ -0,0 +1,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
+```