Ffmpegcv
lastmod 2025-06-02created 2023-08-105 edits
The ffmpegcv is a ffmpeg backbone for open-cv like Video Reader and Writer
About
FFMPEGCV is an alternative to OPENCV for video read and write.
The ffmpegcv provide faster and powerful VideoCapture and VideoWriter to cv2 in python.
- The ffmpegcv is api compatible to open-cv
- The ffmpegcv can use GPU accelerate encoding and decoding.
- The ffmpegcv support much more video codecs v.s. open-cv.
- The ffmpegcv support RGB & BGR format as you like.
- The ffmpegcv can resize video to specific size with/without padding.
In all, ffmpegcv is just similar to opencv api. But is faster and with more codecs.
How it works
It runs ffmpeg on the command line and passes data through a PIPE.