webrtc-speech-to-text
webrtc-speech-to-text copied to clipboard
Unable to Install
It says opusfile package not found. Any idea which package to install? This is on Windows Subsystem Linux.
go build -o transcribe-server ./cmd/transcribe-server/main.go
# pkg-config --cflags -- opus opus opus opusfile opus opusfile
Package opusfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `opusfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opusfile' found
Package opusfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `opusfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opusfile' found
pkg-config: exit status 1
Makefile:7: recipe for target 'default' failed
make: *** [default] Error 2
Yes - exactly the above.
@sidharthramesh: Were you able to solve the issue?
@abhinavkulkarni I started using this instead: https://github.com/vin-ni/Google-Cloud-Speech-Node-Socket-Playground.git
You might find it useful.
I came across the same problem while building this repo in a container.
In my case, after
sudo apt install libopus-dev libopusfile-dev
building succeeded.
Thanks @JonghunBok :) this worked for me - I have spent hours trying to get this working, I use this for running unit tests for Vector the Robot using the OSKR - (open source software development kit)
Thank you :)