Avengers: Infinity War and Avengers: Endgame are American superhero films based on the Marvel Comics superhero team the Avengers, produced by Marvel Studios and distributed by Walt Disney Studios Motion Pictures. They are the sequels to The Avengers (2012) and Avengers: Age of Ultron (2015), and respectively serve as the 19th and 22nd films of the Marvel Cinematic Universe (MCU). Both films were directed by Anthony and Joe Russo from screenplays by the writing team of Christopher Markus and Stephen McFeely. They feature an ensemble cast composed of many previous MCU actors, headlined by Robert Downey Jr., Chris Hemsworth, Mark Ruffalo, Chris Evans, Scarlett Johansson, Don Cheadle, Karen Gillan, Bradley Cooper, Gwyneth Paltrow, and Josh Brolin. In Infinity War, the Avengers, the Guardians of the Galaxy, and their allies unite to prevent Thanos from collecting the six all-powerful Infinity Stones and using them to kill half of all life in the universe. In Endgame, after failing to stop Thanos, the surviving heroes attempt to reverse his actions through time travel.
Preparation for a film adaptation of Jim Starlin's 1991 The Infinity Gauntlet comic book began with Marvel Studios' early films, which introduced the Infinity Stones as plot devices and teased a future storyline with Thanos as the villain. Downey Jr. signed on in June 2013 to reprise his role as Tony Stark / Iron Man, Brolin was cast as Thanos the next May, and many other actors were confirmed to be appearing in the following years. The films were officially announced in October 2014 as Avengers: Infinity War – Part 1 and Part 2. The Russo brothers and Markus and McFeely joined the project in early 2015. The first film's title was shortened to Avengers: Infinity War in July 2016. The second film's title was withheld until December 2018, when it was announced as Avengers: Endgame. The films were renamed because they were intended to tell two different stories. They were designed to conclude the "Infinity Saga" storyline that had been told throughout all MCU films up to that point and end the character arcs of Stark and Steve Rogers / Captain America (Evans).
Both films were shot back-to-back at Pinewood Atlanta Studios in Fayette County, Georgia. Production on Infinity War took place from January 23 to July 14, 2017, with additional filming in Scotland, the Downtown Atlanta area, and New York City. Filming for Endgame took place from August 10 to January 11, 2018, with additional filming in the Downtown and Metro Atlanta areas, the state of New York, Scotland, and England. Final reshoots for Endgame were held in January 2019. The films were the first Hollywood productions to be shot entirely in digital IMAX, using a new camera developed with Arri. Jeffrey Ford and Matthew Schmidt edited both films, and Alan Silvestri returned from The Avengers to compose the musical score. Visual effects companies for both films included Industrial Light & Magic, Framestore, Weta Digital, DNEG, Cinesite, Digital Domain, Rise, Lola VFX, and Perception. Prominent visual effects include the digital characters Thanos and Hulk (Ruffalo) using new performance capture technology, and multiple digital de-aging sequences.
Avengers: Infinity War was released on April 27, 2018, and Avengers: Endgame was released on April 26, 2019, both part of Phase Three of the MCU.
Contents
Development
Background
Throughout their early films in the Marvel Cinematic Universe (MCU), Marvel Studios began preparing for an adaptation of Jim Starlin's 1991 The Infinity Gauntlet comic book by introducing the Infinity Stones as MacGuffins: the Space Stone as the Tesseract in Captain America: The First Avenger (2011); the Mind Stone inside Loki's scepter in The Avengers (2012); the Reality Stone as the Aether in Thor: The Dark World (2013); the Power Stone within the Orb in Guardians of the Galaxy (2014); and the Time Stone within the Eye of Agamotto in Doctor Strange (2016). These MacGuffins and the Infinity Stones are separate objects in Marvel Comics. According to James Gunn, writer and director of the Guardians of the Galaxy films, Marvel decided that the Aether and previous MacGuffins would be used as Infinity Stones during production on The Dark World. Before that decision, the Orb was intended to have red energy in the first Guardians of the Galaxy film. This was changed to purple in post-production to give each of the Infinity Stones its own color, since the Aether was also red. Gunn did not know the importance of the Stones to the wider MCU when he created their backstory, without much thinking, for the Guardians of the Galaxy scene where Taneleer Tivan / The Collector explains the origins of the Stones.
Thanos, a villain who covets the Infinity Stones, was introduced to the MCU in a brief appearance at the end of The Avengers. Many fans subsequently expected Thanos to be the antagonist of the sequel, Avengers: Age of Ultron (2015). However, Joss Whedon, who wrote and directed the first two Avengers films, explained that the character would not be the primary antagonist until a later film because he is "so powerful, he is not someone you can just try to out punch. Like in the comics, you want him to be threading through the universe and to save the big finale for the big finale." Thanos appears at the end of Age of Ultron in another brief appearance, this time shown to have the Infinity Gauntlet, a glove designed to house the Stones. A different Infinity Gauntlet was previously shown in Odin's vault on Asgard in Thor (2011), but following the Age of Ultron scene this first Gauntlet was revealed to be a fake in Thor: Ragnarok (2017). Marvel Studios president Kevin Feige explained that the first Gauntlet was included as a small Easter egg in Thor before an adaptation of The Infinity Gauntlet was in active development, and once Marvel had begun planning that storyline they realized that it would not make sense for the Asgardians to have the Gauntlet. Marvel's internal explanation was that the first Gauntlet was a fake, and Ragnarok was able to address this onscreen. The Age of Ultron Gauntlet is also considered fake, with writers Christopher Markus and Stephen McFeely saying it was a "fashionable practice Gauntlet".
Announcement
In July 2014, Feige said there were "some notions" to where Marvel would want to take a third Avengers film and the studio was aiming for three years between Age of Ultron in 2015 and a sequel. In October 2014, Marvel announced a two-part sequel to Age of Ultron entitled Avengers: Infinity War. Part 1 was scheduled to be released on May 4, 2018, and Part 2 was scheduled for May 3, 2019. Marvel's plan was to film both parts of Infinity War back-to-back. In January 2015, Whedon said it was "very doubtful" that he would be involved with the two films, and rumors spread that the making of Age of Ultron had been difficult for Whedon. Marvel did approach him about writing the next films, and Whedon did not rule out contributing to the screenplays in some way, but he declined to sign on as the main writer and he felt Marvel knew that any contribution from him would not be able to happen soon. Whedon later cited the series' "increasingly enormous" scale as the reason he chose not to return, explaining that he would not be able to give Infinity War "what I would need to".
Anthony and Joe Russo reached a deal by April 2015 to direct both parts of Avengers: Infinity War, after directing Captain America: The Winter Soldier (2014) and Captain America: Civil War (2016) for Marvel. A month later, Markus and McFeely had signed on to also return from the Captain America films, writing the screenplays for both parts of Infinity War. McFeely later recalled that the pair had started negotiating to write the two films without ever actually being asked to do so by Feige or Marvel. Anthony Russo described the two Avengers sequels as the culmination of all the MCU films since Iron Man (2008), bringing an end to some things and beginning others. Marvel called this overall storyline "The Infinity Saga", comprising Phases One, Two, and Three of the MCU. In April 2016, Jon Favreau said he would executive produce the films after doing the same for the previous Avengers films and also directing the first two Iron Man films. Gunn also served as executive producer on the films, working with the Russos, Marvel, and Feige to ensure the Guardians of the Galaxy characters were "well taken care of". In March 2018, Disney moved the first film's United States release to April 27, 2018, so it would be released on the same weekend in the U.S. as in several international markets. That December, the release of the second film was similarly changed to April 26, 2019.
Titles
Despite announcing the films as Avengers: Infinity War – Part 1 and Part 2, Feige said they would be "two distinct" projects with shared elements, not one story split across two films. Anthony Russo reiterated this in April 2016, saying the two films were "very very different from one another. It's not a part one and part two scenario, necessarily. They're just two different expressions. I think it creates a misconception that we're shooting them at the same time." The next month, the Russos said the films would be renamed to remove this misconception. In July, Marvel shortened the first film's title to Avengers: Infinity War and left the second untitled.
Anthony Russo said the second title would not be revealed for "quite some time". Feige and the Russo brothers indicated that it was being withheld to avoid giving away plot details. In April 2018, Feige said Marvel chose to withhold the title for so long because they did not want to take the focus away from Infinity War, which happened to Age of Ultron when the next two films were announced before that one was released. Feige felt this approach had backfired due to speculation about the title getting "entirely out of hand" and generating high expectations which the actual title could not live up to. That December, the first trailer for the second film was released and revealed its title to be Avengers: Endgame. The film was previously referred to internally as Avengers: Infinity Gauntlet, which star Zoe Saldaña accidentally revealed in 2017.
Writing
Process
When they were hired to write the films, Markus and McFeely were told by Feige and Marvel to make two separate films rather than a two-part story. They were also asked to use Thanos and the Infinity Stones, which suggested to Markus that the Guardians of the Galaxy should likely be included in the films. They were allowed to use any characters from throughout the MCU, and could kill-off characters if they wanted to. During the filming of Civil War in 2015, they started reading comic books and writing down ideas for what could happen in the films. They ended up with 60 pages worth of unrelated ideas which Marvel went through and either highlighted or flagged as not possible. Additionally, they created a master document in which they explored numerous possibilities for the direction of the story, comparing it to the What If comic book series, and ranking the viability of each to adapt. Some of these ideas included adapting the 2005 comic storyline "House of M", and showing Thanos defeat the Nova Corps with member Richard Rider traveling to Earth to herald his coming. For the last four months of the year, the pair spent most of their time in a conference room with executive producer Trinh Tran—the representative from the "Marvel Studios Parliament" for the Avengers films—as well as Feige and the Russo brothers whenever they were free. Marvel gave them baseball cards of all the MCU characters so far, and each noted whether the respective actor was available for the films with existing contracts or would need to sign new ones. The writers began to pick potential groupings of characters, and gave these to Marvel along with their pages of ideas. McFeely referred to this stage of the process as research and development, with the pair attempting to figure out what elements Marvel and the Russos wanted to include in the films. As they came up with ideas for moments or scenes, such as when Thanos uses all of the Infinity Stones, these were written on cards and placed on a timeline to allow the writers to work towards those beats. Once this was completed, Markus and McFeely compiled the cards into an initial outline that included moments, scenes, dialogue, and jokes. They re-wrote the outline to be more readable, and sent it to Marvel for approval.
The writers began work on the actual screenplays in January 2016. Each week they took several scenes from the initial outline (there were around 80–90), assigned them a page count, and began writing them individually. They combined their work at the end of the week and repeated this until they had a "Frankenstein Draft" that McFeely described as long and repetitive but with some "gold" in it. They worked together to re-work these into a functional first draft. Completed first drafts for both films were handed to Marvel on May 1, 2016. While the films were in pre-production the pair continued to write new drafts, and were working on the third draft of Infinity War and the second of Endgame by July. Though they were working on both films at the same time, they only worked on one film each day. In October, Ragnarok screenwriter Eric Pearson was flown from Ragnarok's set in Australia to Atlanta where the Avengers films were being prepped so he could assist Markus and McFeely, who were "just so crammed for time". Pearson said the pair were comfortable allowing him to work on one film while they focused on the other due to his previous Marvel writing credits, including working with them on the MCU television series Agent Carter (2015–2016). Markus and McFeely later estimated that they had written at least five or six drafts of each film by the end of 2016. During that year, they received notes on the drafts and came up with new ideas themselves which Markus described as "winnowing down and really focusing on what these movies are about".
Story
Feige said all non-Avengers films in the MCU were setting-up for this storyline, with Black Panther and Ragnarok being particularly important links. The Russos wanted "a strong through line" from The Winter Soldier to Civil War and into the two Avengers films, saying, "We look at [Civil War] as setting the stage for Infinity War, how it starts and what condition everybody's in". The brothers wanted to approach the cosmic elements of Infinity War with the same fervor that they gave to the more grounded films Winter Soldier and Civil War. Though they were unable to depict the films with naturalism given their science fiction content, they did want their films to have a psychological realism. Anthony added that Infinity War would deal with "themes of fate and destiny and the essence of what it means to be a hero". Feige said the films would explore whether the visions the Avengers had in Age of Ultron were predictions of the future or just projections of their fears. Anthony said the films melded the tones of the individual MCU franchises, and would be tonally different from each other.
Infinity War is set approximately two years after the events of Civil War, as the Russos always set "everything based on when the last movie came out". In addition to Starlin's "Infinity Gauntlet", Markus and McFeely drew inspiration from Jonathan Hickman's "Infinity" (2013) comic. Infinity War was crafted like a 1990s heist film, with the brothers looking at many films "that had that heist-style energy to them", as Infinity War "has that energy of the bad guy being one step ahead of the heroes", with Thanos "on a smash-and-grab" to acquire all of the Infinity Stones. The films 2 Days in the Valley (1996) and Out of Sight (1998) served as inspiration for the brothers.
Beyond the script used in the final film, two different drafts of Infinity War were also created. One of these drafts featured Thanos as the film's narrator, utilized a non-linear structure, and also had backstories for the "Children of Thanos". Though this draft was not used, writing out Thanos's narration helped give Markus, McFeely, and the Russos more insight into the character. Exploring more of Thanos' backstory via flashbacks was considered at one point, but only concept art was created and no scenes were filmed involving a younger Thanos; one such scene had Thanos explaining his extremistic plans to his people as a younger man, but Markus and McFeely felt the scene reminded "a little too Jor-El on Krypton making his case", feeling that they could imply the sequence without actually showing it and deciding to just have one flashback, that being how Thanos met Gamora. The other draft began the film after Thanos had already acquired the Space Stone, but this was rejected because "it felt like he had too many Infinity Stones to start". Going with the draft used in the final film, the plot had been "simplified, made more linear, and allowed more of the character moments [to] come through" as the start of filming approached, giving the Russos "a very tight script" to work with. Unlike Infinity War, Endgame features mainly an original story that does not draw inspiration from any existing comics. Joe Russo explained, "I think we're in pretty fresh territory with [the film]. If anything, I think it's interesting after to go back and look at some of the Marvel films and view them through a different lens. But I can't think of any comics in particular that would have value" to give a basis for the film's story. Joe Russo also described the second film as "more of an epic adventure in the classic sense, with huge emotional stakes".
Character selection
The writers did not initially worry about actor availability and just used the characters how they wanted. They adjusted the scripts later based on scheduling constraints. Joe Russo felt the audience would not be disappointed in the number of characters in the films, saying that "like 67 characters" who were previously introduced in the MCU had been placed out on a board for consideration. Because of the number of characters, McFeely called writing Civil War "a walk in the park" compared to these films. Joe explained that they intended to focus on a "handful" of characters and build the story around their emotional arcs, with many of the other characters having ancillary roles. He also said that the number of characters in Civil War prepared the brothers to "deal with probably triple the amount of characters in Infinity War", and that the characters given main focus would shift between the two films. Gunn said the Guardians of the Galaxy's roles in the films would not be the biggest part of the film, but would be integral due to their connection to Thanos.
Acknowledging that there are 23 characters on the Infinity War poster, McFeely said there was an early decision to not have "scene after scene [with] 23 people in a room moving from plot point to plot point", which would mean many popular actors and characters would have nothing to do in each scene. Instead, the writers divided the characters into smaller groups so each scene could be valuable for all the characters present. Those groups were weaved together as required by the story. Anthony Russo compared Infinity War's character groupings to "Nashville (1975) for super heroes. It's storytelling that is vignetted storytelling." The groupings included: Tony Stark / Iron Man, Dr. Stephen Strange, Peter Quill / Star-Lord, Peter Parker / Spider-Man, and initially Bruce Banner / Hulk, and Wong; Thor and the Guardians of the Galaxy, with Thor, Rocket, and Groot ultimately splitting off on their own; Wanda Maximoff and Vision; Thanos and Gamora; and Steve Rogers / Captain America, Natasha Romanoff / Black Widow, Sam Wilson / Falcon, Bucky Barnes / Winter Soldier, Banner, and T'Challa / Black Panther. Markus said many discussions on character pairings were about whether to pursue and further develop pre-existing relationships or to introduce new ones, with him feeling that new pairings had the emotional level of a first date while taking characters that had been together before and putting them "in a much more dire situation" allowed them to "really get down into the meat of their relationship".
Actor Robert Downey Jr. said in Stark's grouping there was a desire "to keep a little bit of the Science Bros [Stark/Banner relationship] alive" and to expand on the positive Stark/Parker relationship from the previous films. McFeely explained that the pairing of Strange and Stark came together because of the similarities between the characters being "guys with a vision but also an ego". To differentiate between the two, Markus and McFeely contrasted Stark's established story arc and drive to confront Thanos with Strange's more reluctant stance. They added that Quill provided "color" due to his arrogance. A Sherlock Holmes joke was avoided when Strange first meets Stark, as the Russos felt it was a "meta joke that requires you to be a fan of other movies"; Downey portrayed Holmes in the films Sherlock Holmes (2009) and Sherlock Holmes: A Game of Shadows (2011) while Cumberbatch portrayed the character in the television series Sherlock (2010–2017). McFeely described Thor's teaming with Rocket and Groot as "delightful". Markus added that Rocket was considered for many other pairs, but ultimately landed with Thor because they felt the group dynamic "brings out new things in Rocket that you wouldn't have expected" as they felt people might have initially perceived Rocket as not being capable to help Thor with much. Rogers's group continues from the events of Civil War, showing he, Romanoff, and Wilson have been on the run, in part by their different appearances (Rogers with a beard and Romanoff with blond hair). The writers did not dwell on the romance between Romanoff and Banner, as established in Age of Ultron, beyond including a "loaded look between the two" because they considering it unrealistic as they would be more focused with Thanos; Maximoff and Vision's relationship was implied to have further developed since the events of Civil War.
Character arcs
Feige's initial idea for the films involved all six of the Avengers dying by the end, in a moment reminiscent of the "incinerator scene" from Toy Story 3 (2010), but this was rejected by the Russos who felt that it would not celebrate the successes of the Avengers and that fans would not be able to process that amount of loss. Another idea involved both Rogers and Stark dying together; producer Nate Moore eventually came up with the idea to have Rogers travel back in time to reunite with Peggy Carter in the 1940s. Ultimately, the decision was made to only have Romanoff and Stark die, in part because killing Rogers would've been the expectation from fans, with Joe Russo adding it was less predictable and "creates a richer ending".
While they were still working on Civil War, Markus and McFeely settled on the idea that the trajectory of the main character arcs was leading to Rogers eventually retiring from being a hero, and Stark eventually sacrificing his life to save the world. Since around October 2015, the pair knew that Endgame would therefore end with the death of Stark. The filmmakers aimed to give an "incredible, iconic and amazing" sendoff to Stark in the same vein of Hugh Jackman's James "Logan" Howlett / Wolverine from the X-Men film Logan (2017), which they used for a blueprint due to Feige's admiration for the film. The Russos briefly considered killing Stark in Infinity War since it would have been unexpected, but were unable to then find a way to feature him in Endgame, so it was determined to have the death happen in that film. The funeral scene was inspired by large splash pages in comic books where numerous heroes are depicted at a funeral following the death of a fellow hero, and was described by Markus as a "tour" through the MCU and all its characters while saying goodbye to the character that started the franchise. The scene was labelled "The Wedding" for production to avoid spoilers. Because they felt that a somber funeral did not suit the character of Stark, the writers decided to have him give his own eulogy as a way to include the character's voice and humor in the ending. This was set up by showing Stark recording a message at the start of Endgame when he first thinks that he is going to die. In response to the events of Ragnarok and the changes that film made to Thor's character, it seemed natural to the writers for him to become depressed after Infinity War as he tries to deal with all he has lost. The writers felt that the version of Thor seen in Endgame fit the comedic tone established in Ragnarok while also revealing the deeper pain of the character in a dramatic way. Romanoff helped to hold survivors together after the Blip, but ultimately sacrificed herself in order to get the Soul Stone. Joe Russo adds that in Infinity War, the Avengers say that they do not trade lives, with the desire to protect people, while in Endgame "there's now a desire to sacrifice in order to accomplish the goal". Russo added that both Romanoff and Barton had the same mission in the moment, but Romanoff's focus was on Barton not sacrificing himself in the hopes that the Blip could be reversed to allow Barton to reunite with his family, while he had mixed agendas which took the edge off of his focus in a way that did not happen for Romanoff.
Pre-production
Casting
In June 2013, Robert Downey Jr. signed on to return as Tony Stark / Iron Man for a third Avengers film, and Josh Brolin signed a multi-film deal the following May, to play Thanos. In July 2014, Feige stated that actors from previous MCU films were under contract to return to for a third Avengers film, with Jeremy Renner stating that September he was signed on to reprise the role of Barton. After the announcement of Infinity War and Endgame, many established MCU actors were confirmed to be joining Downey and Brolin, including previous members of the Avengers Chris Hemsworth as Thor, Mark Ruffalo as Bruce Banner / Hulk, Chris Evans as Steve Rogers / Captain America, Scarlett Johansson as Natasha Romanoff / Black Widow, Don Cheadle as James "Rhodey" Rhodes / War Machine, Paul Bettany as Vision, Elizabeth Olsen as Wanda Maximoff, and Anthony Mackie as Sam Wilson / Falcon. Infinity War also sees the Avengers unite with the Guardians of the Galaxy, including Chris Pratt as Peter Quill / Star-Lord, Pom Klementieff as Mantis, Karen Gillan as Nebula, Dave Bautista as Drax, Zoe Saldaña as Gamora, Vin Diesel as the voice of Groot, and Bradley Cooper as the voice of Rocket. Sean Gunn served as the on-set stand-in actor for Rocket on both films.
Additional actors reprising their roles in Infinity War from the various MCU franchises include Benedict Cumberbatch as Stephen Strange from Doctor Strange, with Benedict Wong as Wong; Tom Holland as Peter Parker / Spider-Man from Spider-Man: Homecoming (2017), with Jacob Batalon as Ned, Isabella Amara as Sally, Tiffany Espensen as Cindy, and Ethan Dizon as Tiny; and Chadwick Boseman as T'Challa / Black Panther from Black Panther, with Danai Gurira as Okoye, Letitia Wright as Shuri, Winston Duke as M'Baku, and Florence Kasumba as Ayo. Sebastian Stan also appears as Bucky Barnes / Winter Soldier from the Captain America films, along with Tom Hiddleston as Loki and Idris Elba as Heimdall from the Thor and Avengers films; Iron Man supporting actress Gwyneth Paltrow as Pepper Potts; Benicio del Toro as Taneleer Tivan / The Collector from Guardians of the Galaxy; William Hurt as Thaddeus Ross, who first appeared in The Incredible Hulk (2008); and Kerry Condon as the voice of Iron Man's A.I. assistant F.R.I.D.A.Y. Samuel L. Jackson and Cobie Smulders make uncredited cameos in the post-credits scene as Nick Fury and Maria Hill, who they respectively portrayed in several previous films. Jon Favreau was to reprise his role as Harold "Happy" Hogan, while co-director Joe Russo had a cameo appearance as a paparazzi photographer, but this scene did not make the theatrical cut of the film. Michael Rooker, who played Yondu Udonta in the Guardians of the Galaxy films, visited the Georgia filming set for some days while wearing an Infinity War production cap, but it later turned out that he was merely present there to throw off spoilers that Udonta would die in Vol. 2 as rumors prior to that film's release as part of a publicity strategy to distract fans. Stellan Skarsgård, who portrays Erik Selvig in the MCU, said he believed he would appear in one of the films as he had one more film left on his contract and would not be appearing in Ragnarok. Skarsgård ultimately didn't appear in the film.
Design
Production designer Charles Wood previously worked on The Dark World, Guardians of the Galaxy, Age of Ultron, and Doctor Strange, but found the increase in scale with Infinity War and Endgame to be a particular challenge. He felt that revisiting the sets of Doctor Strange in Infinity War was particularly helped by his experience on the original film, allowing for continuity between the two films. For Wakanda from Black Panther, that film was being produced in Atlanta at the same time as Infinity War so Wood and his team worked with the Black Panther production team to ensure a unified presentation of the country.
In January 2017, Wood stated that the two films would be introducing "many, many, many new worlds" outside of Earth and others previously established in prior films. When designing Thanos's homeworld Titan, Wood intentionally wanted it to be as different from Wakanda as possible so the audience would not be confused when Infinity War cuts between both locations. The process for Titan started by designing what it looked like in Thanos's youth, with structures inspired by windmills forming the basic shapes of the planet's buildings. The team then designed the post-apocalyptic version of Titan that is seen in the film. An early idea was to film these scenes on location in the Atacama Desert in Chile, and though this idea was abandoned, the look of the planet was still inspired by that location. The production design team also looked at icebergs in Antarctica while trying to depict the structures on Titan falling apart in low gravity. Sand dunes in the Atacama Desert were also used as inspiration for the planet of Vormir, though the focus of the design of that planet was making the clouds look unnatural to give the sky a dream-like quality. The location of Nidavellir took more inspiration from the comic books.
Costume designer Judianna Makovsky focused on making clothes that fit the realistic style of the Russo brothers. For the civilian clothes worn early in Endgame, Makovsky wanted to adjust the color palette to be less bright than previous films to not draw away from the characters and storyline. The clothes worn by a depressed Thor were meant to still evoke his traditional costume, such as a bathrobe in the same red as his cape. For the digital characters in the films, Makovsky created clothes for small maquettes of the characters which the visual effects team could then replicate. The time-travel suits in Endgame were designed by Marvel's head of visual development Ryan Meinerding to combine elements of the technology related to Ant-Man, Iron Man, and the Guardians of the Galaxy. Because of how busy the costume team was during production, the time travel suits were never actually made for the film. Instead, after the design was finalized, the suits were created digitally. Wood designed the time-travel devices worn on the heroes' wrists.
Filming plan
The films were originally scheduled to be shot concurrently, with the Russos suggesting that "some days we'll be shooting the first movie and some days we'll be shooting the second movie. Just jumping back and forth". Anthony Russo felt it made more sense to shoot the films simultaneously, due to financial and logistical reasons, considering the large number of cast members, even though each part is its own distinct film. At the end of April 2015, Evans revealed that filming was scheduled to start in late 2016 and take place over nine months, lasting until August or September 2017. In January 2016, the Russos stated that filming would take place in Atlanta, Georgia, beginning in November 2016 and lasting until June 2017. In October, Feige stated that filming would begin in January 2017.
Renner, Olsen, and Bautista noted that the actors appearing in the films had not received scripts before the start of shooting, with Bautista specifically stating on January 22, 2017, that he had not received a script, despite beginning his filming on January 23. No actor in Infinity War had the entire script, though some who were in the film had access to more scenes than others. Additionally, fake and redacted scenes were used to help protect the secrecy surrounding the film.
In April 2017, Feige revealed that the sequels were no longer being filmed simultaneously as originally planned, but rather back-to-back, and indicated that filming for [the Infinity War sequel] Endgame would commence in August 2017. He explained, "We're doing them one right after another. It became too complicated to cross-board them like that, and we found ourselves—again, something would always pay the price. We wanted to be able to focus and shoot one movie and then focus and shoot another movie". As this decision was made a few months before the start of filming, some of the pre-production work was negatively affected. Some scenes from both films did ultimately get shot on the same day, mainly to accommodate actor availability.
Filming
Principal photography
Principal photography for Infinity War began on January 23, 2017, at Pinewood Atlanta Studios in Fayette County, Georgia. The working title Mary Lou was used as a reference to gymnast Mary Lou Retton, because the production wanted to "stick the landing" with the two films as an ending for the MCU's Infinity Saga. Pinewood Atlanta co-owner Dan T. Cathy described the films as "the largest film production ever with a [combined] $1 billion budget", which Feige stated was false; the first film had an estimated budget of $325–400 million, still making it one of the most expensive films ever made. Evans and Hemsworth earned $15 million each for both films.
Additional filming occurred in Scotland, including in Edinburgh, Glasgow, and the Scottish Highlands, with studio work taking place at Wardpark Studios in Cumbernauld. Filming in Scotland began on February 28, 2017. From March 18 through April 21, 2017, filming occurred in Old Town, Edinburgh on and around the Royal Mile, including High Street, Parliament Square, Cockburn Street, and Roxburgh Close and Old Fishmarket Close, as well as Waverley Station. Filming also took place at Durham Cathedral in Durham, England, in early May 2017 and in St Abbs. These scenes were actually shot for Endgame, with Durham Cathedral portraying 2013 Asgard, and St Abbs doubling for the town of New Asgard in Norway. Filming also occurred at St Giles' Cathedral and Inverness Castle. Other scenes shot for Endgame in 2017 were that of 1970 Camp Lehigh and 2012 Loki escaping with the Tesseract from the Stark Tower. In late June 2017, filming occurred in Downtown Atlanta, as well as Atlanta's Central Park in early July, before moving to Queens, New York in the middle of the month. Marquand shot both his Infinity War and Endgame scenes as Red Skull in just one day within eight hours, during which the writers informed him about who the characters with codenames actually were. Being the second-to-last shoot day for both films concurrently, as Brolin and Saldana had shot their scenes six months earlier and Renner and Johansson had shot their scenes three months earlier, Marquand shot his scenes with two duos of body doubles who gave him the lines to react two. For Infinity War's final scene, the filmmakers partnered with Indochina Productions, a studio based in Thailand, to acquire footage of the Banaue Rice Terraces at Ifugao, Philippines. According to Starlin, a 45-minute prologue depicting Thanos stealing the Power Stone from Xandar was originally shot to open the film instead of with the Children of Thanos' attack on the Statesman, but the Russos had the sequence cut because the filmmakers did not wish to spend money on the scene's special effects nor to make the film as long as Endgame. Filming of Infinity War concluded on July 14, 2017. The actors whose characters perished from Thanos's snap were shown previsualization of the scene on the day it was being filmed, which was the first time they had been aware of their characters' fates.
Cinematography
Trent Opaloch served as director of photography for the two films. Ahead of filming, the Russo brothers announced that both films would be shot using Arri Alexa IMAX cameras, the first time that a Hollywood feature film was shot entirely with IMAX digital cameras. The footage was digitally processed by IMAX and released in a 1.90:1 aspect ratio exclusively in IMAX theaters. Joe Russo said that because many of the characters are tall, the "IMAX aspect ratio works for those types of characters, and the landscapes are stunning. There are some really exotic landscapes in the film, and to be able to put those on an IMAX screen, it's an incredible tool to have as a filmmaker to be able to exploit that scale of aspect ratio." Opaloch noted that the production would use 12 of the Arri Alexa IMAX cameras, and that Arri was working on lenses with additional focal lengths for the camera. They hoped they would be available by the start of filming, since the production would "need all the accessories and lenses", as it was "such a behemoth of a project".
Infinity War was shot mostly with a single-camera setup, opposed to the three-camera setup used by the Russos on the Captain America films. The Russos went with this approach to make Infinity War "look bigger" over "the vérité look" the Captain America films had with three cameras. Opaloch described his visual style as more focused on the needs of each scene rather than an overall visual look for the films. For the scenes in Endgame that were recreating moments from previous films, Opaloch started by trying to replicate the work of the cinematographers on those earlier films, but then moved where the new scenes required him to. Approximately 890 hours of footage was shot between both films.
Opaloch says that the lighting in the scene with Stark sending his goodbye message to Potts "shows you where he is emotionally and physically" with the cyan coloring coming through the ship's window representing deep space and the starscape. The scene was filmed vertically with a steep ladder placed on a gyroscope so that it could be moved to simulate the movement in space, with the lighting placement being difficult to get right. While blocking the scene, the crew had to add a bank of lights underneath Downey so that there was "something in his low looks". For New Asgard, natural lighting was used in contrast to most of the rest of the film because they are in otherworldly environments.
Post-production
Post-production for Endgame began in earnest after the release of Infinity War, with Feige explaining that the second film would have a slightly longer time in post-production than some of Marvel's other films. Joe Russo ultimately felt that Endgame was his and his brother's "best work for Marvel", and felt that because the majority of the film was made before Infinity War released and the audience was able to respond to it, the sequel was "really pure... without any sort of external noise creeping in" to the story.
Editing
Jeffrey Ford and Matthew Schmidt served as editors for Infinity War and Endgame. Ford's process was to watch through dailies as they came in from set in the order they were filmed to see the progression of the actors performances. He would put together an early cut of the footage the day it was filmed, and then return to that cut at least several hours later if not the next day. Ford would then share his cuts with the Russo brothers on set, and when possible, would sit with the directors when they were not busy filming to go through footage up to that point. Due to the many visual effects required for the films, Ford worked with Gerardo Ramirez of The Third Floor to include previsualized sequences in the early cuts, as well as postvisualizing by adding basic effects such as backgrounds to the dailies. Ford also worked with Shannon Mills from Skywalker Sound to add early sound to his rough cuts.
Ford stated there was "a pretty solid cut" of Infinity War by October 2017, but the film was constantly being edited and restructured until very late in the process "until it sort of clicked in". Ford explained that the restructuring was focused on adjusting the rhythm of the film where the hand-offs between characters and storylines take place. This was important to get the pace of the film right, as early versions of the film were shorter than the final two-and-a-half hour runtime but felt slower when shown in test screenings. During filming, both editors worked on compiling the material from both films as it was given to them. Around December 2017, Ford began working exclusively on the edit for Infinity War, while Schmidt continued compiling the Endgame footage. Of his work on Infinity War, Ford was most proud of how he shaped the actors performances. Ford noted that the Avengers films are largely character-driven, with the action sequences involving a large amount of character moments. He had to work with several motion capture performances with the film, but Ford was able to cut these performances just as he would a traditional performance because the motion capture actors were on set with the other actors, and the visual effects team ensured the actors all had the correct eye-lines to match the characters that would be added digitally.
Once Infinity War was preparing for release, both Ford and Schmidt began "working in earnest" on Endgame, with editing beginning a few weeks before the release of Ant-Man and the Wasp in July 2018. Tia Nolan, Peter S. Elliot, and Craig Tanner all served as guest editors on Endgame to help Ford and Schmidt complete the film on time. In early November 2018, the Russo brothers said they were "about halfway through" editing the film. Ford described Endgame as "less editorially driven" than the previous Marvel films he had worked on, including Infinity War, with the mise-en-scène style of the sequel driven more by the blocking of the actors and camera on set than the editors' direction. Several shots in the film had to be stitched together by the editors and visual effects team from different pieces filmed at different times during production, including an action scene with Hawkeye in Tokyo that is shown as a single long take but was actually filmed in three or four different sections on a street in Atlanta. Because composer Alan Silvestri was unable to work on the score for Endgame until long after editing had begun for the film due to other commitments, Ford and his team used music from Silvestri's previous scores as part of a temp score. In March 2019, the Russos confirmed that the final film edit for Endgame was locked.
Additional photography
Joe Russo stated in July 2017 that there were a couple of unfinished scenes for Infinity War that would be shot "in the next few months". In March 2018, Marvel approached the Hudson Valley Film Commission about finding a location to film an Endgame battlefield in upstate New York. The commission suggested eight different properties, and Marvel chose the Staatsburgh State Historic Site in Dutchess County. The property was filmed over several days in June 2018 to get footage for the visual effects team. The Black Creek Preserve in nearby Ulster County was also filmed. Visual effect plates for Endgame were also filmed in Tokyo and Brazil, the latter for portraying an alien planet.
The Russos revealed on September 7, 2018, that main additional photography for Endgame had begun, with the cast returning to the Atlanta set. This was completed on October 12. During the shoot, motion capture footage was refilmed as requested by Weta Digital, while notes taken by Weta Digital Animation Supervisor Sidney Kombo-Kimboto for revisions on various story points had also been used as basis for the shoot. Weta Digital Visual Effects Supervisor Matt Aitken also attended the shoot. Due to the amount of filming that was required for these reshoots, the production split into four units, with the Russo brothers taking one each and the other two being supervised by visual effects supervisor Dan Deleeuw and Ford, respectively. Ruffalo indicated that beyond reshooting material, the additional photography would be used to finish the film since it had not been fully completed earlier in the year. Markus and McFeely described the additional photography as mostly adding things that they did not realize they needed, as well as a few things that they knew they needed but had been unable to film until then. Ford explained that these reshoots covered many parts of Endgame, including completing the final battle sequence. An important change was adjusting the presentation of the two versions of Nebula in the film since it was easy to tell the two apart in the script by their labels "Good Nebula" and "Bad Nebula" but less clear which was which on-screen. Another major change made through reshoots was altering the scene in which Romanoff dies: Originally, the scene featured her and Barton fighting Thanos and his forces, but in post-production, the antagonists were removed from the scene. One year after filming her scenes, Swinton was brought back for reshoots. Some key time-travel plot points had changed, leading to the inclusion of the scene where the Ancient One shows Hulk a visual timeline to explain to him the consequences if their mission fails. Thor was not originally planned to join the Guardians of the Galaxy at the end of the film, a decision that was made during the editing phase.
Visual effects
Visual effects for Infinity War were created by Industrial Light & Magic (ILM), Framestore, Method Studios, Weta Digital, DNEG, Cinesite, Digital Domain, Rise, Lola VFX, and Perception. These vendors were given sequences from the film beginning in February 2017. ILM, Weta Digital, DNEG, Framestore, Cinesite, Digital Domain, Rise, Lola VFX, and Perception all returned for Endgame, and were joined by Cantina Creative, Capital T, Technicolor VFX, and Territory Studio. Endgame has over 3,000 visual effects shots.
Digital Domain worked on creating Thanos for the film, producing over 400 visual effects shots. The company created a new facial capture application called Masquerade, based on the concept of machine learning through computer algorithms, specifically for the film, beginning work on the system 3–4 months before filming began to develop and test it. They presented their results to Brolin, the Russos, and executives from Marvel ahead of filming to demonstrate the subtleties Brolin would be able to bring to the character, which helped inform Brolin how to portray the character. Before the start of filming, Brolin's facial expressions were captured with ILM's Medusa system, which along with his motion capture data from set, were fed to Masquerade to "create a higher-resolution version of what Brolin did on set" so animators could apply that to the CGI character. Kelly Port, Digital Domain's VFX Supervisor, noted the design of Thanos took into account the versions that appeared in previous films, but were adjusted more toward's Brolin's features, which also helped with matching his performance to the digital character. Weta Digital worked on the fight on Titan, where they also created a separate version of Thanos for their needs, applying the performance capture data to the tools Weta developed for their work on the 2010s Planet of the Apes film series (2011–2017). Weta worked on 200 shots of him, along with their 250 other effects shots, that included the Titan environment and the other characters in the fight.
Digital Domain also created Red Skull, and was aided by reference material from The First Avenger to create the CGI character. Port noted there was "a wide spectrum of designs in terms of what he would look like", with some options including having Hugo Weaving reprise the role with make-up, had he returned, and a version "where the Tesseract did very bad things to his appearance, so he was much more skeletal". The final character design was "in between", one that "showed both that the Tesseract did affect him and choose him in some kind of way to be the guardian of the Soul Stone.
Music
Alan Silvestri, who composed the score for The Avengers, was revealed in June 2016 to be returning to score both Infinity War and Endgame. Silvestri started to record his score for Infinity War in January 2018, and concluded in late March. In early November 2018, the Russos had started to work with Silvestri on the score for Endgame, and scoring for the second film concluded in late March 2019. The films' scores were recorded at Abbey Road Studios in London with the London Symphony Orchestra.



