Skip to content

Commit

Permalink
docs(samples): remove restriction of JPEGs only for overlay images (#299
Browse files Browse the repository at this point in the history
)
  • Loading branch information
irataxy authored Apr 12, 2023
1 parent dd37186 commit 7b08d18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions video/transcoder/create_job_with_animated_overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions video/transcoder/create_job_with_static_overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 7b08d18

Please sign in to comment.