Skip to content

Commit 7b08d18

Browse files
authored
docs(samples): remove restriction of JPEGs only for overlay images (#299)
1 parent dd37186 commit 7b08d18

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

video/transcoder/create_job_with_animated_overlay.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def create_job_with_animated_overlay(
4040
project_id: The GCP project ID.
4141
location: The location to start the job in.
4242
input_uri: Uri of the video in the Cloud Storage bucket.
43-
overlay_image_uri: Uri of the JPEG image for the overlay in the Cloud Storage bucket. Must be a JPEG.
43+
overlay_image_uri: Uri of the image for the overlay in the Cloud Storage bucket.
4444
output_uri: Uri of the video output folder in the Cloud Storage bucket."""
4545

4646
client = TranscoderServiceClient()
@@ -143,7 +143,7 @@ def create_job_with_animated_overlay(
143143
)
144144
parser.add_argument(
145145
"--overlay_image_uri",
146-
help="Uri of the overlay JPEG image in the Cloud Storage bucket. Must be a JPEG.",
146+
help="Uri of the overlay image in the Cloud Storage bucket.",
147147
required=True,
148148
)
149149
parser.add_argument(

video/transcoder/create_job_with_static_overlay.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def create_job_with_static_overlay(
4040
project_id: The GCP project ID.
4141
location: The location to start the job in.
4242
input_uri: Uri of the video in the Cloud Storage bucket.
43-
overlay_image_uri: Uri of the JPEG image for the overlay in the Cloud Storage bucket. Must be a JPEG.
43+
overlay_image_uri: Uri of the image for the overlay in the Cloud Storage bucket.
4444
output_uri: Uri of the video output folder in the Cloud Storage bucket."""
4545

4646
client = TranscoderServiceClient()
@@ -131,7 +131,7 @@ def create_job_with_static_overlay(
131131
)
132132
parser.add_argument(
133133
"--overlay_image_uri",
134-
help="Uri of the overlay JPEG image in the Cloud Storage bucket. Must be a JPEG.",
134+
help="Uri of the overlay image in the Cloud Storage bucket.",
135135
required=True,
136136
)
137137
parser.add_argument(

0 commit comments

Comments
 (0)