Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python3
import os
import sys
"""
This (pure!) python script streams a YUV4MPEG format video to stdout. It easily
runs at 1080p60fps on my machine.
Pipe it into a media player like this: