a video frame extractor using ffmpeg for extracting frames to photos, made in Rust.
Save the script to a .rs file. Run cargo run (or compile it using cargo build) after ensuring that ffmpeg is installed and available in your system's PATH. The program will extract frames from the video at 1-second intervals and store them in the specified directory (frames in this example).