Python

LATEST ARTICLES

Keys

Tutorials · 2 min read

When your token expires, hit refresh and protect your API key

Use refresh tokens to avoid exposing your api credentials when your access token expires.

Erikka Innes · April 21, 2021

Photo by Fausto Marqués on Unsplash

Tutorials · 3 min read

Choose a thumbnail with api.video's pick a thumbnail endpoint

Learn how to use api.videos pick a thumbnail endpoint to choose a thumbnail to display without having to upload an image separately. Also includes where to find the video duration.

Erikka Innes · April 13, 2021

pichart of operating systems

Tutorials · 3 min read

api.video Analytics: Create a pie chart showing what operating system is most popular to view

Using D3, Observable, and Python, we'll create a pie chart showing what operating system is most popular to view video content with.

Erikka Innes · April 12, 2021

Live stream with FFMpeg cli and Python

Tutorials · 8 min read

Live stream to the browser with FFMPEG CLI and Python

Learn how to set up ffmpeg and run a live stream using your Mac's web camera. Once we've got that working, we'll set up the command in a python script and after that, the sky's the limit!

Erikka Innes · March 4, 2021

river

No-code · 9 min read

Live stream with OBS and api.video

Using OBS, we'll set up a live stream, connect it to api.video, and live stream to the browser!

Erikka Innes · February 23, 2021

Netflix Screenshot

Video trends · 3 min read

Python and Java, the preferred programming languages of Netflix

Does Netflix use Python or Java to build its content delivery and recommendation system? The answer may surprise you.

Erikka Innes · May 11, 2021

Extract Frames

Tutorials · 2 min read

Extract a set of frames from a video with FFMPEG and Python

Extract a set of images (frames) from your video that are evenly spaced throughout using FFMPEG and Python. If you want, at the end you can stitch the frames back together into a video that can be used as a video preview or trailer.

Erikka Innes · April 22, 2021

Tutorials · 2 min read

Progressive uploads with the api.video Python client

Learn how to do a progressive video upload using the Python client and api.video.

Erikka Innes · December 15, 2021

Upload a video to api.video using a public URL

Tutorials · 6 min read

Upload a video to api.video using a public URL

Video upload with the api.video API. Move a video from a public URL to api.video using Python.

Erikka Innes · February 8, 2021

live stream, captivating thumbnail, upload a thumbnail

Tutorials · 4 min read

How to add a thumbnail to your live stream

Learn how to add a thumbnail to your live stream using the api.video API and Python!

Erikka Innes · March 17, 2021