🎥 Make videos programmatically with React
update SDKS
Jonny Burger8a4b637d4c87
diff --git a/packages/lambda-go/internalops.go b/packages/lambda-go/internalops.goindex 87442cc4d4..2cac283f54 100644--- a/packages/lambda-go/internalops.go+++ b/packages/lambda-go/internalops.go@@ -69,6 +69,11 @@ func constructRenderInternals(options *RemotionOptions) (*renderInternalOptions,} else {internalParams.Privacy = options.Privacy}+ if options.ColorSpace == "" {+ internalParams.ColorSpace = "default"+ } else {+ internalParams.ColorSpace = options.ColorSpace+ }if options.LogLevel == "" {internalParams.LogLevel = "info"} else {diff --git a/packages/lambda-go/models.go b/packages/lambda-go/models.goindex 75232bfd20..d19692539d 100644--- a/packages/lambda-go/models.go+++ b/packages/lambda-go/models.go@@ -14,6 +14,7 @@ type RemotionOptions struct {Quality int `json:"quality"`MaxRetries int `json:"maxRetries"`Privacy string `json:"privacy"`+ ColorSpace string `json:"colorSpace"`LogLevel string `json:"logLevel"`FrameRange interface{} `json:"frameRange"`OutName interface{} `json:"outName"`@@ -53,6 +54,7 @@ type renderInternalOptions struct {Quality int `json:"quality,omitempty"`MaxRetries int `json:"maxRetries"`Privacy string `json:"privacy"`+ ColorSpace string `json:"colorSpace"`LogLevel string `json:"logLevel"`FrameRange interface{} `json:"frameRange"`OutName interface{} `json:"outName"`diff --git a/packages/lambda-php/src/RenderParams.php b/packages/lambda-php/src/RenderParams.phpindex 684da69cbc..3bf6836c94 100644--- a/packages/lambda-php/src/RenderParams.php+++ b/packages/lambda-php/src/RenderParams.php@@ -48,6 +48,7 @@ class RenderParamsprivate $quality = null;private $maxRetries = 1;private $privacy = 'private';+ private $colorSpace = 'default';private $logLevel = 'info';private $frameRange = null;private $timeoutInMilliseconds = 30000;@@ -84,6 +85,7 @@ class RenderParams?int $quality = null,int $maxRetries = 1,string $privacy = 'public',+ string $colorSpace = 'default',string $logLevel = 'info',?string $frameRange = null,?string $outName = null,@@ -120,6 +122,7 @@ class RenderParams$this->quality = $quality;$this->maxRetries = $maxRetries;$this->privacy = $privacy;+ $this->colorSpace = $colorSpace;$this->logLevel = $logLevel;$this->frameRange = $frameRange;$this->outName = $outName;@@ -159,6 +162,7 @@ class RenderParams'imageFormat' => $this->getImageFormat(),'maxRetries' => $this->getMaxRetries(),'privacy' => $this->getPrivacy(),+ 'colorSpace' => $this->getColorSpace(),'logLevel' => $this->getLogLevel(),'frameRange' => $this->getFrameRange(),'outName' => $this->getOutName(),@@ -483,6 +487,26 @@ class RenderParamsreturn $this;}+ /**+ * Get the value of colorspace+ */+ public function getColorSpace()+ {+ return $this->colorSpace;+ }++ /**+ * Set the value of colorSpace+ *+ * @return self+ */+ public function setColorSpace($colorSpace)+ {+ $this->colorSpace = $colorSpace;++ return $this;+ }+/*** Get the value of logLevel*/diff --git a/packages/lambda-python/remotion_lambda/models.py b/packages/lambda-python/remotion_lambda/models.pyindex e18dd8e449..6c8e7752e6 100644--- a/packages/lambda-python/remotion_lambda/models.py+++ b/packages/lambda-python/remotion_lambda/models.py@@ -27,6 +27,7 @@ class RenderParams:quality: Optional[int] = Nonemax_retries: int = 1privacy: str = 'public'+ color_space: str = 'default'log_level: str = 'info'frame_range: Optional[str] = Nonetimeout_in_milliseconds: Optional[int] = 30000@@ -65,6 +66,7 @@ class RenderParams:'imageFormat': self.image_format,'maxRetries': self.max_retries,'privacy': self.privacy,+ 'colorSpace': self.color_space,'logLevel': self.log_level,'frameRange': self.frame_range,'outName': self.out_name,