Skip to main content

Transcribe Command

The transcribe command extracts audio from a video file or YouTube video and transcribes it using Whisper. This is useful for generating text content from videos or for accessibility purposes.

Usage

Arguments

Options

Examples

Transcribe a local video file

Transcribe a YouTube video

Transcribe with a specific model

Transcribe with GPU acceleration

Transcribe to a specific format

Output

The command generates a transcript file in the specified format in the output directory:

Whisper Models

The command supports the following Whisper models: The larger models provide better accuracy but require more memory and processing time.

Output Formats

The command supports the following output formats:
  • txt: Plain text transcript
  • srt: SubRip subtitle format
  • vtt: WebVTT subtitle format
  • json: JSON format with timestamps and confidence scores

JSON Format Example

When using the json format, the output will look like this: