Open gokulprathin8 opened 2 years ago
I am running this command on Python 3.X
cmd_exec = f'screencast -d {DISPLAY} -r 30 -a mp3lame -s 1920x1080 -v x265 -e in -m 1.5 -u -o {file_name}' subprocess.Popen(cmd_exec, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
which gives this,
/usr/local/bin/screencast: 3215: /usr/local/bin/screencast: arithmetic expression: expecting primary: ""1920" % 8"
Fixed by this PR: https://github.com/dbermond/screencast/pull/19
I am running this command on Python 3.X
which gives this,