Videodigest is a command-line utility for generating summaries of videos by (1) applying an automatic summarization algorithm to their subtitles to find the N most important sentences, then (2) compiling the video regions where those sentences appear.
Please cite this library if you end up using it academically:
APA style:
Germanidis, A. (2015). Videodigest [Software]. Available from https://github.com/agermanidis/videodigest.
Chicago style:
Germanidis, A. 2015. Videodigest.
pip install videodigest
$ videodigest -h
usage: videodigest: Automatic Video Summaries [-h] -i VIDEO_FILE -s
SUBTITLES_FILE [-t DURATION]
[-L LANGUAGE] [-S SUMMARIZER]
[-o OUTPUT]
optional arguments:
-h, --help show this help message and exit
-i VIDEO_FILE, --video-file VIDEO_FILE
Input video file
-s SUBTITLES_FILE, --subtitles-file SUBTITLES_FILE
Input subtitle file (srt)
-t DURATION, --duration DURATION
Duration of summary
-L LANGUAGE, --language LANGUAGE
Language of subtitles
-S SUMMARIZER, --summarizer SUMMARIZER
Auto-summarization algorithm (text-rank | luhn |
edmundson | lex-rank | lsa)
-o OUTPUT, --output OUTPUT
Output file
MIT