{"record":{"id":"f594f0bcecb7b537","repo":"remotion-dev/remotion","slug":"comma-separated-frame-selections-are-only-supporte-f594f0","errorCode":null,"errorMessage":"Comma-separated frame selections are only supported by the local `remotion render` command. Pass one frame range to render a video on Cloud Run.","messagePattern":"Comma-separated frame selections are only supported by the local `remotion render` command\\. Pass one frame range to render a video on Cloud Run\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/cloudrun/src/cli/commands/render/index.ts","lineNumber":108,"sourceCode":"\tconst imageFormat = BrowserSafeApis.options.videoImageFormatOption.getValue({\n\t\tcommandLine: CliInternals.parsedCli,\n\t}).value;\n\n\tconst audioCodec = BrowserSafeApis.options.audioCodecOption.getValue({\n\t\tcommandLine: CliInternals.parsedCli,\n\t}).value;\n\n\tconst {envVariables, frameRange, inputProps, selectedFrames} =\n\t\tCliInternals.getCliOptions({\n\t\t\tisStill: false,\n\t\t\tlogLevel,\n\t\t\tindent: false,\n\t\t});\n\tif (\n\t\tselectedFrames !== null ||\n\t\t(Array.isArray(frameRange) && Array.isArray(frameRange[0]))\n\t) {\n\t\tthrow new Error(\n\t\t\t'Comma-separated frame selections are only supported by the local `remotion render` command. Pass one frame range to render a video on Cloud Run.',\n\t\t);\n\t}\n\n\tconst singleFrameRange = frameRange as SingleFrameRange | null;\n\n\tconst height = overrideHeightOption.getValue({\n\t\tcommandLine: CliInternals.parsedCli,\n\t}).value;\n\tconst width = overrideWidthOption.getValue({\n\t\tcommandLine: CliInternals.parsedCli,\n\t}).value;\n\tconst fps = overrideFpsOption.getValue({\n\t\tcommandLine: CliInternals.parsedCli,\n\t}).value;\n\tconst durationInFrames = overrideDurationOption.getValue({\n\t\tcommandLine: CliInternals.parsedCli,\n\t}).value;","sourceCodeStart":90,"sourceCodeEnd":126,"githubUrl":"https://github.com/remotion-dev/remotion/blob/78fe4bb3fdb5a2cd68724393d63cb223db333fa7/packages/cloudrun/src/cli/commands/render/index.ts#L90-L126","documentation":"Thrown by the Cloud Run render CLI command when the user passes selected frames (--frames=0,10 or a multi-range) that are only supported by the local remotion render command. Cloud Run requires a single contiguous frame range.","triggerScenarios":"Running `remotion cloudrun render` with --frames using comma-separated selections, or a multi-range value parsed into a nested array.","commonSituations":"Reusing the same --frames flag value from local rendering workflows on the cloudrun render subcommand.","solutions":["Pass a single contiguous range: --frames=0-60 or --frames=30.","For multiple disjoint ranges, render locally with `remotion render` instead.","Run separate `remotion cloudrun render` invocations per range."],"exampleFix":"# before\nnpx remotion cloudrun render MyComp --frames=0-10,20-30\n# after\nnpx remotion cloudrun render MyComp --frames=0-30","handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":["Use only single contiguous --frames values for the cloudrun render subcommand.","Reserve comma-separated frame selections for the local remotion render command."],"tags":["cloudrun","gcp","cli","render","frame-range"],"backgroundTag":null,"analyzedSha":"78fe4bb3fdb5a2cd68724393d63cb223db333fa7","analyzedAt":"2026-08-12T17:18:50.444Z","schemaVersion":2},"datasetVersion":"2026-08-12T18:17:37.767Z"}