External Files

In Pixeltable, all media data (videos, images, audio) resides in external files, and Pixeltable stores references to those.

Tutorials · Notebook · Updated

Colab runs it in your browser. If it calls a model provider, it asks for that provider's API key in a cell.

What it uses

Install
terminal
pip install pixeltable
Pixeltable calls
pxt.create_table()@pxt.udfinsert()

A look at the code

external-files.ipynb
v = pxt.create_table('external_data/videos', {'video': pxt.Video})
prefix = 's3://multimedia-commons/'
paths = [
'data/videos/mp4/ffe/ffb/ffeffbef41bbc269810b2a1a888de.mp4',
'data/videos/mp4/ffe/feb/ffefebb41485539f964760e6115fbc44.mp4',
'data/videos/mp4/ffe/f73/ffef7384d698b5f70d411c696247169.mp4',
]
v.insert({'video': prefix + p} for p in paths)

One cell of the notebook, copied as it is. Open it in Colab for the rest.

Browse all 103
  • 10-Minute Tour

    Welcome to Pixeltable! In this tutorial, we'll survey how to create tables, populate them with data, and enhance them with built-in and user-defined transformations and AI operations.

    Updated Open in Colab
  • Computed Columns

    This guide introduces one of Pixeltable's most essential and powerful concepts: computed columns.

    Updated Open in Colab