File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,18 @@ cargo install cargo-c
11
11
12
12
git clone https://github.com/avstack/gst-whisper
13
13
cd gst-whisper
14
- cargo cinstall
14
+ cargo cbuild --release
15
+ export GST_PLUGIN_PATH=$(pwd)/target/release
15
16
```
16
17
17
18
## Example usage
18
19
19
20
You must already have the Whisper model.
20
21
21
22
```
22
- WHISPER_MODEL_PATH=../whisper.cpp/models/ggml-base.en.bin gst-launch-1.0 --no-position autoaudiosrc ! audioconvert ! audioresample ! queue ! whisper ! fdsink
23
+ export WHISPER_MODEL_PATH=../whisper.cpp/models/ggml-base.en.bin
24
+
25
+ gst-launch-1.0 --no-position autoaudiosrc ! audioconvert ! audioresample ! queue ! whisper ! fdsink
23
26
```
24
27
25
28
## License
Original file line number Diff line number Diff line change @@ -15,4 +15,8 @@ mkShell {
15
15
] ++ ( if stdenv . isDarwin then [
16
16
darwin . apple_sdk . frameworks . Accelerate
17
17
] else [ ] ) ;
18
+
19
+ shellHook = ''
20
+ export HISTFILE="$HOME/.local/log/bash_history/gst-whisper";
21
+ '' ;
18
22
}
You can’t perform that action at this time.
0 commit comments