ffmpeg: when reading from camera use thread to grab latest frame

This prevents lag end stalling when the buffer fills up.