If set, output files that are private AND already stored return storage_url as a presigned URL valid for this many seconds. For any other file (public, not yet stored, or deleted) the default storage_url is returned unchanged. See the private files guide.
Required range: x <= 604800
Response
Successful Response
Response model for FFmpeg command status.
Contains information about the command execution status, any errors that occurred,
output files generated, and the original request details.
Time, in seconds, the command waited in the queue before a server started processing it. While the command is still queued, this is the time waited so far. Includes time spent waiting for free vCPUs while your account's other commands are using its vCPU limit.
Metadata stored with the command, used for custom tracking and reporting
Show child attributes
Example:
{ "key": "value" }
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Rendi - FFmpeg API","description":"Rendi - FFmpeg API - Documentation","colors":{"primary":"#6BB666","light":"#F3FFB7","dark":"#6BB666"},"logo":{"light":"https://mintcdn.com/rendi/UkCjje3cRpAu-Pzn/logo/rendi_light.svg?fit=max\u0026auto=format\u0026n=UkCjje3cRpAu-Pzn\u0026q=85\u0026s=9221ec14a8479069fb9656f72cb52c3c","dark":"https://mintcdn.com/rendi/UkCjje3cRpAu-Pzn/logo/rendi_dark.svg?fit=max\u0026auto=format\u0026n=UkCjje3cRpAu-Pzn\u0026q=85\u0026s=6f9b0a9e2ae19a1062d9415927758188","href":"https://rendi.dev/"},"favicon":"https://mintcdn.com/rendi/UkCjje3cRpAu-Pzn/favicon_rendi.svg?fit=max\u0026auto=format\u0026n=UkCjje3cRpAu-Pzn\u0026q=85\u0026s=5b2fa0a0cfb3e3bb80e6d6e2f26eadb6","appearance":{"default":"light"},"navbar":{"links":[{"href":"https://github.com/orgs/rendi-api/discussions","label":"Support"},{"href":"https://app.rendi.dev/sign-in","label":"Sign In"}],"primary":{"type":"button","label":"Get Started","href":"https://app.rendi.dev/sign-up?loc=docs-top-right"}},"footer":{"socials":{"x":"https://x.com/rendi_dev","youtube":"https://www.youtube.com/playlist?list=PLJafqrbyIUfzM4MM6wKeN4qkwCviI3IHw","github":"https://github.com/rendi-api/ffmpeg-cheatsheet"}},"seo":{"metatags":{"description":"Learn how to run FFmpeg online easily using Rendi’s FFmpeg API - no installation needed. Fast, scalable, and reliable FFmpeg as a Service.","og:site_name":"Rendi - FFmpeg API - Documentation","og:description":"Learn how to run FFmpeg online easily using Rendi’s FFmpeg API - no installation needed. Fast, scalable, and reliable FFmpeg as a Service.","og:url":"https://rendi.dev/docs","og:locale":"en_US","og:logo":"/logo/rendi_logo.svg","twitter:description":"Learn how to run FFmpeg online easily - no installation needed. Fast, scalable, and reliable FFmpeg as a Service."}},"integrations":{"ga4":{"measurementId":"G-TX18XXSKL8"},"gtm":{"tagId":"GTM-5892H3NR"},"hotjar":{"hjid":"5186749","hjsv":"6"},"mixpanel":{"projectToken":"28dc0233f8ad77a5de6722a2dddabaf5"}},"contextual":{"options":["view","copy","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/rendi-api/ffmpeg-cheatsheet"},{"anchor":"System Status","icon":"display-chart-up","href":"https://status.rendi.dev"},{"anchor":"YouTube","icon":"youtube","href":"https://youtube.com/playlist?list=PLJafqrbyIUfzM4MM6wKeN4qkwCviI3IHw\u0026si=VqyZiQMBqJrbrngc"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rendi","hasAudioNarration":false,"actualSubdomain":"rendi","customDomains":["rendi.dev"],"gitSource":{"type":"github","owner":"rendi-api","repo":"rendi-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae74578f7d3a0f8561dcd62","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Documentation","count":26},{"language":"default","tag":"API Reference","count":14},{"language":"default","tag":"Examples","count":14},{"language":"default","tag":"Features","count":6},{"language":"default","tag":"File Storage","count":4},{"language":"default","tag":"Listing Assets","count":4},{"language":"default","tag":"Generate","count":4},{"language":"default","tag":"Deleting Assets","count":3},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Convert","count":3}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/poll-command","slug":"/api-reference/endpoint/poll-command","pageMetadata":{"title":"Poll FFmpeg Command","openapi":"GET /v1/commands/{command_id}","description":"Get the status of a previously submitted FFmpeg command. Works for regular commands and chained commands.","href":"/api-reference/endpoint/poll-command"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get the status of a previously submitted FFmpeg command. Works for regular commands and chained commands.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Poll FFmpeg Command","openapi":"GET /v1/commands/{command_id}","description":"Get the status of a previously submitted FFmpeg command. Works for regular commands and chained commands.","href":"/api-reference/endpoint/poll-command"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["API","FFmpeg Commands"],"summary":"Get Command Status","description":"Get the status of a previously submitted FFmpeg command. Works for regular commands and chained commands.","operationId":"poll_command_v1_commands__command_id__get","security":["1cb9c2a3-cbfe-4044-9304-bc59714a85e0"],"parameters":["2433afa2-bb63-4427-a304-22b53a4708a5","939ccf1f-108f-4970-9fb3-0f63aed625f7"],"responses":{"200":"8b2368e7-3f09-4966-a9c4-bdc4b399d7b8","401":"197d3a3c-9d8f-4231-8285-b8b579db8377","422":"a891e31b-6a7b-44eb-b88b-8de8f0be86ec","429":"161fec33-cf5b-4a25-a7c8-33ab8649efe4"},"method":"get","type":"path","servers":["d582982c-db85-4362-982a-9f76c7a080f9"],"path":"/v1/commands/{command_id}","baseUrlOptions":["https://api.rendi.dev"],"title":"Get Command Status","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2433afa2-bb63-4427-a304-22b53a4708a5":{"name":"command_id","in":"path","required":true,"schema":{"type":"string","description":"The UUID of the FFmpeg command to check status for","title":"Command Id","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"The UUID of the FFmpeg command to check status for"},"939ccf1f-108f-4970-9fb3-0f63aed625f7":{"name":"presigned_ttl_seconds","in":"query","required":false,"schema":{"oneOf":[{"type":"integer","title":"Presigned Ttl Seconds","description":"If set, output files that are private AND already stored return `storage_url` as a presigned URL valid for this many seconds. For any other file (public, not yet stored, or deleted) the default `storage_url` is returned unchanged. See the [private files guide](https://docs.rendi.dev/private-files).","maximum":604800,"uniqueKey":"oneOf.0","typeLabel":"integer"},{"type":"null","title":"Presigned Ttl Seconds","description":"If set, output files that are private AND already stored return `storage_url` as a presigned URL valid for this many seconds. For any other file (public, not yet stored, or deleted) the default `storage_url` is returned unchanged. See the [private files guide](https://docs.rendi.dev/private-files).","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"integer | null"},"description":"If set, output files that are private AND already stored return `storage_url` as a presigned URL valid for this many seconds. For any other file (public, not yet stored, or deleted) the default `storage_url` is returned unchanged. See the [private files guide](https://docs.rendi.dev/private-files)."}},"responses":{"8b2368e7-3f09-4966-a9c4-bdc4b399d7b8":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"command_id":{"type":"string","title":"Command Id","description":"Unique identifier for the submitted command","examples":["123e4567-e89b-12d3-a456-426614174000"],"isRequired":true,"uniqueKey":"command_id","typeLabel":"string"},"environment_name":{"oneOf":[{"type":"string","title":"Environment Name","description":"The environment this command was created in (e.g., 'main', 'test', 'dev').","example":"main","isRequired":true,"uniqueKey":"environment_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Environment Name","description":"The environment this command was created in (e.g., 'main', 'test', 'dev').","example":"main","isRequired":true,"uniqueKey":"environment_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"environment_name","typeLabel":"string | null"},"status":{"type":"string","enum":["QUEUED","PROCESSING","PREPARED_FFMPEG_COMMAND","FAILED","SUCCESS"],"title":"CommandStatus","description":"Current status of the FFmpeg command","examples":["SUCCESS"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"command_type":{"type":"string","enum":["FFMPEG_COMMAND","FFMPEG_CHAINED_COMMANDS"],"title":"CommandType","description":"Type of command that was run","examples":["FFMPEG_COMMAND","FFMPEG_CHAINED_COMMANDS"],"isRequired":true,"uniqueKey":"command_type","typeLabel":"enum\u003cstring>"},"original_request":{"type":"object","title":"Original Request","description":"The original request that was sent to the server","examples":[{"ffmpeg_command":"-i {{in_1}} -ss 00:00 -to 00:30 -filter_complex \"[0:v]split=2[vid1][vid2];[vid1]scale=trunc(oh*a/2)*2:320:force_original_aspect_ratio=decrease,pad=trunc(oh*a/2)*2:320:-1:-1[320p];[vid2]scale=trunc(oh*a/2)*2:180:force_original_aspect_ratio=decrease,pad=trunc(oh*a/2)*2:180:-1:-1[180p]\" -map [320p] -map 0:a -c:a copy -c:v libx264 -preset medium {{out_1}} -map [180p] -map 0:a -c:a copy -c:v libx264 -preset medium {{out_2}}","input_files":{"in_1":"https://storage.rendi.dev/sample/sample.avi"},"max_command_run_seconds":300,"output_files":{"out_1":"output_320p.mp4","out_2":"output_180p.mp4"},"vcpu_count":8}],"isRequired":true,"uniqueKey":"original_request","typeLabel":"Original Request · object"},"processing_stage":{"oneOf":[{"type":"string","title":"CommandProcessingStage","description":"Current processing stage of the command","enum":["DOWNLOADING","PREPARING_INPUT_FILES","FFMPEG_PROCESSING","UPLOADING"],"example":"DOWNLOADING","uniqueKey":"processing_stage.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Current processing stage of the command","example":"DOWNLOADING","uniqueKey":"processing_stage.oneOf.1","typeLabel":"null"}],"uniqueKey":"processing_stage","typeLabel":"enum\u003cstring> | null"},"error_status":{"oneOf":[{"type":"string","title":"Error Status","description":"Status of any error that occurred during command execution","example":"UNREACHABLE_INPUT_FILE","uniqueKey":"error_status.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error Status","description":"Status of any error that occurred during command execution","example":"UNREACHABLE_INPUT_FILE","uniqueKey":"error_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_status","typeLabel":"string | null"},"error_message":{"oneOf":[{"type":"string","title":"Error Message","description":"Error details if the command failed","example":"Input file url https://rendi.dev/example does not have a valid file name in its' end.","uniqueKey":"error_message.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error Message","description":"Error details if the command failed","example":"Input file url https://rendi.dev/example does not have a valid file name in its' end.","uniqueKey":"error_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_message","typeLabel":"string | null"},"total_processing_seconds":{"oneOf":[{"type":"number","title":"Total Processing Seconds","description":"Processing time, in seconds, since receiving the command, this includes network times, parsing times, and FFMPEG command execution time","uniqueKey":"total_processing_seconds.oneOf.0","typeLabel":"number"},{"type":"null","title":"Total Processing Seconds","description":"Processing time, in seconds, since receiving the command, this includes network times, parsing times, and FFMPEG command execution time","uniqueKey":"total_processing_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"total_processing_seconds","typeLabel":"number | null"},"queued_seconds":{"oneOf":[{"type":"number","title":"Queued Seconds","description":"Time, in seconds, the command waited in the queue before a server started processing it. While the command is still queued, this is the time waited so far. Includes time spent waiting for free vCPUs while your account's other commands are using its vCPU limit.","example":0.42,"uniqueKey":"queued_seconds.oneOf.0","typeLabel":"number"},{"type":"null","title":"Queued Seconds","description":"Time, in seconds, the command waited in the queue before a server started processing it. While the command is still queued, this is the time waited so far. Includes time spent waiting for free vCPUs while your account's other commands are using its vCPU limit.","example":0.42,"uniqueKey":"queued_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"queued_seconds","typeLabel":"number | null"},"ffmpeg_command_run_seconds":{"oneOf":[{"type":"number","title":"Ffmpeg Command Run Seconds","description":"The exact time the specific FFMPEG command took on our servers, in seconds","uniqueKey":"ffmpeg_command_run_seconds.oneOf.0","typeLabel":"number"},{"type":"null","title":"Ffmpeg Command Run Seconds","description":"The exact time the specific FFMPEG command took on our servers, in seconds","uniqueKey":"ffmpeg_command_run_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"ffmpeg_command_run_seconds","typeLabel":"number | null"},"vcpu_count":{"oneOf":[{"type":"integer","title":"Vcpu Count","description":"Number of virtual CPUs used for the command","uniqueKey":"vcpu_count.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Vcpu Count","description":"Number of virtual CPUs used for the command","uniqueKey":"vcpu_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"vcpu_count","typeLabel":"integer | null"},"output_files":{"oneOf":[{"type":"object","title":"Output Files","description":"Dictionary mapping file aliases to their output file storage, for output folder, the key is 'OUTPUT_FOLDER'","example":{"out_1":{"bitrate_audio_kb":242.349609375,"bitrate_video_kb":370.5654296875,"codec":"h264","duration":30,"file_format":"mp4","file_id":"f775b15d-67e9-4235-b89f-4bb33c0a5f57","file_type":"video","frame_rate":24,"height":320,"is_deleted":false,"is_private":false,"is_varying_frame_rate":false,"mime_type":"video/mp4","pixel_format":"yuv420p","size_mbytes":2.2677812576293945,"storage_url":"https://storage.rendi.dev/files/224ea098-5c10-419b-8a77-707d89443c56/42c95292-d953-4b5a-8a58-cf1513363a33/output_320p.mp4","timebase":"1/25","width":568},"out_2":{"bitrate_audio_kb":239.9833984375,"bitrate_video_kb":160.955078125,"codec":"h264","duration":596.459,"file_format":"mp4","file_id":"9df00eca-3221-49c6-8a64-07850c9a5921","file_type":"video","frame_rate":24,"height":180,"is_deleted":false,"is_private":false,"is_varying_frame_rate":false,"mime_type":"video/mp4","pixel_format":"yuv420p","size_mbytes":29.620187759399414,"storage_url":"https://storage.rendi.dev/files/224ea098-5c10-419b-8a77-707d89443c56/42c95292-d953-4b5a-8a58-cf1513363a33/output_180p.mp4","timebase":"1/25","width":320}},"additionalProperties":{"properties":{"file_id":{"type":"string","title":"File Id","description":"Unique identifier for the stored file","examples":["987fcdeb-a89b-43d3-b456-789012345678"],"isRequired":true,"uniqueKey":"output_files.oneOf.0.additionalProperties.file_id","typeLabel":"string"},"environment_name":{"oneOf":[{"type":"string","title":"Environment Name","description":"The environment this file was stored in (e.g., 'main', 'test', 'dev').","example":"main","uniqueKey":"output_files.oneOf.0.additionalProperties.environment_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Environment Name","description":"The environment this file was stored in (e.g., 'main', 'test', 'dev').","example":"main","uniqueKey":"output_files.oneOf.0.additionalProperties.environment_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.environment_name","typeLabel":"string | null"},"storage_url":{"oneOf":[{"type":"string","title":"Storage Url","description":"URL where the file is stored","example":"https://storage.rendi.dev/123e4567-e89b-12d3-a456-426614174000/output.avi","uniqueKey":"output_files.oneOf.0.additionalProperties.storage_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Storage Url","description":"URL where the file is stored","example":"https://storage.rendi.dev/123e4567-e89b-12d3-a456-426614174000/output.avi","uniqueKey":"output_files.oneOf.0.additionalProperties.storage_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.storage_url","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","title":"FileStatus","description":"Status of the file","enum":["QUEUED","DOWNLOADING","DOWNLOADED","UPLOADED","FAILED","STORED"],"example":"STORED","uniqueKey":"output_files.oneOf.0.additionalProperties.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Status of the file","example":"STORED","uniqueKey":"output_files.oneOf.0.additionalProperties.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.status","typeLabel":"enum\u003cstring> | null"},"rendi_store_type":{"oneOf":[{"type":"string","title":"RendiFileStoreType","description":"Type of storage of the file in rendi","enum":["INPUT","OUTPUT","STORED_FILE"],"example":"STORED_FILE","uniqueKey":"output_files.oneOf.0.additionalProperties.rendi_store_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Type of storage of the file in rendi","example":"STORED_FILE","uniqueKey":"output_files.oneOf.0.additionalProperties.rendi_store_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.rendi_store_type","typeLabel":"enum\u003cstring> | null"},"error_status":{"oneOf":[{"type":"string","title":"Error Status","description":"Status of any error that occurred during file processing","example":"UNREACHABLE_INPUT_FILE","uniqueKey":"output_files.oneOf.0.additionalProperties.error_status.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error Status","description":"Status of any error that occurred during file processing","example":"UNREACHABLE_INPUT_FILE","uniqueKey":"output_files.oneOf.0.additionalProperties.error_status.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.error_status","typeLabel":"string | null"},"external_error_message":{"oneOf":[{"type":"string","title":"External Error Message","description":"Error details if the file failed to be processed","example":"Input file url https://rendi.dev/example is not reachable.","uniqueKey":"output_files.oneOf.0.additionalProperties.external_error_message.oneOf.0","typeLabel":"string"},{"type":"null","title":"External Error Message","description":"Error details if the file failed to be processed","example":"Input file url https://rendi.dev/example is not reachable.","uniqueKey":"output_files.oneOf.0.additionalProperties.external_error_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.external_error_message","typeLabel":"string | null"},"is_deleted":{"oneOf":[{"type":"boolean","title":"Is Deleted","description":"Whether the file has been deleted","example":false,"uniqueKey":"output_files.oneOf.0.additionalProperties.is_deleted.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Deleted","description":"Whether the file has been deleted","example":false,"uniqueKey":"output_files.oneOf.0.additionalProperties.is_deleted.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.is_deleted","typeLabel":"boolean | null"},"size_mbytes":{"oneOf":[{"type":"number","title":"Size Mbytes","description":"Size of the output file or folder in megabytes","example":15.2,"uniqueKey":"output_files.oneOf.0.additionalProperties.size_mbytes.oneOf.0","typeLabel":"number"},{"type":"null","title":"Size Mbytes","description":"Size of the output file or folder in megabytes","example":15.2,"uniqueKey":"output_files.oneOf.0.additionalProperties.size_mbytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.size_mbytes","typeLabel":"number | null"},"file_count":{"oneOf":[{"type":"integer","title":"File Count","description":"Number of files in the output folder/playlist","example":5,"uniqueKey":"output_files.oneOf.0.additionalProperties.file_count.oneOf.0","typeLabel":"integer"},{"type":"null","title":"File Count","description":"Number of files in the output folder/playlist","example":5,"uniqueKey":"output_files.oneOf.0.additionalProperties.file_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.file_count","typeLabel":"integer | null"},"size_compressed_mbytes":{"oneOf":[{"type":"number","title":"Size Compressed Mbytes","description":"Size of the output compressed folder in megabytes","example":15.2,"uniqueKey":"output_files.oneOf.0.additionalProperties.size_compressed_mbytes.oneOf.0","typeLabel":"number"},{"type":"null","title":"Size Compressed Mbytes","description":"Size of the output compressed folder in megabytes","example":15.2,"uniqueKey":"output_files.oneOf.0.additionalProperties.size_compressed_mbytes.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.size_compressed_mbytes","typeLabel":"number | null"},"is_private":{"oneOf":[{"type":"boolean","title":"Is Private","description":"Whether the file is stored privately. Private files are accessible via their `storage_url` only if you request a presigned URL by passing `presigned_ttl_seconds` on `GET /v1/files/{file_id}` (for a single file) or `GET /v1/commands/{command_id}` (for a command's output files) to receive a time-limited downloadable URL. Not available on free plans.","example":false,"uniqueKey":"output_files.oneOf.0.additionalProperties.is_private.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Private","description":"Whether the file is stored privately. Private files are accessible via their `storage_url` only if you request a presigned URL by passing `presigned_ttl_seconds` on `GET /v1/files/{file_id}` (for a single file) or `GET /v1/commands/{command_id}` (for a command's output files) to receive a time-limited downloadable URL. Not available on free plans.","example":false,"uniqueKey":"output_files.oneOf.0.additionalProperties.is_private.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.is_private","typeLabel":"boolean | null"},"original_file_url":{"oneOf":[{"type":"string","title":"Original File Url","description":"URL of the original file (or just name in case of uploaded file)","example":"https://somehwereonline.stored.com/file_to_store.mp4","uniqueKey":"output_files.oneOf.0.additionalProperties.original_file_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Original File Url","description":"URL of the original file (or just name in case of uploaded file)","example":"https://somehwereonline.stored.com/file_to_store.mp4","uniqueKey":"output_files.oneOf.0.additionalProperties.original_file_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.original_file_url","typeLabel":"string | null"},"duration":{"oneOf":[{"type":"number","title":"Duration","description":"Duration of the media file in seconds","example":30.5,"uniqueKey":"output_files.oneOf.0.additionalProperties.duration.oneOf.0","typeLabel":"number"},{"type":"null","title":"Duration","description":"Duration of the media file in seconds","example":30.5,"uniqueKey":"output_files.oneOf.0.additionalProperties.duration.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.duration","typeLabel":"number | null"},"file_type":{"oneOf":[{"type":"string","title":"File Type","description":"Type of the media file (video, audio, image, subtitles, etc.)","example":"video","uniqueKey":"output_files.oneOf.0.additionalProperties.file_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"File Type","description":"Type of the media file (video, audio, image, subtitles, etc.)","example":"video","uniqueKey":"output_files.oneOf.0.additionalProperties.file_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.file_type","typeLabel":"string | null"},"file_format":{"oneOf":[{"type":"string","title":"File Format","description":"Format/container of the media file","example":"avi","uniqueKey":"output_files.oneOf.0.additionalProperties.file_format.oneOf.0","typeLabel":"string"},{"type":"null","title":"File Format","description":"Format/container of the media file","example":"avi","uniqueKey":"output_files.oneOf.0.additionalProperties.file_format.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.file_format","typeLabel":"string | null"},"width":{"oneOf":[{"type":"integer","title":"Width","description":"Width of the video in pixels","example":1920,"uniqueKey":"output_files.oneOf.0.additionalProperties.width.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Width","description":"Width of the video in pixels","example":1920,"uniqueKey":"output_files.oneOf.0.additionalProperties.width.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.width","typeLabel":"integer | null"},"height":{"oneOf":[{"type":"integer","title":"Height","description":"Height of the video in pixels","example":1080,"uniqueKey":"output_files.oneOf.0.additionalProperties.height.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Height","description":"Height of the video in pixels","example":1080,"uniqueKey":"output_files.oneOf.0.additionalProperties.height.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.height","typeLabel":"integer | null"},"codec":{"oneOf":[{"type":"string","title":"Codec","description":"Codec used for the media file","example":"msmpeg4v2","uniqueKey":"output_files.oneOf.0.additionalProperties.codec.oneOf.0","typeLabel":"string"},{"type":"null","title":"Codec","description":"Codec used for the media file","example":"msmpeg4v2","uniqueKey":"output_files.oneOf.0.additionalProperties.codec.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.codec","typeLabel":"string | null"},"timebase":{"oneOf":[{"type":"string","title":"Timebase","description":"How time is represented in the media file","example":"1/25","uniqueKey":"output_files.oneOf.0.additionalProperties.timebase.oneOf.0","typeLabel":"string"},{"type":"null","title":"Timebase","description":"How time is represented in the media file","example":"1/25","uniqueKey":"output_files.oneOf.0.additionalProperties.timebase.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.timebase","typeLabel":"string | null"},"pixel_format":{"oneOf":[{"type":"string","title":"Pixel Format","description":"How the pixel data is stored in the media file","example":"yuv420p","uniqueKey":"output_files.oneOf.0.additionalProperties.pixel_format.oneOf.0","typeLabel":"string"},{"type":"null","title":"Pixel Format","description":"How the pixel data is stored in the media file","example":"yuv420p","uniqueKey":"output_files.oneOf.0.additionalProperties.pixel_format.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.pixel_format","typeLabel":"string | null"},"mime_type":{"oneOf":[{"type":"string","title":"Mime Type","description":"MIME type of the media file","example":"video/mp4","uniqueKey":"output_files.oneOf.0.additionalProperties.mime_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Mime Type","description":"MIME type of the media file","example":"video/mp4","uniqueKey":"output_files.oneOf.0.additionalProperties.mime_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.mime_type","typeLabel":"string | null"},"frame_rate":{"oneOf":[{"type":"number","title":"Frame Rate","description":"Frame rate of the video in frames per second","example":30,"uniqueKey":"output_files.oneOf.0.additionalProperties.frame_rate.oneOf.0","typeLabel":"number"},{"type":"null","title":"Frame Rate","description":"Frame rate of the video in frames per second","example":30,"uniqueKey":"output_files.oneOf.0.additionalProperties.frame_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.frame_rate","typeLabel":"number | null"},"bitrate_video_kb":{"oneOf":[{"type":"number","title":"Bitrate Video Kb","description":"Video bitrate in kilobits per second","example":4000,"uniqueKey":"output_files.oneOf.0.additionalProperties.bitrate_video_kb.oneOf.0","typeLabel":"number"},{"type":"null","title":"Bitrate Video Kb","description":"Video bitrate in kilobits per second","example":4000,"uniqueKey":"output_files.oneOf.0.additionalProperties.bitrate_video_kb.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.bitrate_video_kb","typeLabel":"number | null"},"bitrate_audio_kb":{"oneOf":[{"type":"number","title":"Bitrate Audio Kb","description":"Audio bitrate in kilobits per second","example":128,"uniqueKey":"output_files.oneOf.0.additionalProperties.bitrate_audio_kb.oneOf.0","typeLabel":"number"},{"type":"null","title":"Bitrate Audio Kb","description":"Audio bitrate in kilobits per second","example":128,"uniqueKey":"output_files.oneOf.0.additionalProperties.bitrate_audio_kb.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.bitrate_audio_kb","typeLabel":"number | null"},"video_profile_level":{"oneOf":[{"type":"string","title":"Video Profile Level","description":"Video profile level","example":"main","uniqueKey":"output_files.oneOf.0.additionalProperties.video_profile_level.oneOf.0","typeLabel":"string"},{"type":"null","title":"Video Profile Level","description":"Video profile level","example":"main","uniqueKey":"output_files.oneOf.0.additionalProperties.video_profile_level.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.video_profile_level","typeLabel":"string | null"},"is_varying_frame_rate":{"oneOf":[{"type":"boolean","title":"Is Varying Frame Rate","description":"Whether the video has a variable frame rate","example":false,"uniqueKey":"output_files.oneOf.0.additionalProperties.is_varying_frame_rate.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Is Varying Frame Rate","description":"Whether the video has a variable frame rate","example":false,"uniqueKey":"output_files.oneOf.0.additionalProperties.is_varying_frame_rate.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files.oneOf.0.additionalProperties.is_varying_frame_rate","typeLabel":"boolean | null"}},"type":"object","required":["file_id"],"title":"RendiStoredFile","description":"Represents a file stored by rendi. Could either be an uploaded file or a file generated by running a command.\n\nThis model contains metadata about files stored in rendi storage, including file details,\nmedia information, and storage location.","example":{"bitrate_audio_kb":128,"bitrate_video_kb":4000,"codec":"h264","duration":30,"environment_name":"main","file_format":"mp4","file_id":"987fcdeb-a89b-43d3-b456-789012345678","file_type":"video","frame_rate":30,"height":1080,"is_deleted":false,"is_varying_frame_rate":false,"mime_type":"video/mp4","original_file_url":"https://storage.rendi.dev/sample/big_buck_bunny_720p_5sec_intro.mp4","pixel_format":"yuv420p","rendi_store_type":"STORED_FILE","size_mbytes":2.27,"status":"STORED","storage_url":"https://storage.rendi.dev/files/224ea098-5c10-419b-8a77-707d89443c56/987fcdeb-a89b-43d3-b456-789012345678/output.mp4","timebase":"1/25","video_profile_level":"main","width":1920},"uniqueKey":"output_files.oneOf.0.additionalProperties","typeLabel":"RendiStoredFile · object"},"uniqueKey":"output_files.oneOf.0","typeLabel":"Output Files · object"},{"type":"null","title":"Output Files","description":"Dictionary mapping file aliases to their output file storage, for output folder, the key is 'OUTPUT_FOLDER'","example":{"out_1":{"bitrate_audio_kb":242.349609375,"bitrate_video_kb":370.5654296875,"codec":"h264","duration":30,"file_format":"mp4","file_id":"f775b15d-67e9-4235-b89f-4bb33c0a5f57","file_type":"video","frame_rate":24,"height":320,"is_deleted":false,"is_private":false,"is_varying_frame_rate":false,"mime_type":"video/mp4","pixel_format":"yuv420p","size_mbytes":2.2677812576293945,"storage_url":"https://storage.rendi.dev/files/224ea098-5c10-419b-8a77-707d89443c56/42c95292-d953-4b5a-8a58-cf1513363a33/output_320p.mp4","timebase":"1/25","width":568},"out_2":{"bitrate_audio_kb":239.9833984375,"bitrate_video_kb":160.955078125,"codec":"h264","duration":596.459,"file_format":"mp4","file_id":"9df00eca-3221-49c6-8a64-07850c9a5921","file_type":"video","frame_rate":24,"height":180,"is_deleted":false,"is_private":false,"is_varying_frame_rate":false,"mime_type":"video/mp4","pixel_format":"yuv420p","size_mbytes":29.620187759399414,"storage_url":"https://storage.rendi.dev/files/224ea098-5c10-419b-8a77-707d89443c56/42c95292-d953-4b5a-8a58-cf1513363a33/output_180p.mp4","timebase":"1/25","width":320}},"uniqueKey":"output_files.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_files","typeLabel":"Output Files · object | null"},"processing_quota_used":{"oneOf":[{"type":"number","title":"Processing Quota Used","description":"Amount of processing quota used in MB","minimum":0,"example":12.5,"uniqueKey":"processing_quota_used.oneOf.0","typeLabel":"number"},{"type":"null","title":"Processing Quota Used","description":"Amount of processing quota used in MB","example":12.5,"uniqueKey":"processing_quota_used.oneOf.1","typeLabel":"null"}],"uniqueKey":"processing_quota_used","typeLabel":"number | null"},"metadata":{"oneOf":[{"type":"object","title":"Metadata","description":"Metadata stored with the command, used for custom tracking and reporting","maxProperties":10,"minProperties":0,"example":{"key":"value"},"additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.1","typeLabel":"integer"},{"type":"number","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.3","typeLabel":"boolean"}],"uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string | integer | number | boolean"},"uniqueKey":"metadata.oneOf.0","typeLabel":"Metadata · object"},{"type":"null","title":"Metadata","description":"Metadata stored with the command, used for custom tracking and reporting","example":{"key":"value"},"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"Metadata · object | null"}},"type":"object","required":["command_id","environment_name","status","command_type","original_request"],"title":"CommandStatusResponse","description":"Response model for FFmpeg command status.\n\nContains information about the command execution status, any errors that occurred,\noutput files generated, and the original request details.","example":{"command_id":"123e4567-e89b-12d3-a456-426614174000","command_type":"FFMPEG_COMMAND","environment_name":"main","ffmpeg_command_run_seconds":19.58051347732544,"metadata":{"key":"value"},"original_request":{"ffmpeg_command":"-i {{in_1}} -ss 00:00 -to 00:30 -filter_complex \"[0:v]split=2[vid1][vid2];[vid1]scale=trunc(oh*a/2)*2:320:force_original_aspect_ratio=decrease,pad=trunc(oh*a/2)*2:320:-1:-1[320p];[vid2]scale=trunc(oh*a/2)*2:180:force_original_aspect_ratio=decrease,pad=trunc(oh*a/2)*2:180:-1:-1[180p]\" -map [320p] -map 0:a -c:a copy -c:v libx264 -preset medium {{out_1}} -map [180p] -map 0:a -c:a copy -c:v libx264 -preset medium {{out_2}}","input_files":{"in_1":"https://storage.rendi.dev/sample/sample.avi"},"max_command_run_seconds":300,"output_files":{"out_1":"output_320p.mp4","out_2":"output_180p.mp4"},"vcpu_count":8},"output_files":{"out_1":{"bitrate_audio_kb":242.349609375,"bitrate_video_kb":370.5654296875,"codec":"h264","duration":30,"file_format":"mp4","file_id":"f775b15d-67e9-4235-b89f-4bb33c0a5f57","file_type":"video","frame_rate":24,"height":320,"is_varying_frame_rate":false,"mime_type":"video/mp4","pixel_format":"yuv420p","size_mbytes":2.2677812576293945,"storage_url":"https://storage.rendi.dev/files/224ea098-5c10-419b-8a77-707d89443c56/42c95292-d953-4b5a-8a58-cf1513363a33/output_320p.mp4","timebase":"1/25","width":568},"out_2":{"bitrate_audio_kb":239.9833984375,"bitrate_video_kb":160.955078125,"codec":"h264","duration":596.459,"file_format":"mp4","file_id":"9df00eca-3221-49c6-8a64-07850c9a5921","file_type":"video","frame_rate":24,"height":180,"is_varying_frame_rate":false,"mime_type":"video/mp4","pixel_format":"yuv420p","size_mbytes":29.620187759399414,"storage_url":"https://storage.rendi.dev/files/224ea098-5c10-419b-8a77-707d89443c56/42c95292-d953-4b5a-8a58-cf1513363a33/output_180p.mp4","timebase":"1/25","width":320}},"processing_quota_used":12.5,"queued_seconds":0.42,"status":"SUCCESS","total_processing_seconds":24.955581,"vcpu_count":8},"uniqueKey":"","typeLabel":"CommandStatusResponse · object"},"examples":{"Example":{"title":"Example","value":{"command_id":"123e4567-e89b-12d3-a456-426614174000","command_type":"FFMPEG_COMMAND","environment_name":"main","ffmpeg_command_run_seconds":19.58051347732544,"metadata":{"key":"value"},"original_request":{"ffmpeg_command":"-i {{in_1}} -ss 00:00 -to 00:30 -filter_complex \"[0:v]split=2[vid1][vid2];[vid1]scale=trunc(oh*a/2)*2:320:force_original_aspect_ratio=decrease,pad=trunc(oh*a/2)*2:320:-1:-1[320p];[vid2]scale=trunc(oh*a/2)*2:180:force_original_aspect_ratio=decrease,pad=trunc(oh*a/2)*2:180:-1:-1[180p]\" -map [320p] -map 0:a -c:a copy -c:v libx264 -preset medium {{out_1}} -map [180p] -map 0:a -c:a copy -c:v libx264 -preset medium {{out_2}}","input_files":{"in_1":"https://storage.rendi.dev/sample/sample.avi"},"max_command_run_seconds":300,"output_files":{"out_1":"output_320p.mp4","out_2":"output_180p.mp4"},"vcpu_count":8},"output_files":{"out_1":{"bitrate_audio_kb":242.349609375,"bitrate_video_kb":370.5654296875,"codec":"h264","duration":30,"file_format":"mp4","file_id":"f775b15d-67e9-4235-b89f-4bb33c0a5f57","file_type":"video","frame_rate":24,"height":320,"is_varying_frame_rate":false,"mime_type":"video/mp4","pixel_format":"yuv420p","size_mbytes":2.2677812576293945,"storage_url":"https://storage.rendi.dev/files/224ea098-5c10-419b-8a77-707d89443c56/42c95292-d953-4b5a-8a58-cf1513363a33/output_320p.mp4","timebase":"1/25","width":568},"out_2":{"bitrate_audio_kb":239.9833984375,"bitrate_video_kb":160.955078125,"codec":"h264","duration":596.459,"file_format":"mp4","file_id":"9df00eca-3221-49c6-8a64-07850c9a5921","file_type":"video","frame_rate":24,"height":180,"is_varying_frame_rate":false,"mime_type":"video/mp4","pixel_format":"yuv420p","size_mbytes":29.620187759399414,"storage_url":"https://storage.rendi.dev/files/224ea098-5c10-419b-8a77-707d89443c56/42c95292-d953-4b5a-8a58-cf1513363a33/output_180p.mp4","timebase":"1/25","width":320}},"processing_quota_used":12.5,"queued_seconds":0.42,"status":"SUCCESS","total_processing_seconds":24.955581,"vcpu_count":8}}},"exampleType":"generated"}},"exampleType":"generated"},"197d3a3c-9d8f-4231-8285-b8b579db8377":{"description":"Invalid API key","content":{"application/json":{"example":{"detail":"Invalid authorization key"},"examples":{"Example":{"title":"Example","value":{"detail":"Invalid authorization key"}}},"exampleType":"examples"}},"exampleType":"examples"},"a891e31b-6a7b-44eb-b88b-8de8f0be86ec":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"161fec33-cf5b-4a25-a7c8-33ab8649efe4":{"description":"Rate limit exceeded","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"1cb9c2a3-cbfe-4044-9304-bc59714a85e0":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-KEY","scopes":[],"schemeName":"APIKeyHeader"}}},"servers":{"d582982c-db85-4362-982a-9f76c7a080f9":{"url":"https://api.rendi.dev","description":"Rendi - FFmpeg API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","scopes":[],"schemeName":"APIKeyHeader"},"schema":{"title":"X-API-KEY","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"X-API-KEY"}],"title":"APIKeyHeader"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"rendi","siteName":"Rendi - FFmpeg API","title":"Poll FFmpeg Command - Rendi - FFmpeg API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-08-18T12:01:33.591Z","originalFileLocation":"api-reference/endpoint/poll-command.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get the status of a previously submitted FFmpeg command. Works for regular commands and chained commands.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rendi - FFmpeg API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/rendi/yMbVXDfCy7ERSCJP/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/rendi/yMbVXDfCy7ERSCJP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/rendi/yMbVXDfCy7ERSCJP/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/rendi/yMbVXDfCy7ERSCJP/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/rendi/yMbVXDfCy7ERSCJP/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/rendi/yMbVXDfCy7ERSCJP/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/rendi/yMbVXDfCy7ERSCJP/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/rendi/yMbVXDfCy7ERSCJP/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/rendi/yMbVXDfCy7ERSCJP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Poll FFmpeg Command - Rendi - FFmpeg API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn how to run FFmpeg online easily using Rendi’s FFmpeg API - no installation needed. Fast, scalable, and reliable FFmpeg as a Service.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rendi - FFmpeg API - Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://rendi.dev/docs/api-reference/endpoint/poll-command\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rendi.mintlify.site/docs/_mintlify/api/og/v2?division=Listing+Assets\u0026amp;title=Poll+FFmpeg+Command\u0026amp;description=Get+the+status+of+a+previously+submitted+FFmpeg+command.+Works+for+regular+commands+and+chained+commands.\u0026amp;theme=20f28108fb429c5ee8009a96\u0026amp;signature=1f118295bc52bda0b40fa33583951ec77cfed97177e1e1fb147592af58aaca48\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Poll FFmpeg Command - Rendi - FFmpeg API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn how to run FFmpeg online easily - no installation needed. Fast, scalable, and reliable FFmpeg as a Service.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rendi.mintlify.site/docs/_mintlify/api/og/v2?division=Listing+Assets\u0026amp;title=Poll+FFmpeg+Command\u0026amp;description=Get+the+status+of+a+previously+submitted+FFmpeg+command.+Works+for+regular+commands+and+chained+commands.\u0026amp;theme=20f28108fb429c5ee8009a96\u0026amp;signature=1f118295bc52bda0b40fa33583951ec77cfed97177e1e1fb147592af58aaca48\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/rendi/yMbVXDfCy7ERSCJP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rendi - FFmpeg API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6BB666\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"og:logo\" content=\"/logo/rendi_logo.svg\">\u003clink data-mint-head rel=\"canonical\" href=\"https://rendi.dev/docs/api-reference/endpoint/poll-command\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/endpoint/poll-command.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://rendi.dev/#organization\",\"name\":\"Rendi - FFmpeg API\",\"url\":\"https://rendi.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rendi/UkCjje3cRpAu-Pzn/logo/rendi_light.svg?fit=max\u0026auto=format\u0026n=UkCjje3cRpAu-Pzn\u0026q=85\u0026s=9221ec14a8479069fb9656f72cb52c3c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://rendi.dev/docs#website\",\"name\":\"Rendi - FFmpeg API\",\"url\":\"https://rendi.dev/docs\",\"publisher\":{\"@id\":\"https://rendi.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://rendi.dev/docs/api-reference/endpoint/poll-command#webpage\",\"url\":\"https://rendi.dev/docs/api-reference/endpoint/poll-command\",\"name\":\"Poll FFmpeg Command\",\"description\":\"Get the status of a previously submitted FFmpeg command. Works for regular commands and chained commands.\",\"dateModified\":\"2025-08-18T12:01:33.591Z\",\"isPartOf\":{\"@id\":\"https://rendi.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://rendi.dev/docs/api-reference/endpoint/poll-command#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://rendi.dev/docs/api-reference/endpoint/poll-command#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Rendi - FFmpeg API\",\"item\":\"https://rendi.dev/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Poll FFmpeg Command\",\"item\":\"https://rendi.dev/docs/api-reference/endpoint/poll-command\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://rendi.dev/docs/api-reference/endpoint/poll-command#apireference\",\"headline\":\"Poll FFmpeg Command\",\"name\":\"Poll FFmpeg Command\",\"description\":\"Get the status of a previously submitted FFmpeg command. Works for regular commands and chained commands.\",\"url\":\"https://rendi.dev/docs/api-reference/endpoint/poll-command\",\"mainEntityOfPage\":{\"@id\":\"https://rendi.dev/docs/api-reference/endpoint/poll-command#webpage\"},\"dateModified\":\"2025-08-18T12:01:33.591Z\",\"publisher\":{\"@id\":\"https://rendi.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://rendi.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rendi - FFmpeg API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Rendi - FFmpeg API","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/rendi-api/ffmpeg-cheatsheet"},{"anchor":"System Status","icon":"display-chart-up","href":"https://status.rendi.dev"},{"anchor":"YouTube","icon":"youtube","href":"https://youtube.com/playlist?list=PLJafqrbyIUfzM4MM6wKeN4qkwCviI3IHw\u0026si=VqyZiQMBqJrbrngc"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"group":"Running FFmpeg","pages":[{"title":"Run FFmpeg Command","openapi":"POST /v1/run-ffmpeg-command","href":"/api-reference/endpoint/run-ffmpeg-command"},{"title":"Run Chained FFmpeg Commands","openapi":"POST /v1/run-chained-ffmpeg-commands","description":"Submit multiple FFmpeg commands where following commands can depend on output of previous commands. Running chained FFmpeg commands is faster than running each command separately because we re-use system and network resources between the multiple ffmpeg commands. Processing quota is shared between the commands, and is more efficient than running each command separately.","href":"/api-reference/endpoint/run-chained-ffmpeg-commands"}]},{"group":"Listing Assets","pages":[{"title":"Poll FFmpeg Command","openapi":"GET /v1/commands/{command_id}","href":"/api-reference/endpoint/poll-command"},{"title":"List FFmpeg Commands","openapi":"GET /v1/commands","description":"Get the statuses of a previously submitted FFmpeg commands, ordered by creation time - descending.","href":"/api-reference/endpoint/list-commands"},{"title":"Get File","openapi":"GET /v1/files/{file_id}","href":"/api-reference/endpoint/get-file"},{"title":"List Stored Files","openapi":"GET /v1/files","href":"/api-reference/endpoint/list-files"}]},{"group":"File Storage","pages":[{"title":"FFprobe and store a file","openapi":"POST /v1/files/store-file","href":"/api-reference/endpoint/store-file"},{"title":"Initiate a Multipart Upload","openapi":"POST /v1/files/init-upload","href":"/api-reference/endpoint/init-upload"},{"title":"Complete a Multipart Upload","openapi":"POST /v1/files/{file_id}/complete-upload","href":"/api-reference/endpoint/complete-upload"},{"title":"Abort a Multipart Upload","openapi":"POST /v1/files/{file_id}/abort-upload","href":"/api-reference/endpoint/abort-upload"}]},{"group":"Deleting Assets","pages":[{"title":"Delete Command Files","openapi":"DELETE /v1/commands/{command_id}/files","href":"/api-reference/endpoint/delete-command-files"},{"title":"Delete File","openapi":"DELETE /v1/files/{file_id}","href":"/api-reference/endpoint/delete-file"},{"title":"Delete Files in Bulk","openapi":"POST /v1/files/bulk-delete","href":"/api-reference/endpoint/delete-files"}]}]}]},"basePath":"","title":"Poll FFmpeg Command - Rendi - FFmpeg API","buildId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","deploymentId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Do6EtGSl.js","utils-id4tQ6My.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-Byrixac4.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-nakYa3Zl.js","snippetPresets-Bq-pUS7h.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CujTC_9K.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-FneVUsVu.js","shallow-DY9WpUCz.js","getApiPlaygroundDisplay-Bz8WpPfA.js","CodeSnippet-DgCuJg4G.js","CodeSnippets-Dub9c4T0.js","Page-CePXnjd1.js","getPastedJson-xdI8y2XB.js","icon--yVw5vkr.js","MethodPill-C47t7MdS.js","DuplicateIcon-BzwJ2LeC.js","createIcon-BzggGy84.js","DynamicMarkdown-AlxJK8VR.js","SectionHeading-CMlwFxdK.js","axios-vUo_bRtp.js","Markdown-BNgNrPsi.js","clsx-apD-Q0Oo.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-qmLwQyWY.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Dc4qTkWx.js"]}