Skip to main content


Gets the current status of a non-still render originally triggered via renderMediaOnLambda().


import { getRenderProgress } from "@remotion/lambda/client";
const progress = await getRenderProgress({
renderId: "d7nlc2y",
bucketName: "remotionlambda-d9mafgx",
functionName: "remotion-render-la8ffw",
region: "us-east-1",
import { getRenderProgress } from "@remotion/lambda/client";
const progress = await getRenderProgress({
renderId: "d7nlc2y",
bucketName: "remotionlambda-d9mafgx",
functionName: "remotion-render-la8ffw",
region: "us-east-1",

Preferrably import this function from @remotion/lambda/client to avoid problems inside serverless functions.


You don't need to call this function while rendering a still. Once you have obtained the renderId from renderStillOnLambda(), the render should already be done!


Call the function by passing an object with the following properties:


The unique identifier for the render that you want to get the progress for. You can get the renderId from the return value of renderMediaOnLambda().


The bucket in which information about the render is saved. You can get the bucket name from the return value of renderMediaOnLambda().


The region in which the Lambda function is located in.


The name of the function that triggered the render.


optional, available from v3.2.23

If the render is going to be saved to a different cloud, pass an object with the same endpoint, accessKeyId and secretAccessKey as you passed to renderMediaOnLambda() or renderStillOnLambda().


Returns a promise resolving to an object with the following properties:


A number between 0 and 1 indicating the approximate progress of the render.


How many chunks have been fully rendered so far.


true if video has been successfully rendered and all processes are done. false otherwise.


Either null if not all chunks have been rendered yet or an object with the signature {framesEncoded: number} that tells how many frames have been stitched together so far in the concatenation process.


Mirrors the renderId that has been passed as an input


Contains the following information about the render:

  • frameRange: The first and last frame that is being rendered (Use frameRange[1] - frameRange[0] + 1 to get number of total frames rendered).
  • startedDate: Timestamp of when the rendering process started.
  • totalChunks: Into how many pieces the rendering is divided.
  • estimatedTotalLambdaInvokations: The estimated amount of total Lambda function calls in total, excluding calls to getRenderProgress().
  • estimatedRenderLambdaInvokations: The estimated amount of Lambdas that will render chunks of the video.
  • compositionId: The ID of the composition that is being rendered.
  • codec: The selected codec into which the video gets encoded.


In which bucket the render and other artifacts get saved.


null if the video is not yet rendered, a string containing a URL pointing to the final artifact if the video finished rendering.


null if the video is not yet rendered, a string containing the S3 key where the final artifact is stored.


null is the video is not yet rendered, a number describing how long the render took to finish in milliseconds.


An array which contains errors that occurred.


true if an error occurred and the video cannot be rendered. You should stop polling for progress and check the errors array.


The current time at which the Lambda function responded to the progress request.


How many bytes have been saved to the S3 bucket as a result of this render.


available from v.3.3.9

The size of the output artifact in bytes.


How many lambdas that render a chunk have been invoked yet and have started rendering.


available from v3.3.8

How many frames have been rendered so far, approximated to a number divisible by 5.


An object describing the costs of the render so far. The cost may increase if the render has not finished yet. Only costs for AWS Lambda are estimated, not for S3 storage. It is a best-effort estimation, but without any guarantees. The object has the following properties:

  • accruedSoFar: The cost as a floating number.
  • currency: The currency of the cost.
  • displayCost: The cost formatted as a string.
  • disclaimer: Textual disclaimer removing any doubt that there is no guarantee.


The estimated total runtime of all invoked Lambda functions combined, in milliseconds. As the render goes on, this number increases.


If the render is in progress, this is null. If the render is done, it is an array of the 5 most expensive chunks in the following shape:

  • chunk: The index of the chunk (starting from 0)
  • timeInMilliseconds: The time it took the render that chunk
  • frameRange: A tuple containing the first and last frame that was rendered in that chunk.

See also