Quick google resulted in this: http://sebastian.setz.name/arduino/my-libraries/multi-camera-ir-control/