Last active
June 22, 2020 11:24
-
-
Save bjrne/bc0388ae9545719141e356c277ab0ce3 to your computer and use it in GitHub Desktop.
A simple script for removing high-pitched hissing sounds from bad quality lecture recordings. Add this script to a folder of videos and start it from there. You can play around with the values for lowpass and highpass for best results.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
for filename in os.listdir(): | |
if ".py" not in filename: | |
print("start with:") | |
print("ffmpeg -i " + filename + " -af lowpass=1000,highpass=200 " + filename + "out.mp4") | |
os.system("ffmpeg -i " + filename + " -af lowpass=1000,highpass=200 " + filename + "out.mp4") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment