Video

Programs to create screencasts

Simple Screen Recorder can be used to record the desktop. To record terminal sessions, Asciinemacan be used.

Notes on editing with Blender

HDV 1080P

Output
H.264 preset

Preset H264
AC3

Stabilisation with ffmpeg and vidstab plugin

Reference

Used stable ffmpeg static build from https://www.johnvansickle.com/ffmpeg/. It includes ffmpeg compiled with the vidstab plugin.

Analyse video:

ffmpeg -i input.mp4 -vf vidstabdetect -f null -

If very shaky, do:

ffmpeg -i input.mp4 -vf vidstabdetect=shakiness=10:accuracy=15 -f null -

To stabilise, use:

ffmpeg -i input.mp4 -vf vidstabtransform=smoothing=30:input="transforms.trf" output.mp4

To make a side by side comparison video:

ffmpeg -i input.mp4 -i output.mp4 -filter_complex "[0:v]setpts=PTS-STARTPTS, pad=iw*2:ih[bg]; [1:v]setpts=PTS-STARTPTS[fg]; [bg][fg]overlay=w" side_by_side.mp4

Alternative (quick fix):

ffmpeg -i input.mp4 -vf vidstabtransform,unsharp=5:5:0.8:3:3:0.4 output.mp4

Sharing video on WhatsApp

Reference

If video thumbnail is not displayed or if video is not supported, use ffmpeg to re-encode video using H264 and AAC codecs:

ffmpeg -i input.mp4 -vcodec libx264 -acodec aac wa-post.mp4