Skip to content

Instantly share code, notes, and snippets.

View jcesardasilva's full-sized avatar
🎯
Focusing

Julio Cesar da Silva jcesardasilva

🎯
Focusing
View GitHub Profile
@iandunn
iandunn / qtmono.sh
Created June 5, 2017 02:07
Alias to convert a stereo recording to mono
# Alias to convert a stereo recording to mono
#
# $1 - The input filename
function qtmono {
basename=$(basename "$1")
filename="${basename%.*}"
extension="${basename##*.}"
ffmpeg -i $1 -codec:v copy -af pan="mono: c0=FL" $filename-mono.$extension
}