Closed cstenkamp closed 3 years ago
I've addressed these points now I think. There were also some style + typing problems which can be checked by running ./run_checks.sh
. You can make sure they're always checked by installing the pre-commit hook pip install --user pre-commit && pre-commit install
P.S. I moved the ffprobe option to the top level since multiple subcommands need it.
Thinking about this again, was the problem that your opencv was not linked against ffmpeg? If it's linked against ffmpeg I think it has the same information as ffprobe. Not linking against ffmpeg might cause problems too, e.g. slow playback + less formats supported.
Looks good to me! What was the problem with OpenCV's FPS? Can you tell me when it does/doesn't work versus ffprobe?
A few comments which if you agree you can just fix straight onto master (I've invited you as a collaborator to this repo but I don't think you accepted yet) --- or ignore if you have other priorities: