Original: On another occasion, during a shooting of a film wherein Om is acting as a scene-extra, he notices Shanti trapped in the middle of a fire scene where the fire has escaped control.
Simplified: On another occasion, during a shooting of a movie, where Om is acting as a junior artist, he notices Shanti is caught in the middle of a fire scene which goes out of control.