Spaces:
Runtime error
Runtime error
Commit
·
35ce1cb
1
Parent(s):
bcf3d61
yup the codec is too heavy
Browse files- video_tool.py +1 -1
video_tool.py
CHANGED
@@ -22,7 +22,7 @@ def add_subtitle_to_video(input_file, subtitle_file, output_file, start_time, en
|
|
22 |
(
|
23 |
ffmpeg
|
24 |
.input(input_file)
|
25 |
-
.output(file_name.cut_video_file, ss=start_time, to=end_time, acodec='copy', vcodec='
|
26 |
.run(overwrite_output=True)
|
27 |
)
|
28 |
|
|
|
22 |
(
|
23 |
ffmpeg
|
24 |
.input(input_file)
|
25 |
+
.output(file_name.cut_video_file, ss=start_time, to=end_time, acodec='copy', vcodec='copy')
|
26 |
.run(overwrite_output=True)
|
27 |
)
|
28 |
|