You could use
Magnum the Edit Detector [link] to try to automatically find the shot changes and split the layer in AE.
As for automatically placing the correct background on each shot -- that's actually very complicated. If you could come up with certain patterns of pixels that are always green or always not green for each of the specific camera angles, you could use a series of expressions that sample the image and adjust the opacity of each background accordingly.
I'd suspect it'll take a lot longer to get this right than it will to just manually identify the shots. Consider using layer colors or maybe
Zorro the Layer Tagger [link] to help you sort your shots.
Alternately, separate the shots onto separate tracks in Premiere and send them to AE one track at a time.
Walter Soyka
Principal & Designer at
Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog - What I'm thinking when my workstation's thinking
Creative Cow Forum Host: Live & Stage Events