aboutsummaryrefslogtreecommitdiff
path: root/content/blog/commands/capture-desktop-video.md
blob: 3bc0c38fabe4bf49a99ed2a1fe0f5a3ce6a44eda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
title: "Capture a video of your desktop"
date: 2011-11-20
description: Capture a video of your desktop
tags:
  - ffmpeg
---

## The command

You can capture a video of your linux desktop very easily with ffmpeg :

{{< highlight sh >}}
ffmpeg -f x11grab -s xga -r 25 -i :0.0 -sameq /tmp/out.mpg
{{< /highlight >}}