360 Secure SkillHub
360 安全技能中心

yaps-video-to-audio

该 Skill 调用 Yaps 命令行的 media extract-audio 功能,把视频中的音轨提取为 MP3、WAV 或 M4A 新文件。执行前需安装并登录 Yaps、版本不低于 2.3.124,且本机具备 FFmpeg;执行后校验输出存在、非空、可播放且时长正确,并保留源视频与既有导出。

yaps
热度 18.59
最近更新 2026-09-25 09:19:34
分类:效率依赖:代码执行 / 读写文件 / 第三方 API应用场景:文件转换

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add yaps-video-to-audio
Metadata
name
yaps-video-to-audio
description
Save the sound from a video as MP3, WAV, or M4A with Yaps. New users: install Yaps and sign in.

Yaps Video to Audio

Read the runtime guide before the first operation. It defines <yaps>, account readiness, local permissions, and file handling.

Required Yaps version: 2.3.124 or newer. Check installed command help for later capabilities.

Feature readiness: Yaps media extraction and the installed FFmpeg dependency. Check media extract-audio help; no separate speech model is required.

Workflow

Choose MP3 unless the user requests WAV or M4A. Use WAV for a requested lossless working copy feeding another audio workflow. Select a new <source> Audio.<format> path.

Run <yaps> media extract-audio <video> --format <mp3|wav|m4a> --output <new-audio> --pretty. Confirm the result exists, is non-empty, has a playable audio stream, and has the expected duration. Preserve the video and prior exports.

A video with no audio must return that condition rather than an empty success file. If media dependencies are missing, use the runner's specific guidance; install only when authorized. Do not replace this integration with ad-hoc conversion software silently.

Boundaries

  • No transcript, denoising, or scene editing is implied by extraction.
  • Format conversion may re-encode; do not label MP3 as lossless.
  • Do not extract unrelated tracks or change the source video.