LOS ANGELES — Brian Grazer, a prominent film producer with recent credits on both “J. Edgar” and “Tower Heist,” is stepping in to produce next year’s Oscar awards show, the Academy of Motion Picture Arts and Sciences said on Wednesday, a move intended to quickly repair the damage caused by the sudden departures of the ceremony’s co-producer, Brett Ratner, and its host, Eddie Murphy.

The exits of Mr. Ratner and Mr. Murphy on consecutive days this week were an embarrassing collapse in the motion picture academy’s groundwork for its signature event and one of the most elaborately staged shows on television. But Mr. Grazer’s rapid agreement to pick up the producing job promises that things will proceed almost on schedule, if not exactly according to plan.

Earlier on Wednesday the Academy announced that Mr. Murphy was dropping out as the Oscar host, just one day after Mr. Ratner stepped aside amid a storm of criticism over his use of an anti-gay slur. Their departures left the Academy scrambling not only to fill key roles on the show but also to protect its core asset, a telecast that brings it about $80 million a year.

The unraveling began on Tuesday morning when Mr. Ratner, named the Oscar co-producer on Aug. 4, resigned because of the furor provoked by his public use over the weekend of an anti-gay term, and a subsequent, salacious discussion of his own sexual habits on Howard Stern’s radio program.