openai-whisper

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Whisper (CLI)

Whisper (CLI)

Use
whisper
to transcribe audio locally.
Quick start
  • whisper /path/audio.mp3 --model medium --output_format txt --output_dir .
  • whisper /path/audio.m4a --task translate --output_format srt
Notes
  • Models download to
    ~/.cache/whisper
    on first run.
  • --model
    defaults to
    turbo
    on this install.
  • Use smaller models for speed, larger for accuracy.
使用
whisper
在本地转录音频。
快速开始
  • whisper /path/audio.mp3 --model medium --output_format txt --output_dir .
  • whisper /path/audio.m4a --task translate --output_format srt
注意事项
  • 首次运行时,模型会下载到
    ~/.cache/whisper
    目录。
  • 在此安装版本中,
    --model
    参数默认值为
    turbo
  • 使用较小的模型可提升速度,较大的模型可提高准确率。