The dramatic rescue of a family surrounded by rushing floodwaters with their car about to sink was caught on camera.