An open API service indexing awesome lists of open source software.

https://github.com/magiclen/ffmpeg-screen-recorder

This program is a gadget which helps you use FFmpeg to record your screen on Linux. The video record can be saved as a file, or be streamed via RTMP protocol.
https://github.com/magiclen/ffmpeg-screen-recorder

cli ffmpeg rust screen-record

Last synced: about 1 year ago
JSON representation

This program is a gadget which helps you use FFmpeg to record your screen on Linux. The video record can be saved as a file, or be streamed via RTMP protocol.

Awesome Lists containing this project

README

          

FFmpeg Screen Recorder
====================

[![CI](https://github.com/magiclen/FFmpeg-Screen-Recorder/actions/workflows/ci.yml/badge.svg)](https://github.com/magiclen/FFmpeg-Screen-Recorder/actions/workflows/ci.yml)

This program is a gadget which helps you use **FFmpeg** to record your screen on Linux. The video record can be saved as a file, or be streamed via RTMP protocol.

## Setup

All you need is **FFmpeg**. You can get one [here](https://ffmpeg.org/). It has to be compiled with **libxcb**, **libfdk-aac** and **libx264** libraries.

## Help

```
EXAMPLES:
ffmpeg-screen-recorder # Record the full screen without audio and output into the current working directory
ffmpeg-screen-recorder -w # Select a window and record it without audio and output into the current working directory
ffmpeg-screen-recorder -a # Record the full screen with the system audio and output into the current working directory
ffmpeg-screen-recorder -o /path/to/file # Record the full screen without audio and output to /path/to/file
ffmpeg-screen-recorder -o rtmp://xxx # Record the full screen without audio and output to rtmp://xxx

Usage: ffmpeg-screen-recorder [OPTIONS]

Options:
-w, --window Select a window to record
-a, --with-audio Record your screen with audio which could be internal or external. It depends on your computer environment
-n, --no-normalize Do not pad the video size with black borders to the fixed ratio of 16:9 [aliases: nn]
-o, --output Assign a destination of your video. It should be a file path or a RTMP url [default: CWD/

## License

[MIT](LICENSE)