infery
← 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

FieldTypeDescription
resolutionResolution of the final video. Width and height must be between 512 and 2048.
target_fpsTarget FPS for the output video. If not provided, uses the lowest FPS from input videos.
video_urlsrequiredarrayList of video URLs to merge in order
resolution_aspect_ratio_video_indexZero-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

FieldTypeDescription
videoMerged video file
metadataobjectMetadata about the merged video including original video info