Skip to content

Instantly share code, notes, and snippets.

@yireo
Created March 18, 2015 12:02
Show Gist options
  • Save yireo/924dfe6096c1714fd6e3 to your computer and use it in GitHub Desktop.
Save yireo/924dfe6096c1714fd6e3 to your computer and use it in GitHub Desktop.
Fedora screencasts ... the hard-core way

Fedora screencasts ... the hard-core way

1) Create a recording

Use vokoscreen to create a screencast with audio and video, optionally with webcam. Save as MKV file.

video-with-noise.mkv

Export to MPEG4 video and MP3 audio.

2) Extract audio from MKV

Extract the audio track using mkvextract:

mkvextract tracks video-with-noise.mkv 1:audio.mp3

3) Filter out noise

Use audacity to filter out the noise from the file audio.mp3: First create a noise profile with some noise. Next, filter out any noise using that profile. Save the new MP3 file as corrected-audio.mp3.

Verify the audio of the new MP3 afterwards.

4) Merge the new MP3 into the existing MKV

Use mkvmerge to merge the corrected audio into the original MKV file:

mkvmerge -o video-with-both-audio.mkv video-with-noise.mkv corrected-audio.mp3

Inspect the audio tracks and check which track ID refers to the old noisy audio:

mkvmerge -i video-with-both-audio.mkv

Remove the old track:

mkvmerge -o video-without-noise.mkv -a 2 video-with-both-audio.mkv

5) Upload

Upload to YouTube or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment