oppaiio commited on
Commit
934e0ee
·
verified ·
1 Parent(s): ef239d0

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +3 -0
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