Giter VIP home page Giter VIP logo

video_summarizer's Introduction

Video Summarizer


A time saver tool that transform long footage in a short video, keeping the meaningful parts. Useful to compress video surveillance footage.

Note: This project started recently, so it is in initial form. Your suggestions are welcome and feel free to contribute!

Installation


Use pip install video_summarizer.

Features / Usage


Tested video formats:

  • .mp4
  • .mpg

Video Summarization

Motion summarization

Usage:

import video_summarizer as vidsum

input_video_path = "input_videos/original.mp4"
output_video_path = "output_videos/processed.mp4"

vidsum.summarize(input_video_path, output_video_path, mode="motion")

Movement Detector

... Work in progress ...

Heatmap

... Work in progress ...

video_summarizer's People

Contributors

lanzani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

npokemon

video_summarizer's Issues

Encoder for codec_id=27 not found?

Hello, currently I am having this error as I run the code normally with aforementioned packages installed, my guess is it requires ffmpeg, and the could be by building an open-cv version which has ffmpeg, but still I am not quite sure, please advise

[ERROR:0] global /tmp/pip-req-build-afu9cjzs/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp (2719) open Could not find encoder for codec_id=27, error: Encoder not found
[ERROR:0] global /tmp/pip-req-build-afu9cjzs/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp (2791) open VIDEOIO/FFMPEG: Failed to initialize VideoWriter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.