Linux movement detection in C on a v4l2 source.