ffprobe。
开始使用
FFprobe
使用 FFprobe 分析媒体文件,并以结构化 JSON 返回结果。
当你需要查看流信息、编码格式、时长或容器元数据时,可以使用
这很适合在正式运行 FFmpeg 命令前,先分析源媒体文件。
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
使用 FFprobe 分析媒体文件,并以结构化 JSON 返回结果。
ffprobe。
curl -X POST https://ffmpeg-api.cloud/v1/jobs \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"binary": "ffprobe",
"input": [
{
"type": "url",
"url": "https://example.com/input.mp4"
}
],
"ffmpegArgs": [
"-v",
"error",
"-show_format",
"-show_streams",
"-of",
"json",
"input0"
]
}'
curl https://ffmpeg-api.cloud/v1/jobs/JOB_ID/result \
-H "Authorization: Bearer YOUR_API_KEY"
