Caveat: IANAL. You probably got a 144.18 Fail to stop on your ticket. At trial, the P.O. will most likely testify that he saw the light turn red and then you crossed the stop line into the intersection. Did you make any statements during the stop that the P.O. may also have made note of and may also raise during his testimony? During a trial, questioning him as to where he was located, how he observed the signal and how he observed you crossing the stop line may help in your battle. Testifying yourself (i.e. you crossed the line on amber) is usually not recommended as you will open yourself to damning statements the prosecutor _will_ make you say during questioning. They have lots of experience at that and they get their bonus and advancement based upon wins n'est pas. For sure, the judge will have heard various excuses hundreds if not thousands of times and may not have any leniency even if you make a good case.
In addition to this photographs from various locations, especially the area where the officer was and with date and time stamp, can be of help.