Open sugizo opened 5 months ago
exact same issue. Did you manage to resolve it?
I am facing the exact same issue, This is how my srt file looks like.
1
0:00:00 --> 0:00:03
Esta es la IA, presentada por IBM.
2
0:00:03 --> 0:00:04
Empieza ahora.
3
0:00:06.500000 --> 0:00:09.400000
La inteligencia artificial está aquí, nos guste o no.
4
0:00:09.400000 --> 0:00:11.100000
Inteligencia artificial.
5
0:00:11.100000 --> 0:00:12.100000
Aprendizaje automático.
6
0:00:12.100000 --> 0:00:13
Robots.
7
0:00:13 --> 0:00:15.100000
Es emocionante y también muy aterrador.
8
0:00:15.100000 --> 0:00:17.700000
Algunos de los nombres más importantes de la ciencia y la tecnología.
9
0:00:17.700000 --> 0:00:21.400000
Advierten sobre los peligros del uso de inteligencia artificial.
hi ,guys ,I found the same error ,when i try to load srt file.
Deep dive the source code ,
moviepy use this methods to parse srt ”moviepy.video.tools.subtitles.file_to_subtitles “ the code to find each subtitle in the file is :
times = re.findall("([0-9]:[0-9]:[0-9],[0-9])", line)
In my case,the problem sloved just replace all "." with "," .
Expected Behavior
can use subtitle moviepy tools
Actual Behavior
have an error when using subtitle moviepy tools
Steps to Reproduce the Problem
Specifications
thanks and best regards