you should install:
- pip install opencv-python
- pip install numpy
- pip install ffmpeg-python
python main.py -p "path to video" -r 5 -s ".png"
python main.py -d "dir/sub-dir of videos" -r 10 -s ".png" -v "mp4,avi,mov"
- -h, --help show this help message and exit
- -p PATH, --path PATH path of one video you want to convert
- -d DIR, --dir DIR directory of all videos you want to convert
- -r SAVE_RATE, --save_rate SAVE_RATE save every N frames only one image
- -s SAVE_EXTENSION, --save_extension SAVE_EXTENSION the extension of written images '.jpg' '.png' '.tif'
- -v EXTENSIONS, --extensions EXTENSIONS the extension of videos you want to convert, comma separated 'mp4,avi,mov'