-
-
Save rakyll/e7082fdcbdb18ee32997aa602ca164d6 to your computer and use it in GitHub Desktop.
How I can test this in mac environment?
I tried in mac and got this responce only
bash-3.2$ rec -c 1 -r 8000 -t wav - | go run mylivecaption.go
rec WARN formats: can't set sample rate 8000; using 44100
rec WARN formats: can't set 1 channels; using 2
rec WARN wav: Length in output .wav header will be wrong since can't seek to fix it
Input File : 'default' (coreaudio)
Channels : 2
Sample Rate : 44100
Precision : 32-bit
Sample Encoding: 32-bit Signed Integer PCM
In:0.00% 00:01:02.00 [00:00:00.00] Out:495k [ | ] Clip:0 2016/12/23 13:11:53 sending audio error: EOF
2016/12/23 13:11:53 sending audio error: EOF
2016/12/23 13:11:53 sending audio error: EOF
pls let me know how to fix it
gst-launch-1.0 command is not working in windows can u tell me the required steps for the installation of it.
It's working for me with the following command:
Thanks @rakyll , this is a very useful example! 👏