Created by: nlgranger
This is only the code for the class, you can suggest how to turn this into a script if you have any idea to do so. Other requests to improve it are welcome of course.
The use case is people who want to avoid OpenCV which is quite big and tedious to install but still want to avoid loading complete videos when working on them. I think only PyAV offers that possibility but I find it low-level and difficult to use for this simple frame reading task. This wrapper should make it simpler for those interested.
Please double check the code if you plan to merge it, I am by no means an expert of ffmpeg.