Removing sections of video that matches a certain frame.

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • pydub

    Manipulate audio with a simple and easy high level interface

  • If there isn't sound during the black screen you can use the pydub module's pysilence.detect_silence() method to detect the start and end of video silence. And use a video editing module such as MoviePy to remove those sections.

  • ffmpeg-python

    Python bindings for FFmpeg - with complex filtering support

  • This superuser response covers trimming timestamped sections from a video with ffmpeg. It's probably easiest to programmatically create those commands using a wrapper library like ffmpeg-python.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • pythonic-cv

    Performant pythonic wrapper of unnecessarily painful opencv functionality

  • My guess would be this will be much easier to get up and running if you use the VideoReader class from (my OpenCV wrapper library) pythonic-cv, since it allows easily iterating directly through videos, processing frames, skipping frames if you want to, and accessing the fps and current timestamp as properties (assuming your videos are in a format that specifies its fps, and allows frame jumping).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts