cottom/media-finisher

A small CPU model that runs ffmpeg finishing jobs: trim, reframe a video along a crop path, burn subtitles with libass, and join clips. Returns one H.264/AAC MP4.

Public
67 runs

Run cottom/media-finisher with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
op
None
Operation
src
string
https URL of the input video
srcs
string
concat: JSON array of https URLs
start
number
0
trim/render: start, seconds
end
number
0
trim/render: end, seconds (0 = to the end)
crop
string
reframe/render: JSON {width,height,y,keyframes:[{t,x,cut}]}
width
integer
0

Max: 1920

output width (0 = keep)
height
integer
0

Max: 1920

output height (0 = keep)
subtitles
string
captions/render: ASS or SRT document
style
string
SRT only: libass force_style, e.g. FontName=DejaVu Sans,FontSize=14,Alignment=2

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}