Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

docs(samples): remove restriction of JPEGs only for overlay images#299

Merged
parthea merged 1 commit intogoogleapis:mainfromirataxy:main
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletionssamples/snippets/create_job_with_animated_overlay.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 theJPEGimage 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 DownExpand Up@@ -143,7 +143,7 @@ def create_job_with_animated_overlay(
)
parser.add_argument(
"--overlay_image_uri",
help="Uri of the overlayJPEGimage 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 deletionssamples/snippets/create_job_with_static_overlay.py
View file
Open in desktop
Original file line numberDiff line numberDiff 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 theJPEGimage 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 DownExpand Up@@ -131,7 +131,7 @@ def create_job_with_static_overlay(
)
parser.add_argument(
"--overlay_image_uri",
help="Uri of the overlayJPEGimage 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

[8]ページ先頭

©2009-2025 Movatter.jp