FFPyPlayer
lastmod 2026-11-10created 2020-06-123 edits
FFPyPlayer is a library that wraps the FFmpeg libraries with Cython so you can play and decode video and audio from Python. It is based on the playback logic of ffplay included in FFmpeg; with the MediaPlayer class you can open a file or stream and fetch frames one at a time or output audio through SDL, and it supports seeking, pausing, subtitles, and applying filters. It is also used as the video playback backend of Kivy, and is well suited to video processing applications that need frame-level access.
A cython implementation of an ffmpeg based player.