www/content/blog/commands/capture-desktop-video.md

16 lines
287 B
Markdown
Raw Normal View History

2020-04-28 17:29:52 +02:00
---
title: "Capture a video of your desktop"
date: 2011-11-20
description: Capture a video of your desktop
tags:
- ffmpeg
2020-04-28 17:29:52 +02:00
---
## The command
You can capture a video of your linux desktop very easily with ffmpeg :
2020-04-28 17:29:52 +02:00
```sh
2020-04-28 17:29:52 +02:00
ffmpeg -f x11grab -s xga -r 25 -i :0.0 -sameq /tmp/out.mpg
```