Skip to content

A very basic audio denoiser from a video using AI technology DeepFilterNet

Notifications You must be signed in to change notification settings

WaqarAnwar/Audio_Denoiser_from_Video-Python_AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio Denoiser from Video using Python and AI

Hello! This is a basic noise removing script that uses Python and AI technology DeepFilterNet to remove audio noise from a video. Furthermore it uses moviepy library to merge audio and video.

Pros:

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. Plus it uses AI technology to denoise and produce an enhanced speech video.

Cons:

Sometimes it might give unexpected results based on audio input. This is due to the DeepFilterNet library. 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 syncing the audio and video correctly.

Noisy Audio Plot:

alt text

Denoised Audio Plot:

alt text

Usage

Make virtual environment and then activate that virtual environment.

Then run:

  pip install -r requirements.txt

Then copy your video to the current directory where these files are located.

Then to remove noise from a video "video.mp4", run:

  python denoiser.py "video.mp4"

And it will successfully remove noise from the provided video and generate a new denoised video.

Contributing

Pull requests are welcome. Please try to open an issue first to discuss what you would like to change.

About

A very basic audio denoiser from a video using AI technology DeepFilterNet

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages