ToolConvoyToolConvoyv2.6
misc

如何从视频提取音频

从 MP4、MOV、WebM 文件中取出音轨。ffmpeg 是标准工具;这里是精确命令。

广告

命令行方案

ffmpeg 是从 MP4、MOV、WebM 抽音轨的标准工具。运行:

ffmpeg -i input.mp4 -vn -acodec libmp3lame -q:a 2 output.mp3

参数说明:

  • -vn 去掉视频
  • -acodec libmp3lame 指定 MP3 编码
  • -q:a 2 高质量档(0 是最高,9 是最低)

GUI 工具

  • VLC:媒体 → 转换 / 保存
  • HandBrake:偏重视频但能输出 MP3 / AAC
  • macOS:预览不行;用 QuickTime 导出(仅部分格式)

浏览器内

目前在浏览器内进行视频转音频需要 WebCodecs API 或巨大 WASM(如 FFmpeg.wasm);暂未提供。

信息

当视频中有多个音轨(如多语言),用 -map 0:a:N 选择第 N 个音轨。

广告

使用方法

  1. Open the tool

    Open the relevant tool linked below in your browser. The page handles everything client-side.

常见问题

Does this upload my file?

No. All ToolConvoy tools process files in your browser; nothing is uploaded to a server.

广告