/video-to-image-timestamp

A simple shell script to pulverise a video into PNGs neatly logged in a timestamp imagename txt file. Uses ffprobe and ffmpeg

Primary LanguageShellGNU General Public License v3.0GPL-3.0

video-to-image

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

Dependencies

  1. ffprobe
  2. ffmpeg

Usage

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

Options:

These options can be configured interactively once the script is executing:

  1. Output folder name
  2. Resize
  3. Rotate
  4. Specify fps

License

Please see the license file