Skip to content

Instantly share code, notes, and snippets.

View jgvinholi's full-sized avatar

João Vinholi jgvinholi

View GitHub Profile
@jgvinholi
jgvinholi / cut_silence.py
Created September 12, 2021 21:12 — forked from vivekhaldar/cut_silence.py
Python script to cut out silent parts from a video. Uses moviepy.
#!/usr/bin/env python
#
# Based on a script by Donald Feury
# https://gitlab.com/dak425/scripts/-/blob/master/trim_silenceV2
# https://youtu.be/ak52RXKfDw8
import math
import sys
import subprocess
import os