Update 2024-02-14 07:51 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-02-14 07:54:31 +01:00
parent b55e6a3616
commit 9624895938
373 changed files with 19074 additions and 3045 deletions

15
.bin/OLD/KAPUTT/rec_encode Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
_vidfile="/home/sdk/work/rec-screen.mkv"
_micfile="/home/sdk/work/rec-mic-clean.wav"
_outfile="${_vidfile%%.*}-$(date "+%Y%m%d_%H%M%S").mp4"
ffmpeg -y -i $_vidfile \
-i $_micfile \
-c:v libx265 \
-c:a aac -shortest \
-crf 21 -s 1920x1080 \
-preset medium -movflags faststart \
-threads $(sysctl -n hw.ncpuonline) \
$_outfile \
&& echo "Done encoding $(readlink -f $_outfile)"