Skip to content

Instantly share code, notes, and snippets.

View AhmedThahir's full-sized avatar

Ahmed Thahir AhmedThahir

View GitHub Profile
#! /usr/bin/env ruby
# strip-silence version 1.1
#
# Usage:
# strip-silence input.mp4
#
# Description:
# Uses auto-editor to identify areas of silence in input.mp4,
# then uses ffmpeg to strip them out (without recompression).