MCP server for audio segment slicing using ffmpeg
Project description
Audio Slice MCP
截取音频片段的 MCP 服务,提供 slice_audio 工具。返回值为英文文本。
安装
pip install audio-slice-mcp
运行
audio-slice-mcp
工具
slice_audio(input_audio_path: str, output_audio_path: str, start_time: str, end_time: str, copy_codec: bool = True) -> str- 支持时间格式:秒数(如
90)、MM:SS、HH:MM:SS copy_codec=true时不重新编码,速度更快
- 支持时间格式:秒数(如
示例
截取 00:00:10 到 00:00:30:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
audio_slice_mcp-0.1.6.tar.gz
(8.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file audio_slice_mcp-0.1.6.tar.gz.
File metadata
- Download URL: audio_slice_mcp-0.1.6.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15649c777466d9dd0aa4b0588bb7e34f53e088afbd61fb9b2f58ca76bbfc0aaf
|
|
| MD5 |
5c8dace8dfb2c24d8b713a78eda4ff39
|
|
| BLAKE2b-256 |
060ca0858253ae4e3bc6810f439b8f9e9627c3e683f667b365f13ef9154c0055
|
File details
Details for the file audio_slice_mcp-0.1.6-py3-none-any.whl.
File metadata
- Download URL: audio_slice_mcp-0.1.6-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f46376845a63a2badd26c47c5ded5ba7cbab86b42387ae222086f35dd4f7ef1
|
|
| MD5 |
6fa076e93700607ce791b70a4e22977f
|
|
| BLAKE2b-256 |
62b06b79a4093d15e03551e81e3d9f52cb93ae05ba6cf6f2c2eb15390c9c9b2b
|