fixing renderText script

This commit is contained in:
2026-06-11 15:14:00 +02:00
parent 3e922883f7
commit 9ad6b15130
302 changed files with 120914 additions and 20 deletions
Executable
+22
View File
@@ -0,0 +1,22 @@
#!/bin/bash
if [ `cat /tmp/cap` -eq 1 ]
then
kill -SIGINT `pidof ffmpeg`
rm /tmp/cap
exit 0
else
echo 1 > /tmp/cap
fi
NAME=$1
if [ $# -eq 0 ]
then
NAME=recording
fi
(sleep 2; jack_connect Carla:audio-out1 screencap:input_1)&
(sleep 2; jack_connect Carla:audio-out2 screencap:input_2)&
ffmpeg -video_size 1600x900 -framerate 30 -f x11grab -i :0.0 -f jack -i screencap -c:v libx264 -crf 0 -preset ultrafast -c:a flac -ac 2 -ar 48000 ~/recordings/`date +%s`_output.mkv > /tmp/ffmpeg.log 2>&1