May times, We have to create demos for projects for which we use various desktop screen recorders along with normal earphones with mic for audio. But, It causes a lot of white/background noise in the video results into degraded video quality.
Another case, where we record demos, talks from meetups. In this cases, we are not equipped with smart gadgets but only normal mic or mobile phone due to which lots of white noise occurs in a video.
I surfed on the internet and found some relevant solutionsm which we will discuss today.
First a fall, we need to separate audio from video, for which we need to run following commands,
$ sudo dnf install ffmpeg -y
- Run this command for separating audio from video,
$ ffmpeg -i video.mp4 -vn -ac 2 -ar 44100 -ab 320k -f mp3 output.mp3
It will create
output.mp3as audio file.
Install audacity for audio processing,
$ sudo dnf install audacity -y
output.mp3audio file in audacity,
select any area of noise where there’s no talking, (low frequency)
Get noise profile
Now Select whole audio (Ctrl + A) and goto
Export Audioand save it in format of your choice.
Yo, white noise is removed, now club this audio with your video using your favourite video editors, (I prefer OpenShot)