An open API service indexing awesome lists of open source software.

https://github.com/devhindo/chunk

reduce video length by removing similar frames in an elegant way
https://github.com/devhindo/chunk

c compression video-editing video-processing

Last synced: 5 months ago
JSON representation

reduce video length by removing similar frames in an elegant way

Awesome Lists containing this project

README

          

usage: reduce the length of videos buy ignoring repeated frames
syntax: chunk -p -o
example: chunk /home/user/Downloads/video.mp4 -p 90 -o /home/user/Downloads/output.mp4
flags:
-p, --percentage: similarity percentage to ignore repeated frames (default: 90)
-o, --output: output path (default: same directory as input file)
-h, --help: display help
example: chunk /home/user/Downloads/video.mp4 -p 80 -o /home/user/Downloads/output.mp4

algorithm:
1. read video file
2. extract frames
3. calculate similarity between frames
4. if frame similarity is greater than the given percentage, ignore the second frame
5. write the remaining frames to a new video file