← All models
Ffmpeg Api
ffmpeg-api-merge-videos
Video generationby infery
Use ffmpeg capabilities to merge 2 or more videos.
Details
- Accepts
- video
Pricing
- Price
- 0.021 cr / second
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| resolution | — | Resolution of the final video. Width and height must be between 512 and 2048. |
| target_fps | — | Target FPS for the output video. If not provided, uses the lowest FPS from input videos. |
| video_urlsrequired | array | List of video URLs to merge in order |
| resolution_aspect_ratio_video_index | — | Zero-based index of the input video whose aspect ratio should be used when resolution is not provided. If omitted, preserves the default behavior of using the minimum width and minimum height across input videos. |
Output
| Field | Type | Description |
|---|---|---|
| video | — | Merged video file |
| metadata | object | Metadata about the merged video including original video info |