Monday, May 13, 2013

Screencast with video and sound with Fedora

I have been working with different screencast tools.  kdenlive and gtk-recordMyDesktop as well as <ATL><SHIFT><CONTROL-R> work on Fedora 18.  But the easiest method I found is to just use command line with ffmpeg, creating a mkv and then mp4 to upload to vimeo. 

Uploading mp4 to vimeo was recommended with the following settings -

https://vimeo.com/help/compression

Getting ffmpeg to work with libfaac on Fedora - 

http://tinkerance.blogspot.com/2012/11/getting-ffmpeg-to-work-with-libfaac-on.html

My command line for capture -

ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -crf 0 -threads 0 video-output/screen-capture-output.mkv

My command line for converting to mp4 - 

ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -crf 0 -threads 0 video-output/screen-capture-output.mkv