Hello! This is a basic noise removing script that uses Python.
It uses noisereduce library to reduce the noise from the audio and moviepy library to merge audio and video.
Normally it takes alot of time to remove noise from a video as first you have to split audio and video, then remove noise from the audio then merge audio and video back. All of it has to be done manually. But this method is faster because it does all of the above mentioned steps in one go. Just input a video and it will output a denoised video. The process of video generation is much faster as compared to some conventional video editors these days.
It might not remove all the noise as it generally assumes noise levels and reduces the noise. Also sometimes the audio and video go out of sync after 45 minutes if the video is more than 45 minutes long. This is due to moviepy library not merging the audio and video correctly.
Make virtual environment and then activate that virtual environment.
Then run:
pip install -r requirements.txtThen copy your video to the current directory where these files are located.
Then to remove noise from a video "video.mp4", run:
python noise_remover.py "video.mp4"And it will successfully remove noise from the provided video and generate a new denoised video.
Pull requests are welcome. Please try to open an issue first to discuss what you would like to change.