A screenshot extractor tool written in GO lang. The script automates the process of extracting multiple screenshots from a video file at specified intervals using ffmpeg.
To install the tool, you need to have Go installed on your system. Additionally, the tool depends on ffmpeg
, which must be installed separately.
Follow the instructions on the official Go website to install Go on your system.
Or simply use Homebrew on macOS:
brew install go
You can install ffmpeg
using Homebrew on macOS:
brew install ffmpeg
Once you have Go and ffmpeg
installed, you can install ScreenshoteXTraGtor using the following commands:
go install github.com/jjuris/sxtg
To verify the installation, you can run:
sxtg
To use the tool, run the following command:
sxtg -i example.mp4 -o screenshots -c 5 -t 10
This command will extract 5 screenshots from example.mp4
at 10-second intervals and save them in the screenshots
directory.