2👍
✅
You could try with the subprocess library:
from subprocess import call
success = call('avconv -ss 00:01:00 -i '+inputfile+' -vsync 1 -t 0.01'+outputfile, shell=True)
if success != 0:
//The command has failed
Source:stackexchange.com