From 864d79c0b1cafea77d8daee00d4e7cd24c953273 Mon Sep 17 00:00:00 2001 From: Chetan0402 <67182731+chetan0402@users.noreply.github.com> Date: Mon, 6 Mar 2023 20:09:02 +0530 Subject: [PATCH] whisper: add page (#9901) * whisper: add page --------- Co-authored-by: Ein Verne Co-authored-by: K.B.Dharun Krishna Co-authored-by: Axel Navarro --- pages/common/whisper.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/whisper.md diff --git a/pages/common/whisper.md b/pages/common/whisper.md new file mode 100644 index 0000000000..3a3b781901 --- /dev/null +++ b/pages/common/whisper.md @@ -0,0 +1,28 @@ +# whisper + +> CLI tool to convert audio files to txt,vtt,srt,tsv,json. +> More information: . + +- Convert a specific audio file to all of the given file formats: + +`whisper {{path/to/audio.mp3}}` + +- Convert an audio file specifying the output format of the converted file: + +`whisper {{path/to/audio.mp3}} --output-format {{txt}}` + +- Convert an audio file using a specific model for conversion: + +`whisper {{path/to/audio.mp3}} --model {{tiny.en,tiny,base.en,base,small.en,small,medium.en,medium,large-v1,large-v2,large}}` + +- Convert an audio file specifying which language the audio file is in to reduce conversion time: + +`whisper {{path/to/audio.mp3}} --language {{english}}` + +- Convert an audio file and save it to a specific location: + +`whisper {{path/to/audio.mp3}} --output_dir "{{path/to/output}}"` + +- Convert an audio file in quiet mode: + +`whisper {{path/to/audio.mp3}} --verbose {{False}}`