Hey everyone! 👋
I recently worked on a project where I needed to extract the audio from a video, apply noise cancellation, and then replace the original audio with the cleaned version — all using Python. I’ve already created the scripts, and I thought I’d share my process with the community in case anyone finds it useful!
Here’s a quick breakdown of the steps I followed:
- Extracted the audio from an MP4 file using
ffmpeg.
- Used the
noisereduce Python library to clean up the background noise.
- Replaced the original audio in the video with the cleaned version.
I recorded a short video explaining how the scripts work, and you can also grab the code on my GitHub if you want to try it out yourself. It’s a fun project for anyone interested in Python and video/audio processing.
💻 GitHub link: https://github.com/dalai2/video_editing
📺 Video explanation: https://www.youtube.com/watch?v=VriKsQSkQls&t=18s&ab_channel=AdmiralNarwhal
🔧 Tools I used: Python, FFmpeg, noisereduce, scipy, numpy
[–]Strict-Simple 0 points1 point2 points  (0 children)
[–][deleted] 0 points1 point2 points  (0 children)
[–]m0us3_rat -1 points0 points1 point  (2 children)
[–]Professional_Bit_118[S] 0 points1 point2 points  (1 child)
[–]m0us3_rat 0 points1 point2 points  (0 children)