All Projects → SoptikHa2 → video-summarizer

SoptikHa2 / video-summarizer

Licence: MIT License
Summarizes videos into much shorter videos. Ideal for long lecture videos.

Programming Languages

rust
11053 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects
HTML
75241 projects

Projects that are alternatives of or similar to video-summarizer

Mlt
MLT Multimedia Framework
Stars: ✭ 836 (+808.7%)
Mutual labels:  ffmpeg, video-processing
Dokai
Collection of Docker images for ML/DL and video processing projects
Stars: ✭ 58 (-36.96%)
Mutual labels:  ffmpeg, video-processing
Trim.lua
Trim mode for mpv — Turn mpv into Lossless Audio / Video Editor.
Stars: ✭ 24 (-73.91%)
Mutual labels:  ffmpeg, video-processing
eloquent-ffmpeg
High-level API for FFmpeg's Command Line Tools
Stars: ✭ 71 (-22.83%)
Mutual labels:  ffmpeg, video-processing
Vidgear
A High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features 🔥
Stars: ✭ 2,048 (+2126.09%)
Mutual labels:  ffmpeg, video-processing
Xabe.ffmpeg
.NET Standard wrapper for FFmpeg. It allows to process media without know how FFmpeg works, and can be used to pass customized arguments to FFmpeg from dotnet core application.
Stars: ✭ 411 (+346.74%)
Mutual labels:  ffmpeg, video-processing
Ffcreator
一个基于node.js的高速短视频加工库 A fast short video processing library based on node.js
Stars: ✭ 948 (+930.43%)
Mutual labels:  ffmpeg, video-processing
Super-Stitch
一款视频超级拼接软件
Stars: ✭ 28 (-69.57%)
Mutual labels:  ffmpeg, video-processing
Fwf
HTML video editor with FFmpeg
Stars: ✭ 128 (+39.13%)
Mutual labels:  ffmpeg, video-processing
Screen Recorder Ffmpeg Cpp
*Multimedia project* A screen recording application to capture your desktop and store in a video format. Click here to watch the demo
Stars: ✭ 98 (+6.52%)
Mutual labels:  ffmpeg, video-processing
nebula
Media asset management and broadcast automation system
Stars: ✭ 103 (+11.96%)
Mutual labels:  ffmpeg, video-processing
Lintel
A Python module to decode video frames directly, using the FFmpeg C API.
Stars: ✭ 240 (+160.87%)
Mutual labels:  ffmpeg, video-processing
DuME
A fast, versatile, easy-to-use and cross-platform Media Encoder based on FFmpeg
Stars: ✭ 66 (-28.26%)
Mutual labels:  ffmpeg, video-processing
Ffmpeg Libav Tutorial
FFmpeg libav tutorial - learn how media works from basic to transmuxing, transcoding and more
Stars: ✭ 7,074 (+7589.13%)
Mutual labels:  ffmpeg, video-processing
video-audio-tools
To process/edit video and audio with Python+FFmpeg. [简单实用] 基于Python+FFmpeg的视频和音频的处理/剪辑。
Stars: ✭ 164 (+78.26%)
Mutual labels:  ffmpeg, video-processing
Pyjumpcutterv2
carykh's but with improvements and a GUI!
Stars: ✭ 25 (-72.83%)
Mutual labels:  ffmpeg, video-processing
Conv2mp4 Ps
This Powershell script will recursively search through a user-defined file path and convert all videos of user-specified file types to MP4 with H264 video and AAC audio using ffmpeg. The purpose of this script is to reduce transcoding CPU load on a media server like Plex or Emby and increase video compatibility across platforms.
Stars: ✭ 97 (+5.43%)
Mutual labels:  ffmpeg, video-processing
Online Video Editor
API based Online Video Editing using FFMPEG & NodeJs for Backend Editing
Stars: ✭ 176 (+91.3%)
Mutual labels:  ffmpeg, video-processing
FFCreatorLite
一个基于node.js的轻量极速短视频加工库 A lightweight and fast short video processing library based on node.js
Stars: ✭ 155 (+68.48%)
Mutual labels:  ffmpeg, video-processing
jsmpeg-stream-go
MPEG1 streaming demo with jsmpeg implemented by Go
Stars: ✭ 14 (-84.78%)
Mutual labels:  ffmpeg

Video Summarizer

A tool and browser extensions that determines whether people in a video are currently talking or not and speeds up the video accordingly. Great for skipping time spent writing on a whiteboard in long lecture videos.

(Click to view video showcase)

This extension analyses video (typically a Youtube one, but it should work with any HTML video) and, depending on the current loudness of the video, speeds it up at different rates. One can, for example, speed up sections where the teacher is talking to a rate of 1.5x, and sections where the teacher is writing something on the whiteboard to a rate of 4x.

This saves quite a bit of time, especially on long lectures.

Get it for Firefox (Important: Videos that are controlled by this extension are stored on my server. Therefore, most videos are not indexed and thus not managed by this extension yet! To index a video, navigate to it and click on the addon icon located next to the URL bar. After a few seconds, the video should be ready to view through the extension.)

Google Chrome and Chromium-based browsers are currently not supported. Mostly because it costs money to purchase a developer account.

How does it work

There are two parts to this extension: frontend and backend. The backend indexes videos: it downloads them via youtube-dl, extracts sound with ffmpeg and analyses it with shell and awk (yes, the server is written entirely with GNU coreutils). Generally, it seeks parts of videos that are noticeably below or above the average loudness of the video. This way, it can determine which parts of the video are loud and which parts are silent.

When the frontend navigates to a page, it checks for any HTML5 videos. If it finds one, it hashes the current URL (after removing uninteresting query parameters and such) and sends it to the server, which checks whether it has the current video cached. If it does, the frontend will receive a response with information about which parts of video are loud or silent. Otherwise, a button in the extension's pop-up panel (the window that appears when you click the extension button next to the URL bar) that allows the user to submit video to the server for indexing appears. This generally takes about 10 seconds for short videos (under 10 minutes).

Usage

There are multiple sections in this repository.

Results

Everything was tested with ffmpeg 4.2, and Video Summarizer 1.1.1 (the rust cli). Settings: -l 1.5 -s 100.

Name Duration (s) Silent time (%) Saved time (s)
DEFCON 17: That Awesome Time I Was Sued For Two Billion Dollars 1887 15.32% 822 (43.55%)
1. Introduction and Scope (MIT AI course) 2838 40.12% 1706 (60.08%)
Black Mirror: White Christmas 4326 11.93% 1786 (41.29%)
Puella Magi Madoka Magica Ep 10 1449 7.22% 553 (38.15%)

Other projects

  • desed, a TUI debugger for sed written in rust. Supports breakpoints, displays variables and allows one to step both forwards & backwards. Supports live reload while editing the script.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].