dbermond / screencast

Interface to record a X11 desktop
GNU General Public License v2.0
115 stars 9 forks source link

arithmetic expression: expecting primary #16

Open gokulprathin8 opened 2 years ago

gokulprathin8 commented 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"
damiante commented 2 years ago

Fixed by this PR: https://github.com/dbermond/screencast/pull/19