Extract frames from videos
Pull frames from video files at specified intervals for analysis, thumbnails, or training data.
Turn a collection of images into an animated video with Ken Burns effects, text overlays, logos, and background music — using a fully declarative Pixeltable pipeline.
Video · 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.
The key insight: store per-clip metadata (caption text, pan direction, logo) as table columns. One chained computed column expression handles the entire pipeline, and Pixeltable evaluates it per row.
pip install pixeltable
video.concat_videos_agg()video.with_audio()pxt.create_table()insert()add_computed_column()group_by()MUSIC_URL = 'https://raw.githubusercontent.com/pixeltable/pixeltable/main/docs/resources/sample-background-music.m4a'final = pxt.create_table('slideshow_demo/final', {'video': pxt.Video, 'music': pxt.Audio})final.insert([{'video': video_path, 'music': MUSIC_URL}])final.add_computed_column(out=with_audio(final.video, final.music))final.select(final.out).collect()
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Pull frames from video files at specified intervals for analysis, thumbnails, or training data.
Detect objects in a video frame by frame: Pixeltable extracts the frames, runs YOLOX models on them and reassembles the frames into a video. Compare detection models and evaluate them against ground truth.
Automatically find scene cuts, transitions, and fades in video files.
Automatically create preview thumbnails from video files at specific timestamps or intervals.