Speech to Text in 3 lines of shell script using ffmpeg and Google's API
github.com
github.com
1) ffmpeg supports outfile - to mean stdout
2) curl can post data from stdin
No need for temporary file, and I believe it is not necessary to wait for the entire file to finish.