Skip to content

Commit

Permalink
fix ffmpeg env problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Freddd13 committed Apr 12, 2022
1 parent 4b9e403 commit 4af5e7f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions SepProcessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@ def separate_file(config_yamls, checkpoint_paths, audio_path, output_path, scale
# 'ffmpeg -y -loglevel panic -i "{}" "{}"'.format(tmp_wav_path, target_path)
# )

os.system("where.exe ffmpeg")
os.system("where.exe wget")
cmd = os.path.join(os.getcwd(), "tools/ffmpeg.exe") + ' -y -loglevel panic -i "{}" "{}"'.format(tmp_wav_path, target_path)
os.system(cmd)
os.remove(tmp_wav_path)
Expand Down

0 comments on commit 4af5e7f

Please sign in to comment.