This script is a major dataset helper for loras, checkpoints, etc.!
Provide any youtube (many other sites also work!) URL OR local video file, and it will automatically extract the highest-available-quality screenshots, auto filter for aesthetics, and more!
Full details: https://github.com/EnragedAntelope/youtube-screenshot-extractor
Features:
Simple startup .bat/scripts for Windows, Mac, and Linux!
Easy to use GUI front-end!
Download YouTube and other videos using yt-dlp
Process local video files
Multiple frame extraction methods:
Interval-based extraction
All frames extraction
Keyframe extraction
Scene detection
Quality assessment of frames
Blur detection
Automatic removal of black bars
Basic watermark detection
Parallel processing for faster execution
GPU acceleration (if available)
Resume interrupted extractions
Generate thumbnail montages
Customizable output options (JPG or PNG)
Detailed logging and dry-run option
Load settings from a configuration file
Post-processing filters:
Gradfun (reduce color banding, less aggressive)
Deblock (reduce compression artifacts)
Deband (reduce color banding, more aggressive)
Description
Initial version. See all details at https://github.com/EnragedAntelope/youtube-screenshot-extractor .
FAQ
Comments (9)
This is awesome!
Thanks, so glad you find it helpful!
Thank you so much for the tip! I almost have a massive V2 functionality update...
@EnragedAntelope How can it get better? Can't wait. Thanks for your contributions to the community.
@Suppressor Thanks so much! Check it out, available now. TONS of options, totally flexible!
@EnragedAntelope Wow, the newer version is way more flexible. Really appreciate the work you are doing, thank you.
on windows you need to make a venv
python -m venv venv
then activate venv
then install requirements
Thank you. Yes this is a good practice for sure!
For those unfamiliar with python, activating venv is done 'venv\Scripts\activate' once you've done the 'python -m venv venv' command.

