auto-editor-transcribe
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTranscribe & edit by speech
语音转录与内容编辑
Use auto-editor's whisper.cpp (Whisper or NVIDIA Parakeet models) or Apple Speech backend to transcribe audio. Cut a timeline based on subtitle content with /.
--edit subtitleword使用auto-editor的whisper.cpp(基于Whisper或NVIDIA Parakeet模型)或Apple Speech后端进行音频转录。通过/参数根据字幕内容剪辑时间线。
--edit subtitlewordTranscribe — auto-editor whisper
auto-editor whisper转录功能 — auto-editor whisper
auto-editor whisperauto-editor whisper <file|:mic> <model> [options]Set to a model path. Three backends, chosen by the model:
<model>ggml- Whisper: ,
ggml-small.en.bin,ggml-medium.en.bin, … (https://huggingface.co/ggerganov/whisper.cpp). 99+ languages,ggml-large-v3.bin,--translate.--prompt - Parakeet: any model with "parakeet" in the filename, e.g.
(https://huggingface.co/ggml-org/parakeet-GGUF). Faster than Whisper at comparable English accuracy; language is auto-detected.
ggml-parakeet-tdt-0.6b-v3-q8_0.bin,--translate, and--promptare rejected.--language - Apple: the magic model name uses Apple's built-in transcriber; requires macOS 26 or later.
apple
Only the first audio stream of a file is used. Audio is resampled to 16 kHz, and
text prints to stdout by default.
bash
auto-editor whisper example.mp4 ggml-medium.en.bin # plain text → stdout
auto-editor whisper example.mp4 ggml-medium.en.bin --format srt -o out.srt
auto-editor whisper example.mp4 ggml-parakeet-tdt-0.6b-v3-q8_0.bin # parakeet backend
auto-editor whisper example.mp4 apple --language en_US # macOS 26+Options: , ,
(default auto), (→ English), (one word per
cue), (default 30), , (default 4),
and (default 0.04).
--format text|srt|json-o/--output FILE-l/--language en-tr/--translate-sw/--split-words--queue SECS--prompt TEXT--threads N-t/--threshold THRES--split-wordsWith the model, set to a supported language or locale.
Apple speech cannot auto-detect language, so falls back to with a
warning. Do not pass or ; neither is supported. The first
use of a language may download Apple's speech model and therefore needs network
access.
apple--languageautoen_US--translate--promptauto-editor whisper <file|:mic> <model> [options]将设置为模型路径。根据模型选择三种后端:
<model>ggml- Whisper:、
ggml-small.en.bin、ggml-medium.en.bin等 (模型地址:https://huggingface.co/ggerganov/whisper.cpp)。支持99+种语言,可使用`--translate`、ggml-large-v3.bin参数。--prompt - Parakeet:文件名包含"parakeet"的任意模型,例如
(模型地址:https://huggingface.co/ggml-org/parakeet-GGUF)。 在英文识别精度相当的情况下比Whisper更快;语言会自动检测。不支持
ggml-parakeet-tdt-0.6b-v3-q8_0.bin、--translate和--prompt参数。--language - Apple:使用特殊模型名称时,会调用Apple内置的转录器; 需要macOS 26或更高版本。
apple
仅使用文件中的第一条音频流。音频会重采样至16kHz,默认将文本输出到标准输出。
bash
auto-editor whisper example.mp4 ggml-medium.en.bin # 纯文本输出至标准输出
auto-editor whisper example.mp4 ggml-medium.en.bin --format srt -o out.srt
auto-editor whisper example.mp4 ggml-parakeet-tdt-0.6b-v3-q8_0.bin # 使用Parakeet后端
auto-editor whisper example.mp4 apple --language en_US # 适用于macOS 26+可选参数:、、
(默认自动检测)、(转录并翻译为英文)、(每个单词单独生成字幕片段)、(默认30)、、(默认4),
以及(默认0.04)。
--format text|srt|json-o/--output FILE-l/--language en-tr/--translate-sw/--split-words--queue SECS--prompt TEXT--threads N-t/--threshold THRES--split-words使用模型时,需将设置为支持的语言或区域设置。Apple Speech无法自动检测语言,因此设置为时会默认回退到并发出警告。请勿传递或参数,二者均不支持。首次使用某一语言时可能需要下载Apple的语音模型,因此需要网络连接。
apple--languageautoen_US--translate--promptTranscribe a live microphone
实时麦克风转录
Pass instead of a file. Stop capture gracefully with Ctrl-C.
:micbash
auto-editor whisper :mic ggml-medium.en.bin
auto-editor whisper :mic apple --language en_US # macOS 26+
auto-editor whisper :mic ggml-medium.en.bin -o transcript.srtThis streams the microphone directly to transcription and does not save a
media recording. To retain and edit the captured audio, use ;
editor and timeline exports save a sibling lossless-FLAC by
default.
auto-editor :mic_RECORDING.mkaLive capture supports macOS, Windows, and Linux:
- macOS uses AVFoundation and prefers a USB microphone, then the system default.
- Windows uses DirectShow and prefers a USB microphone, then the first audio capture device.
- Linux uses the default ALSA input device.
When ends in , , , or , the output format is
inferred unless is set explicitly.
-o/--output.srt.json.txt.text--format将文件路径替换为即可。通过Ctrl-C可优雅停止捕获。
:micbash
auto-editor whisper :mic ggml-medium.en.bin
auto-editor whisper :mic apple --language en_US # 适用于macOS 26+
auto-editor whisper :mic ggml-medium.en.bin -o transcript.srt此功能会将麦克风音频直接流式传输到转录模块,不会保存媒体录制文件。如需保留并编辑捕获的音频,请使用;编辑器和时间线导出会默认保存一个无损FLAC格式的同级文件。
auto-editor :mic_RECORDING.mka实时捕获支持macOS、Windows和Linux系统:
- macOS使用AVFoundation优先选择USB麦克风,其次是系统默认麦克风。
- Windows使用DirectShow优先选择USB麦克风,其次是第一个音频捕获设备。
- Linux使用默认的ALSA输入设备。
当的文件名以、、或结尾时,会自动推断输出格式,除非显式设置参数。
-o/--output.srt.json.txt.text--formatEdit by spoken content
根据语音内容剪辑视频
--edit subtitleword.srt| Method | Active when… | Args (defaults) |
|---|---|---|
| | |
| | |
patternsubtitleregex--edit subtitlewordvaluebash
undefined--edit subtitleword.srt| 方法 | 保留条件 | 参数(默认值) |
|---|---|---|
| | |
| | 必填 |
subtitleregexpattern--edit subtitlewordvaluebash
undefinedKeep only sections that have any subtitle (cut the silent gaps between speech)
仅保留有字幕的片段(删除语音之间的静音间隙)
auto-editor talk.mkv --edit subtitle
auto-editor talk.mkv --edit subtitle
Keep only sections where "introduction" is spoken
仅保留提到"introduction"的片段
auto-editor lecture.mp4 --edit word:introduction
auto-editor lecture.mp4 --edit word:introduction
Regex match (case-insensitive); keep matched lines
正则匹配(忽略大小写);保留匹配的字幕片段
auto-editor talk.mkv --edit "subtitle:pattern=(yes|no),ignore-case=#t"
auto-editor talk.mkv --edit "subtitle:pattern=(yes|no),ignore-case=#t"
Cut filler words instead of keeping them: invert with not
not删除填充词而非保留:使用not
反转规则
notauto-editor video.mp4 --edit "(not word:um)"
undefinedauto-editor video.mp4 --edit "(not word:um)"
undefinedTranscribe → cut workflow
转录→剪辑工作流
When the media has no subtitle stream, generate a sidecar named after the
input — for , auto-editor auto-loads (then ) when
the requested subtitle stream isn't embedded:
talk.mp4talk.srttalk.assbash
auto-editor whisper talk.mp4 ggml-medium.en.bin --format srt -o talk.srt
auto-editor talk.mp4 --edit word:question # picks up talk.srt automaticallyInspect subtitle streams with (text subtitles only;
bitmap subtitles won't dump).
auto-editor subdump FILEFor loudness/motion-based cutting and pace, see the auto-editor skill.
当媒体文件没有内嵌字幕流时,生成一个与输入文件同名的外置字幕文件——例如对于,当请求的字幕流不存在时,auto-editor会自动加载(若不存在则尝试):
talk.mp4talk.srttalk.assbash
auto-editor whisper talk.mp4 ggml-medium.en.bin --format srt -o talk.srt
auto-editor talk.mp4 --edit word:question # 会自动读取talk.srt使用可查看字幕流(仅支持文本字幕;位图字幕无法导出查看)。
auto-editor subdump FILE如需基于音量/运动的剪辑和节奏调整,请查看auto-editor的核心功能文档。