Skip to main content


Showing posts from January, 2018

Removing audio noise from a video

The basic steps are to extract the audio, remove noise, and then re-insert the noise-free audio back
into the video wrapper.
Step I: Extract the noisy audio

1. Open Audacity

2. Open the video file in Audacity

3. Select a region of pure background noise (which should be periods of silence). Then use the Audacity menu to select Effects -> Noise reduction

4. Select Get Noise Profile (Important: don’t click ok)

5. Then go back to the waveform and select the entire waveform

6. Again select Effects -> Noise reduction

7. But this time just click ok

8. Audacity will work on the file to reduce the noise. Check the region selected before to see if noise is removed/reduced

9. Repeat the steps #3 to #7 as many times as necessary till all noise is gone

10. Now Export the file to mp3. Make to change the extension as Audacity uses “aiff” even when the file type is selected to be mp3.

Step II: Remove audio from video file

1. Go to the folder containing the video file.

2. Strip audio from the vid…
dpkg: error: duplicate file trigger interest for filename `/usr/lib/gio/modules' and package `libglib2.0-0:i386'The dpkg trigger file has duplicates. We would need to manually remove all of them.

$ cd /var/lib/dpkg/triggers/ $ sudo vim File /usr/share/octave/packages octave /usr/lib/libreoffice/share/extensions libreoffice-common /usr/lib/x86_64-linux-gnu/gio/modules libglib2.0-0 /usr/lib/gio/modules libglib2.0-0 /usr/share/glib-2.0/schemas libglib2.0-0 /usr/lib/i386-linux-gnu/gio/modules libglib2.0-0:i386 /usr/lib/gio/modules libglib2.0-0:i386 /usr/share/glib-2.0/schemas libglib2.0-0:i386 /etc/dbus-1/system.d dbus/noawait /usr/share/dbus-1/system-services dbus/noawait /usr/lib/vlc/plugins vlc-nox/noawait
Notice the duplicates in bold. Remove them manually. If there are many duplicates then a quick way to see the duplicates is to run

$ cat File | cut -d" " -f 2 | uniq -c 1 octave 1 libreoffice-common 3 libglib2.0-0 3 libglib2.0-0:i386 2…