From daab674c239e04c85088608c60ca15b941f8b6cb Mon Sep 17 00:00:00 2001 From: Rafael Caricio Date: Mon, 28 Mar 2022 00:09:01 +0200 Subject: [PATCH] Usage to readme --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a563599..de88dbc 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,10 @@ Vosk Speech Recognition GStreamer Plugin Transcription of speech using [Vosk Toolkit](https://alphacephei.com/vosk/). Can be used to generate subtitles for videos, transcription of audio notes, etc. + +Usage +----- + +```bash +GST_DEBUG=1,vosk_transcriber:5 gst-launch-1.0 filesrc location=/Users/rafaelcaricio/astronaut.mkv ! matroskademux name=d d.audio_0 ! decodebin ! audiorate ! audioconvert ! audioresample ! audio/x-raw,format=S16LE,rate=48000,channels=1 ! vosk_transcriber server-address=ws://192.168.178.20:2700 ! fakesink dump=true --gst-plugin-path=/Users/rafaelcaricio/development/gst-plugin-vosk/target/release/ +``` \ No newline at end of file