Skip to content

Commit 981ec0d

Browse files
committed
fix ffmpeg
1 parent c9a041a commit 981ec0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

my_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def load_audio(file,sr):
88
out, _ = (
99
ffmpeg.input(file, threads=0)
1010
.output("-", format="s16le", acodec="pcm_s16le", ac=1, ar=sr)
11-
.run(cmd=["./ffmpeg", "-nostdin"], capture_stdout=True, capture_stderr=True)
11+
.run(cmd=["ffmpeg", "-nostdin"], capture_stdout=True, capture_stderr=True)
1212
)
1313
except ffmpeg.Error as e:
1414
raise RuntimeError(f"Failed to load audio: {e.stderr.decode()}") from e

0 commit comments

Comments
 (0)