Reworked v4l2 recording.  Needs more testing.