PyAV Documentation

PyAV is a Pythonic binding for FFmpeg or Libav. We aim to provide all of the power and control of the underlying library, but manage the gritty details as much as possible.

Currently we provide the basics of:

Basic Demo

import av
import os

container =

for frame in container.decode(video=0):
    frame.to_image().save('frame-%04d.jpg' % frame.index)

Indices and Tables