diff options
author | Raymaekers Luca <luca@spacehb.net> | 2025-01-21 23:05:03 +0100 |
---|---|---|
committer | Raymaekers Luca <luca@spacehb.net> | 2025-01-21 23:05:03 +0100 |
commit | a5d21a49ccdc6141790085d4bd26b667b8d5618d (patch) | |
tree | c952cf834458da4938dfca837abe6323283d2bb8 /bin/extra/rek | |
parent | efcd2b7cdb03a354bd4311bac75953738ec34e4f (diff) |
checkpoint
Diffstat (limited to 'bin/extra/rek')
-rwxr-xr-x | bin/extra/rek | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/extra/rek b/bin/extra/rek deleted file mode 100755 index b5baac7..0000000 --- a/bin/extra/rek +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# Record desktop with ffmpeg, strip metadata and use mp4 for relative small file size -# copy the path of the output file to the system clipboard for sharing -out="out.mp4" - -# with audio -if [ "$1" = "-a" ] -then - ffmpeg -y -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0+0,0 -f pulse -ac 2 -i default -map 0:v -map 0:a? -map_metadata -1 -map_metadata:s:v -1 -map_metadata:s:a -1 -map_chapters -1 -disposition 0 "$out" -else - ffmpeg -y -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0+0,0 -map 0:v -map 0:a? -map_metadata -1 -map_metadata:s:v -1 -map_metadata:s:a -1 -map_chapters -1 -disposition 0 "$out" -fi - -# copy output path -readlink -f "$out" | clipp |