A simple shell script to pulverise a video into PNGs which can then be used in slam systems like ORB SLAM. This also creates a .txt
file with timestamp and filename of each file in separate lines similar to that of TUMs rgb.txt
1305031102.175304 rgb/1305031102.175304.png
1305031102.211214 rgb/1305031102.211214.png
1305031102.243211 rgb/1305031102.243211.png
1305031102.275326 rgb/1305031102.275326.png
1305031102.311267 rgb/1305031102.311267.png
- ffprobe
- ffmpeg
Place your video file in the same place as video_processor script and then execute in your terminal
sh video_processor.sh your_video_file
These options can be configured interactively once the script is executing:
- Output folder name
- Resize
- Rotate
- Specify fps
Please see the license file