Yaroslav commited on
Commit
ba1f1ff
·
verified ·
1 Parent(s): e2dba2a

fixing file conflicts

Browse files

you keep getting a pop music

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,9 +5,9 @@ import subprocess
5
  def increase_fps(input_video_path, target_fps=60):
6
  output_path = "output.mp4"
7
 
8
- # Команда FFmpeg для интерполяции кадров
9
  command = [
10
- 'ffmpeg', '-i', input_video_path,
11
  '-vf', f"fps={target_fps},minterpolate='mi_mode=mci:mc_mode=aobmc:vsbmc=1'",
12
  '-c:v', 'libx264', '-preset', 'slow', '-crf', '18', output_path
13
  ]
 
5
  def increase_fps(input_video_path, target_fps=60):
6
  output_path = "output.mp4"
7
 
8
+ # Команда FFmpeg для интерполяции кадров с автоматической перезаписью выходного файла
9
  command = [
10
+ 'ffmpeg', '-y', '-i', input_video_path,
11
  '-vf', f"fps={target_fps},minterpolate='mi_mode=mci:mc_mode=aobmc:vsbmc=1'",
12
  '-c:v', 'libx264', '-preset', 'slow', '-crf', '18', output_path
13
  ]