In 2008, Mehta and Salman Rushdie decided to collaborate on a film together. At first Mehta wanted to adapt his novel Shalimar the Clown, but she eventually decided on Midnight's Children instead. Rushdie spent the next two years paring down the 600-page book into a 130-page script. Rushdie told the BBC in an interview that he sold the rights to the film for $1. The casting process began in early 2010. For the role of the protagonist Saleem Sinai, Mehta wanted Imran Khan, but his salary was outside of the film's budget. She decided to cast British actor Satya Bhabha instead after seeing video of him performing in a play. Kangana Ranaut and Rani Mukerji were originally cast as Emerald and Amina, but both had to be replaced due to scheduling conflicts. Irrfan Khan was also forced to pull out due to conflicts with Life of Pi and Nandita Das opted out of the film after she had her first child. Rahul Bose was selected for the role of Emerald's husband Zulfikar and Shabana Azmi was cast as Saleem's grandmother Naseem. Principal shooting began in February 2011 in Colombo, Sri Lanka as Mehta feared protests by Muslim fundamentalists if the film was shot in Pakistan and by Indian National Congress & Gandhi family loyalists if it was made in Mumbai. Cast members had secrecy clauses added to their contracts to help keep the production quiet. Production design was handled by Mehta's brother Dilip Mehta. Under his direction, authentic Delhi-style furniture, props and costumes were shipped in from India. Shooting was briefly interrupted when Iran complained to the Sri Lanka government about the film and the crew was ordered to halt production. Mehta appealed to President Mahinda Rajapaksa who agreed to let filming continue. Winds of Change was the working title of the film during the shooting. Filming lasted a total of 69 days from February to May 2011. In all, 800 extras were used.
Release
The film premiered on 9 September 2012 at the Toronto International Film Festival with repeat screenings on the 10th and 27th. The film had its Indian premiere on 10 December 2012 at the 17th International Film Festival of Kerala. After the premiere show, Indian National Congress leaders came against the movie alleging that the film portrays former Indian Prime Minister Indira Gandhi and some other leaders in a negative manner. Following the allegations, any further screening of the film in the festival was stopped, an act which drew heavy criticism. After initial fears that the movie would not find a distributor in India, the distribution rights were acquired by the Mumbai-based company PVR Pictures. In India, the film was released on 1 February 2013 with minimal cuts owing to clever casting & script treatment by Mehta. "Deepa Mehta didn't want to draw any attention to Sarita Chowdhary who plays Mrs Gandhi but looks nothing like her. The whole strategy was to not focus attention on the character and the actress playing the role."
Critical reception
Nishi Tiwari for Rediff.com gave 3/5 stars and said: "Midnight’s Children is a must watch for people who’ve yearned to experience Salman Rushdie iconic storytelling in a more accessible format." On Rotten Tomatoes it has a 41% rating based on 59 reviews. The website's critical consensus states that "Though Midnight's Children is beautiful to look at and poignant in spots, its script is too indulgent and Deepa Mehta's direction, though ambitious, fails to bring the story together cohesively." Reviews include: "There are some beautiful moments and some decent performances, but it's also something of a slog and ultimately fails to engage on an emotional level", "There's humour and heart here, but it's an overlong tale as meandering as the Ganges." and "Watchable without ever feeling essential." For an academic overview of the adaptations of Midnight's Children, see Mendes and Kuortti.