Skip to main content

las

从视频或纯音频中提取音轨,并按固定时长切分;支持 wav/mp3/flac 等格式转换,输入输出可对接 TOS。 需 LAS_API_KEY。适用于批量抽音频、等长分段、给 ASR/剪辑流水线备料。

Zur Installation springen

Quellinformationen

Repository
bolecodex/volcano-videocut-openclaw
Letzte Quellaktivität
28. März 2026 um 02:10
Erkannte Sprache von SKILL.md
Chinesisch
Sterne
5
Forks
3

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
4 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
LAS 音频提取与切分
description
从视频或纯音频中提取音轨,并按固定时长切分;支持 wav/mp3/flac 等格式转换,输入输出可对接 TOS。 需 LAS_API_KEY。适用于批量抽音频、等长分段、给 ASR/剪辑流水线备料。
trigger
LAS 音频、提取音轨、音频切分、分段
# LAS-AUDIO-EXTRACT-AND-SPLIT (las_audio_extract_and_split) 本 Skill 用于调用 LAS 音频切分算子,支持从视频/音频中提取音频并按时长切分。 - `POST https://operator.las.cn-beijing.volces.com/api/v1/process` 同步处理 ## 快速开始 在本 skill 目录执行: ```bash python3 scripts/skill.py --help ``` ### 执行音频切分 ```bash python3 scripts/skill.py process \ --input-path "tos://bucket/input.mp4" \ --output-path-template "tos://bucket/output/{index}.wav" \ --split-duration 30 \ --output-format wav ``` ## 参数说明 - `input_path`: 输入文件的 TOS 路径。 - `output_path_template`: 输出文件路径模版。支持变量 `{index}`, `{index1}`, `{ordinal}`, `{hours}`, `{duration}`, `{output_file_ext}`。 - `split_duration`: 切片时长(秒),默认 30。 - `output_format`: 输出格式,支持 wav, mp3, flac,默认 wav。 ## 常见问题 - 确保 TOS 路径有读写权限。 - API Key 需通过环境变量 `LAS_API_KEY` 或 `env.sh` 配置。
Auf GitHub ansehen