2020-04-28 17:29:52 +02:00
|
|
|
---
|
|
|
|
title: "Capture a video of your desktop"
|
|
|
|
date: 2011-11-20
|
2021-03-11 19:47:26 +01:00
|
|
|
description: Capture a video of your desktop
|
|
|
|
tags:
|
|
|
|
- ffmpeg
|
2020-04-28 17:29:52 +02:00
|
|
|
---
|
|
|
|
|
2021-03-11 19:47:26 +01:00
|
|
|
## The command
|
|
|
|
|
|
|
|
You can capture a video of your linux desktop very easily with ffmpeg :
|
2020-04-28 17:29:52 +02:00
|
|
|
|
2023-04-23 22:33:49 +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
|
2023-04-23 22:33:49 +02:00
|
|
|
```
|