Oct-07-2022, 12:15 PM
hi, sorry for my bad English,
I try to make auto "convert" using FFmpeg,
this is the sample code:
I like to add a feature: continue mode(default) and break mode,
how to do this?
I try to make auto "convert" using FFmpeg,
this is the sample code:
import glob import os import time def DoSomethingToTheFile(file): #it does nothing, just pretend it does print("doing something to",file,"using FFMPEG") time.sleep(10) path = os.getcwd() files = glob.glob(path + '/**.mp4', recursive=True) for file in files: DoSomethingToTheFile(file)my problem is sometimes I like to stop the code after the current FFMPEG has done,
I like to add a feature: continue mode(default) and break mode,
how to do this?