MoviePy error: failed to read the duration of file '%s'. Here are the file infos returned by ffmpeg: %s
Package:
moviepy
8456
Exception Class:
IOError
Raise code
time_raw_string = line.split(self.duration_tag_separator)[-1]
match_duration = re.search(
r"([0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9])",
time_raw_string,
)
return convert_to_seconds(match_duration.group(1))
except Exception:
raise IOError(
(
"MoviePy error: failed to read the duration of file '%s'.\n"
"Here are the file infos returned by ffmpeg:\n\n%s"
)
% (self.filename, self.infos)
)
def pars
Links to the raise (1)
https://github.com/Zulko/moviepy/blob/576fb1ab980ea53212675a775e059e1460488672/moviepy/video/io/ffmpeg_reader.py#L713NO FIXES YET
Just press the button and we will add solution
to this exception as soon as possible
* As many users press the button, the faster we create a fix
Add a possible fix
Please authorize to post fix