Update utils.py
Browse files
utils.py
CHANGED
@@ -61,6 +61,9 @@ def burn_subtitles(video_path, srt_path):
|
|
61 |
"-vf", filter_arg,
|
62 |
"-c:v", "libx264",
|
63 |
"-c:a", "copy",
|
|
|
|
|
|
|
64 |
output_path
|
65 |
]
|
66 |
|
|
|
61 |
"-vf", filter_arg,
|
62 |
"-c:v", "libx264",
|
63 |
"-c:a", "copy",
|
64 |
+
"-preset", "ultrafast",
|
65 |
+
"-threads", str(os.cpu_count()),
|
66 |
+
"-c:a", "copy",
|
67 |
output_path
|
68 |
]
|
69 |
|