Wrote simple program to capture and save frames to a temporary file

Next step: send to SHM
after that: send out via PHP