#ffmpeg #cli #screenrecord

bin+lib ffmpeg-screen-recorder

此程序是一种小工具,可以帮助您在Linux上使用FFmpeg录制屏幕。视频记录可以保存为文件,也可以通过RTMP协议进行流式传输。

22个稳定版本

1.0.21 2023年11月13日
1.0.19 2023年9月9日
1.0.18 2022年11月2日
1.0.17 2022年3月17日
1.0.5 2018年7月27日

视频类别中排名62

Download history 118/week @ 2024-04-01

每月下载量92

MIT授权MIT

18KB
354 代码行

FFmpeg屏幕录制器

CI

此程序是一种小工具,可以帮助您在Linux上使用FFmpeg录制屏幕。视频记录可以保存为文件,也可以通过RTMP协议进行流式传输。

设置

您只需要FFmpeg。您可以从这里获取。它必须编译带有 libxcblibfdk-aaclibx264 库。

帮助

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 <FILE/RTMP_URL>     Assign a destination of your video. It should be a file path or a RTMP url [default: CWD/<time>.mp4]
  -f, --ffmpeg-path <FFMPEG_PATH>  Specify the path of your FFmpeg executable binary file [default: ffmpeg]
  -h, --help                       Print help
  -V, --version                    Print version

授权

MIT

依赖

~5–15MB
~200K SLoC