https://github.com/saravanabalagi/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
https://github.com/saravanabalagi/video-to-image-timestamp
ffmpeg ffprobe image-processing orb-slam2 timestamp video-to-images
Last synced: 2 months ago
JSON representation
A simple shell script to pulverise a video into PNGs neatly logged in a timestamp imagename txt file. Uses ffprobe and ffmpeg
- Host: GitHub
- URL: https://github.com/saravanabalagi/video-to-image-timestamp
- Owner: saravanabalagi
- License: gpl-3.0
- Created: 2019-07-18T17:23:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-18T17:33:33.000Z (almost 7 years ago)
- Last Synced: 2025-05-26T20:46:44.935Z (about 1 year ago)
- Topics: ffmpeg, ffprobe, image-processing, orb-slam2, timestamp, video-to-images
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# video-to-image
A simple shell script to pulverise a video into PNGs which can then be used in slam systems like [ORB SLAM](https://github.com/raulmur/ORB_SLAM2). 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
1. ffmpeg
## Usage
Place your video file in the same place as [video_processor](video_processor.sh) script and then execute in your terminal
```sh
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](LICENSE) file