diff --git a/fdcm.py b/fdcm.py index 05ef081..e03bfec 100644 --- a/fdcm.py +++ b/fdcm.py @@ -106,7 +106,7 @@ temp_file = "temp-scenescores-" + str(randint) + ".txt" if os.path.isfile(temp_file): os.remove(temp_file) - command = "ffmpeg -loglevel "+str(ffmpeg_loglevel)+ " -i \""+input_file+"\" -vf select='not(mod(n\,"+str(step_len_f)+"))',select='gte(scene,0)',metadata=print:file="+temp_file+" -an -f null -" + command = "ffmpeg -loglevel "+str(ffmpeg_loglevel)+ " -i \""+input_file+"\" -vf select='not(mod(n\,"+str(step_len_f)+"))',select='gte(scene\,0)',metadata=print:file="+temp_file+" -an -f null -" print('Run command: ' + command) os.system(command)