Skip to content

Rendering with multiple frame ranges #3158

Description

@dcodesdev

Rendering with multiple frame ranges

Instead of selecting a frame range when rendering on Lambda, it would be nice to be allowed to select multiple frame ranges to render.

So, instead of this

  const result = await renderMediaOnLambda({
    codec: "h264",
    functionName: "remotion-render",
    region: REGION,
    serveUrl: SITE_NAME,
    composition: COMP_NAME,
    frameRange: [0, 100], // <-- Instead of this
  })

Selecting multiple frame ranges

const result = await renderMediaOnLambda({
  codec: "h264",
  functionName: "remotion-render",
  region: REGION,
  serveUrl: SITE_NAME,
  composition: COMP_NAME,
  frameRange: [[0,100], [150, 200]] // <-- Having this
})

The final result would be a video of 150 frames with frames 101-149 skipped, the result would be only 1 video stitched together instead of multiple videos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions