mcpField
A
auto-editor-export

auto-editor-export

github.com/wyattblue创意与媒体5.6k768 次安装今天更新
代码仓库

关于 auto-editor-export

auto-editor-export 是用于导入和导出 auto-editor 时间线及媒体的技能。它帮助视频编辑者将剪辑传入支持的编辑器、拆分媒体片段、录制麦克风输入,并渲染支持的时间线文件。

主要功能

  1. 01为 Premiere Pro 等编辑器导出时间线
  2. 02将保留片段导出为独立剪辑
  3. 03录制麦克风输入并导出时间线
  4. 04导入 auto-editor 时间线和 FCP7 XML
  5. 05将导入的时间线渲染为媒体

适用场景

  1. 01将 auto-editor 剪辑传入 DaVinci Resolve
  2. 02把片段导出为单独文件
  3. 03将访谈录音保存到编辑器时间线
  4. 04渲染现有的 `.v3` 时间线

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/wyattblue/auto-editor --skill auto-editor-export

安装后在 Claude Code 中输入/auto-editor-export确认已加载。

详细介绍

导出与导入

默认情况下,auto-editor 会渲染媒体文件。--export(-ex)可更改目标格式。输出扩展名会根据模式自动选择。

auto-editor video.mp4 --export premiere    # → video_ALTERED.xml for Premiere Pro

导出目标

--export用途输出
premiereAdobe Premiere Pro(fcp7 xml).xml
resolveDaVinci Resolve(fcpxml).fcpxml
resolve-fcp7通过旧版 fcp7 xml 导出到 Resolve.xml
final-cut-proFinal Cut Pro.fcpxml
shotcutShotCut.mlt
kdenliveKdenlive.kdenlive
clip-sequence单个媒体剪辑,每个保留片段对应一个媒体文件
v1 / v2 / v3auto-editor 时间线文件.v1 / .v2 / .v3
(默认)渲染后的媒体文件根据容器而定
auto-editor video.mp4 --export resolve
auto-editor video.mp4 --export final-cut-pro
auto-editor video.mp4 --export clip-sequence
auto-editor video.mp4 --export v3 -o timeline.v3

导出麦克风录音

将 :mic 作为输入,并按 Ctrl-C 结束采集。编辑器和时间线导出会保留一个同级的 *_RECORDING.mka 源文件,以确保项目仍可使用:

auto-editor :mic --export resolve -o interview.fcpxml
# writes interview.fcpxml and interview_RECORDING.mka

使用 -c:a auto(默认值)时,持久化录音会使用无损 FLAC。也可以明确选择其他受 Matroska 支持的编码器;不受支持的编码器会在采集开始前报错。录音转码期间会协商编码器采样率和声道布局。

auto-editor :mic --export resolve -c:a opus -o interview.fcpxml
auto-editor :mic --sample-rate 44.1kHz --export v3 -o interview.v3

普通渲染输出和 clip-sequence 会改用临时采集;其最终音频编解码器仍由输出容器和 -c:a 决定。

为时间线命名

premiere、resolve 和 final-cut-pro 接受 name 属性(默认值为 "Auto-Editor Media Group")。在冒号后传入额外属性:

# POSIX shells
auto-editor example.mp4 --export 'premiere:name="Your name here"'
# PowerShell (double the inner quotes)
auto-editor example.mp4 --export 'premiere:name=""Your name here""'

final-cut-pro 和 resolve 还接受 version,用于指定要写入的 FCPXML 版本:11(默认值)对应 FCPXML 1.11,10 对应 FCPXML 1.10,适用于无法读取 1.11 的旧版编辑器。

auto-editor example.mp4 --export final-cut-pro:version=10

拆分为剪辑,不进行其他编辑

若要在剪切点拆分,但不进行其他编辑,请将两个 action 都设为 nil:

auto-editor example.mp4 -w:0 nil -w:1 nil --export premiere

导入时间线

auto-editor 可将时间线/XML 文件作为输入,并像处理任何媒体一样渲染:

auto-editor myFcp7File.xml -o render.mp4    # render an fcp7 xml (experimental)
auto-editor timeline.v3 -o render.mp4       # render an auto-editor timeline file

导入器:auto-editor 时间线文件(.v1、.v2、.v3)和 FCP7 XML(实验性)。输入格式会根据扩展名自动检测。欢迎提交其他导入器的 PR。

时间线格式说明

.v1/.v2/.v3 是 auto-editor 自有的时间线格式;.v3 是当前的分层格式(支持堆叠轨道 / 叠加合成)。参见 https://auto-editor.com/docs/v3(以及 /docs/v1、/docs/v2)。导出时间线以检查或手动微调编辑内容,然后重新导入以进行渲染。

关于普通渲染、编辑方法和节奏,请参阅 auto-editor 技能。

评论

支持 Markdown