ffrec
ffrec records the screen, using Python.
Installation
Thusly, suit to taste:
python -m venv venv
source venv/bin/activate
pip install -U setuptools pip wheel
pip install ffrec
Help
Command line options:
$ ffrec --help
usage: ffrec [-h] [-a AUDIO_CODEC] [-A AUDIO_INPUT] [-c VIDEO_CODEC] [-D]
[-C AUDIO_CHANNELS] [-d DIR] [-l] [-m] [-o | -O] [-p PREFIX]
[-r FRAMERATE] [-s SIZE] [-t TIME] [-T | -N] [-v] [-V]
Record screen and save to mp4
options:
-h, --help show this help message and exit
-a, --audio-codec AUDIO_CODEC
Audio codec to use (default: aac)
-A, --audio-input AUDIO_INPUT
Audio input source (default: pulse)
-c, --video-codec VIDEO_CODEC
Video codec to use (default: hevc_nvenc)
-D, --debug Debugging
-C, --audio-channels AUDIO_CHANNELS
Number of audio channels (default: 2)
-d, --dir DIR Directory to save the output video file
-l, --loop Loop into new segment files until terminated manually
-m, --mouse Record the mouse cursor (default false)
-o, --overwrite Overwrite existing files (default)
-O, --no-overwrite Do not overwrite existing files
-p, --prefix PREFIX Prefix for the output video file name
-r, --framerate FRAMERATE
Framerate for recording (default: 30)
-s, --size SIZE Video size (default: 1920x1080)
-t, --time TIME Length of recording in HH:MM:SS format (default:
00:01:00)
-T, --timestamp Add timestamp to filename (default)
-N, --no-timestamp Do not add timestamp to filename
-v, --verbose Increase output verbosity (-vv for debug)
-V, --version Show version
License
Apache 2.0.
Unofficial project, not related to upstream projects.
Upstream sources under their respective copyrights.
Copyright © 2025 Jeff Moe.
Metadata
Release files for ffrec 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ffrec-0.5.0.tar.gz | 11.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ffrec-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.8 kB
Release files / ffrec-0.5.0.tar.gz
| Download URL | ffrec-0.5.0.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eeb4f0b84a3fec4bafb09fdad57ca49ae05ac6f098127b9ef458786b8774a4cd
|
|
BLAKE2b-256 checksum How to use checksums |
82218275faa2bd9286c4f36d01fe0c4296331bcd428458e7e3d8afa2a983dafd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / ffrec-0.5.0-py3-none-any.whl
| Download URL | ffrec-0.5.0-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98c46a4d97b893c786b9f5a3373efc7281c7c96ca5bc2e66333437c979d07b14
|
|
BLAKE2b-256 checksum How to use checksums |
ca9ec0ab2a171f4772df390924601a9cf4e37739b9940a6c52a0a9cd3050c21a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for ffrec 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.