You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if orginal files corrupted. When use
write_videofile
.audio.write_audiofile
clip.audio
when progress start freeze endless. Not response any error. I Think this is bug. I fix this problem extra ffmpeg code but waste of time with extra code. please fix.
my corrupted check without freeze
`
def CorruptedCheck(inputfile):
cmd = f"ffmpeg -y -i {inputfile} -q:a 0 -map a CorruptedCheck.mp4"
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,shell=True,universal_newlines=True)
for line in process.stdout:
if "Error while decoding stream" in str(line):
return False
return True`
The text was updated successfully, but these errors were encountered:
Please always include your specs like we ask for in our issue templates (MoviePy version, platform used etc.) as well as code samples for reproducability and complete logs for errors where applicable, thank you.
if orginal files corrupted. When use
write_videofile
.audio.write_audiofile
clip.audio
when progress start freeze endless. Not response any error. I Think this is bug. I fix this problem extra ffmpeg code but waste of time with extra code. please fix.
my corrupted check without freeze
`
def CorruptedCheck(inputfile):
The text was updated successfully, but these errors were encountered: