From Jacksonville Linux Users Group
Jump to: navigation, search

Here are my notes I used for the presentation:

getting ffmpeg on Fedora20 I needed rpmfusion…

sudo yum install rpmfusion-free-release-20.noarch.rpm
sudo yum install rpmfusion-nonfree-release-20.noarch.rpm
sudo yum install ffmpeg

yum install openshot Take the audio out of the video:

ffmpeg -i eviction.mp4 -vcodec copy -an eviction_vo.mp4

-i input_file -vcodec = set the video codec -an = disable audio recording

copy 2 seconds of the video starting at time 38seconds.

ffmpeg -i eviction_vo.mp4 -ss 00:00:38 -t 00:00:02 escape.mp4

-ss = position -t = duration

copy the first 38 seconds:

ffmpeg -i eviction_vo.mp4 -ss 00:00:00 -t 00:00:38 first_part.mp4

copy the last 10 seconds:

ffmpeg -i eviction_vo.mp4 -ss 00:00:40 -t 00:00:10 last_part.mp4

slow down the interesting part by 1/2

ffmpeg -i escape.mp4 -vf "setpts=(1/.5)*PTS" slower.mp4

now put them back together!

Create a file with the parts in it (preferably in order!)

vi list.txt

file first_part.mp4
file slower.mp4
file last_part.mp4

ffmpeg -f concat -i list.txt -c copy whole_thing.mp4

-f = video format (usually auto-detected and not needed, but here it's needed) -c copy = indicates that the stream is no to be re-encoded.

convert audio

ffmpeg -i grill.3gpp grill.wav
ffmpeg -i bye.amr bye.wav

import them into the project along with any other audio of interest.

create title/intro and credits/outro pages.

save and export the video!

For composing music (writing sheet music) use Rosegarden! Rosegarden has many tools that need to be installed and properly configured in order to get sound to work! (that will probably be my next presentation)

For recording music (guitar / voice /instuments) use Audacity! setup clicktrack, then percussion track, then voicetrack