https://github.com/dbeley/extract_distinct_frames
Extract distinct frames/images from a video file or a youtube video
https://github.com/dbeley/extract_distinct_frames
Last synced: about 1 month ago
JSON representation
Extract distinct frames/images from a video file or a youtube video
- Host: GitHub
- URL: https://github.com/dbeley/extract_distinct_frames
- Owner: dbeley
- License: mit
- Created: 2019-02-19T13:33:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-20T12:33:27.000Z (about 2 years ago)
- Last Synced: 2025-01-10T10:46:07.172Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 76.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# extract_distinct_frames
This script allows the extraction of the distinct frames/images from a video file or a youtube url (with the help of yt-dlp).
The script creates a folder and a pdf file, both containing all the distinct images found.
## Prerequisites
- img2pdf
- tqdm
- pillow
- yt-dlp
- ffmpeg
## Installation in a virtualenv
```
pipenv install '-e .'
```
## Usage
```
extract_distinct_frames -u URL
```
## Help
```
extract_distinct_frames -h
```
```
usage: extract_distinct_frames [-h] [--debug] [-f FILE] [-u URL]
Extract unique images from videos
optional arguments:
-h, --help show this help message and exit
--debug Display debugging information
-f FILE, --file FILE Video file
-u URL, --url URL URL of the video
```