bored saturday, ffmpeg and audacity rule!

Using Audacity, FFmpeg, and Fast Video Download (Firefox Addon), I recombined two youtube clips into one. All of this was done in Ubuntu Linux. Note that since the source videos contained mp3 audio data, you will need to add the MP3 codecs to your system. You can do this via Automatix, a GUI tool for adding all the extra codecs and programs that don't come by default in Ubuntu.
I didn't do it using a video editor. Details at the bottom.
Combined Video first.
Source video one.
Used the audio from this one.
Use Fast Video Download to download the videos from YouTube. They come down as FLV files.
ffmpeg -i source.flv -vn source_no_video.wav
ffmpeg -i source.flv -an source_no_audio.avi
Then open up audacity, and mix up the audio however you want, but keep the length the same. I just add another audio track in audacity, import the extra audio file, then trim, generate silence, cut, paste, etc.
Once you are done with audacity, export the file as a WAV file, with the same number of channels as the original. And use ffmpeg to put your monstrosity back together!
ffmpeg -i source_no_audio.avi -i new_audio.wav output_special.avi
And there you go!
Labels: audacity, ffmpeg, linux, open source, youtube
0 Comments:
Post a Comment
<< Home