From fb5db7a8f96425225b32766d6b3d40d1cc01d3c3 Mon Sep 17 00:00:00 2001 From: Nick Cook Date: Tue, 11 Apr 2023 15:32:38 -0700 Subject: [PATCH] docs: remove restriction of JPEGs only for overlay images --- samples/snippets/create_job_with_animated_overlay.py | 4 ++-- samples/snippets/create_job_with_static_overlay.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/snippets/create_job_with_animated_overlay.py b/samples/snippets/create_job_with_animated_overlay.py index a3f3cbb..52940e8 100644 --- a/samples/snippets/create_job_with_animated_overlay.py +++ b/samples/snippets/create_job_with_animated_overlay.py @@ -40,7 +40,7 @@ def create_job_with_animated_overlay( project_id: The GCP project ID. location: The location to start the job in. input_uri: Uri of the video in the Cloud Storage bucket. - overlay_image_uri: Uri of the JPEG image for the overlay in the Cloud Storage bucket. Must be a JPEG. + overlay_image_uri: Uri of the image for the overlay in the Cloud Storage bucket. output_uri: Uri of the video output folder in the Cloud Storage bucket.""" client = TranscoderServiceClient() @@ -143,7 +143,7 @@ def create_job_with_animated_overlay( ) parser.add_argument( "--overlay_image_uri", - help="Uri of the overlay JPEG image in the Cloud Storage bucket. Must be a JPEG.", + help="Uri of the overlay image in the Cloud Storage bucket.", required=True, ) parser.add_argument( diff --git a/samples/snippets/create_job_with_static_overlay.py b/samples/snippets/create_job_with_static_overlay.py index 37ce26b..67839bb 100644 --- a/samples/snippets/create_job_with_static_overlay.py +++ b/samples/snippets/create_job_with_static_overlay.py @@ -40,7 +40,7 @@ def create_job_with_static_overlay( project_id: The GCP project ID. location: The location to start the job in. input_uri: Uri of the video in the Cloud Storage bucket. - overlay_image_uri: Uri of the JPEG image for the overlay in the Cloud Storage bucket. Must be a JPEG. + overlay_image_uri: Uri of the image for the overlay in the Cloud Storage bucket. output_uri: Uri of the video output folder in the Cloud Storage bucket.""" client = TranscoderServiceClient() @@ -131,7 +131,7 @@ def create_job_with_static_overlay( ) parser.add_argument( "--overlay_image_uri", - help="Uri of the overlay JPEG image in the Cloud Storage bucket. Must be a JPEG.", + help="Uri of the overlay image in the Cloud Storage bucket.", required=True, ) parser.add_argument(