Skip to content
Merged
Changes from all 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
16 changes: 8 additions & 8 deletions examples/Analyze_a_Video_Historic_Event_Recognition.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"source": [
"## Example\n",
"\n",
"This example uses [video of President Ronald Reagan's Speech at the Berlin Wall](https://s3.amazonaws.com/NARAprodstorage/opastorage/live/16/147/6014716/content/presidential-libraries/reagan/5730544/6-12-1987-439.mp4) taken on June 12 1987."
"This example uses a public domain [video of President Ronald Reagan's Speech at the Berlin Wall](https://storage.googleapis.com/generativeai-downloads/videos/President_Ronald_Reagans_Speech_at_the_Berlin_Wall_1987-06-12.mp4) from the National Archives and Records Administration (NARA) taken on June 12 1987."
]
},
{
Expand All @@ -121,24 +121,24 @@
"name": "stdout",
"output_type": "stream",
"text": [
"--2025-03-04 14:04:54-- https://s3.amazonaws.com/NARAprodstorage/opastorage/live/16/147/6014716/content/presidential-libraries/reagan/5730544/6-12-1987-439.mp4\n",
"Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.217.89.118, 52.217.64.198, 52.216.106.21, ...\n",
"Connecting to s3.amazonaws.com (s3.amazonaws.com)|52.217.89.118|:443... connected.\n",
"--2026-10-13 07:14:54-- https://storage.googleapis.com/generativeai-downloads/videos/President_Ronald_Reagans_Speech_at_the_Berlin_Wall_1987-06-12.mp4\n",
"Resolving storage.googleapis.com (storage.googleapis.com)... 142.250.185.219, 142.250.185.251, 142.250.186.27, ...\n",
"Connecting to storage.googleapis.com (storage.googleapis.com)|142.250.185.219|:443... connected.\n",
"HTTP request sent, awaiting response... 200 OK\n",
"Length: 628645171 (600M) [video/mp4]\n",
"Saving to: ‘berlin.mp4’\n",
"\n",
"berlin.mp4 100%[===================\u003e] 599.52M 41.0MB/s in 12s \n",
"berlin.mp4 100%[===================\u003e] 599.52M 48.2MB/s in 12s \n",
"\n",
"2025-03-04 14:05:07 (48.2 MB/s) - ‘berlin.mp4’ saved [628645171/628645171]\n",
"2026-10-13 07:15:06 (48.2 MB/s) - ‘berlin.mp4’ saved [628645171/628645171]\n",
"\n"
]
}
],
"source": [
"# Download video\n",
"path = \"berlin.mp4\"\n",
"url = \"https://s3.amazonaws.com/NARAprodstorage/opastorage/live/16/147/6014716/content/presidential-libraries/reagan/5730544/6-12-1987-439.mp4\"\n",
"url = \"https://storage.googleapis.com/generativeai-downloads/videos/President_Ronald_Reagans_Speech_at_the_Berlin_Wall_1987-06-12.mp4\"\n",
"!wget $url -O $path"
]
},
Expand Down Expand Up @@ -326,7 +326,7 @@
"id": "aBM_LtQLLJA9"
},
"source": [
"## Summary\n",
"## Next steps\n",
"\n",
"Now you know how you can prompt Gemini models with videos and use them to recognize historic events.\n",
"\n",
Expand Down
Loading