create_video_from_images
Convert a sequence of images into a video using FFmpeg. Specify input patterns, output path, framerate, codec, and pixel format for customized video creation.
Instructions
Create a video from a sequence of images
Input Schema
Name | Required | Description | Default |
---|---|---|---|
codec | No | Video codec to use (default: libx264) | |
extraOptions | No | Additional FFmpeg options | |
framerate | No | Frames per second (default: 25) | |
inputPattern | Yes | Pattern for input images (e.g., 'img%03d.jpg' or 'folder/*.png') | |
outputPath | Yes | Path for the output video file | |
pixelFormat | No | Pixel format (default: yuv420p) |
Input Schema (JSON Schema)
{
"properties": {
"codec": {
"description": "Video codec to use (default: libx264)",
"type": "string"
},
"extraOptions": {
"description": "Additional FFmpeg options",
"type": "string"
},
"framerate": {
"description": "Frames per second (default: 25)",
"type": "number"
},
"inputPattern": {
"description": "Pattern for input images (e.g., 'img%03d.jpg' or 'folder/*.png')",
"type": "string"
},
"outputPath": {
"description": "Path for the output video file",
"type": "string"
},
"pixelFormat": {
"description": "Pixel format (default: yuv420p)",
"type": "string"
}
},
"required": [
"inputPattern",
"outputPath"
],
"type": "object"
}