Python

LATEST ARTICLES

Tutorials · 6 min read

Api.video Analytics: Add markers representing viewer density per city to a map with Observable

Learn how to add a circle representing live stream viewership per city on a map using api.video, Open Layers, and Observable.

Erikka Innes · April 11, 2021

Tutorials · 6 min read

Api.video Analytics: Build a Choropleth Map (and find out what one is)

Build a choropleth showing viewer density by country with Python and Observable!

Erikka Innes · April 8, 2021

Tutorials · 5 min read

Tips for working with api.video analytics data

Get some tips about data structure and working with api.video analytics data. Code samples are in Python but you can apply the information about the data structures to any other language you want to use.

Erikka Innes · March 31, 2021

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

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

No-code · 8 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

Tutorials · 6 min read

Delegated uploads for videos large and small

With delegated uploads, you can protect your API key and authentication tokens. Instead, you can authenticate with a delegated token where you can control how long it lasts and delete it if you no longer need it. This tutorial goes over everything you'll need to start trying delegated uploads!

Erikka Innes · February 12, 2021

Tutorials · 14 min read

Upload a big video file using Python

If you try to upload big files in Python, a common way to handle them is by breaking them into chunks. This tutorial will show you how to break your file into chunks and send the file for upload to api.video.

Erikka Innes · February 11, 2021

Tutorials · 8 min read

Upload a video from your computer with the api.video API (Python)

When you upload videos from your computer, you must use a two step process. First you create a container for your video, then you upload your video into your container. This code sample shows you how!

Erikka Innes · February 10, 2021

Tutorials · 5 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