repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git]
/
pkgs
/
development
/
python-modules
/
openai-whisper
/
ffmpeg-path.patch
blob
784168d1f62dc9f6931eedf3183b61dfe4dfe547
1
diff --git a/whisper/audio.py b/whisper/audio.py
2
index 4f5b6e0..bfe7924 100644
3
--- a/whisper/audio.py
4
+++ b/whisper/audio.py
5
@@ -44,7 +44,7 @@ def load_audio(file: str, sr: int = SAMPLE_RATE):
6
# and resampling as necessary. Requires the ffmpeg CLI in PATH.
7
# fmt: off
8
cmd = [
9
- "ffmpeg",
10
+ "@ffmpeg@/bin/ffmpeg",
11
"-nostdin",
12
"-threads", "0",
13
"-i", file,