I use recordmydesktop, which outputs to ogg video. Reduce the video resolution, or the CPU requirements will be too high. I use a window size of 640x704.
recordmydesktop --windowid 0x6200003 --quick-subsampling --fps 10 --channels 1 \
--on-the-fly-encoding --device pulse --freq 44100
mplayer
, activate OSD by pressing 'O'.ffmpeg
(-ss
sets the start time, -t
sets the duration)ffmpeg -i full.ogv -ss 00:05:35 -t 00:06:15 -acodec copy -vcodec copy temp.ogv
mplayer -novideo -vo null -ao pcm:file=foo.wav temp.ogv
ecanormalize foo.wav
ffmpeg -i temp.ogv -i foo.wav -c:v copy -strict experimental -map 0:v:0 \
-map 1:a:0 final.ogv
Upload final.ogv
to youtube and we are done here.