aboutsummaryrefslogtreecommitdiff
path: root/content/blog/commands/capture-desktop-video.md
blob: 8318c4861d21bb60f1204b44dda3de1fbea820c7 (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 :

```sh
ffmpeg -f x11grab -s xga -r 25 -i :0.0 -sameq /tmp/out.mpg
```