~smlavine/scripts

ref: 5af0022d2df522079823605c7340e26ab9847202 scripts/src/cleanvideo -rwxr-xr-x 394 bytes
5af0022dSebastian LaVine dotfiles -> scripts 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# Copyright (c) 2020-2021 Sebastian LaVine <mail@smlavine.com>
# Licensed under the MIT license. See MIT.txt for details.
#
# File:        cleanvideo
# Description: Filters some background noise from a video; optionally converts
#              the format.

[ "$#" -eq 2 ] && ffmpeg -i "$1" -af "highpass=f=200, lowpass=f=3000" "$2"\
	|| echo "Usage: clean-video in.format out.format"