Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ffmpegSilenceSplit

ffmpegSilenceSplit is a Bash script that utilizes FFmpeg to automatically detect silent segments in an audio or video file and split the file accordingly. The script allows users to define the silence threshold and duration, making it flexible for various use cases such as removing pauses from podcasts, lectures, or other media files. By leveraging the power of FFmpeg's silencedetect filter, the script efficiently identifies and cuts out silent parts, simplifying the media editing process.

Setup

brew install grep # gnu grep for mac
brew install ffmpeg

How to use

 ./ffmpegSilenceSplit.sh yours.m4a

You can get yours_001.m4ayours_nnn.m4a .

Params

min_duration=30
silence_level="-30dB"
silence_duration_sec="0.5"

About

ffmpegSilenceSplit is a Bash script that uses FFmpeg to detect and split audio or video files at silent sections. It allows users to customize the silence threshold and duration, making it ideal for trimming silent parts from media files like podcasts or lectures, streamlining the editing process.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages