https://github.com/lukasdrsman/scap
A minimal screen capture script based on scrot and ffmpeg
https://github.com/lukasdrsman/scap
Last synced: 7 months ago
JSON representation
A minimal screen capture script based on scrot and ffmpeg
- Host: GitHub
- URL: https://github.com/lukasdrsman/scap
- Owner: LukasDrsman
- License: unlicense
- Created: 2021-04-04T16:01:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-04T20:11:07.000Z (over 4 years ago)
- Last Synced: 2025-01-28T19:45:49.834Z (8 months ago)
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scap
A minimal (read "garbage") screen capture script based on scrot and ffmpeg. I made it for my own personal entertainment and it messes up any output format other than gifs if I recall correctly.## Dependencies
- scrot
- ffmpeg
- bc## Instal
### linux
```sh
sudo ./install
# or
doas ./install
```## Usage
```sh
scap [duration in seconds] [output file name] [additional scrot arguments...]
```
Example:
```sh
scap 10 ~/test.gif -p -u
```
Output:
- a gif
- 10 seconds long
- `-p` : enables pointer capture for scrot
- `-u` : makes scrot track a specific window## TODO
- [ ] improve framerate
- [ ] fix the awful mp4 output