← Back to Main Site

Frame Extractor Tool

One command. Enter URL, get frames & PDFs. Automated.

Your Command

What This Does (Automated)

Downloads the video automatically
Extracts frames at your specified fps
Creates a "frames" folder with all PNG frames
Converts frames to multi-page PDF(s)
Splits PDFs if size exceeds 25MB
Adds captions with source filename & timestamp
Creates an HTML viewer to see all frames
Opens the frames folder automatically

Download Script

Download extract_frames.py

Requirements

Install Requirements

ffmpeg: Download from https://ffmpeg.org/download.html
Python packages: pip install yt-dlp Pillow

Usage

1. Download the script
2. Install packages: pip install yt-dlp Pillow
3. Open terminal in the folder with the script
4. Run: python extract_frames.py "YOUR_VIDEO_URL"
5. Done! Frames folder opens automatically with PDFs

Supported URLs

YouTube: https://www.youtube.com/watch?v=VIDEO_ID
Direct files: https://example.com/video.mp4
Local files: C:\path\to\video.mp4

Output

PNG frames: frames/frame_0001.png, frame_0002.png, etc.
PDF files: video_part1.pdf, video_part2.pdf, etc.
HTML viewer: frames/viewer.html