Two-time Academy Award winner Tom Hanks opened up to Enstars about filming Captain Phillips, the true story of a 2009 high seas hijacking and kidnapping, at a private screening on Monday.

Hanks shared several tales about the movie-making process. He said when filming began with the actors who played Somali pirates, it felt so real, it was "chaotic" and really scared him.

"When they blew that door open and came in screaming at us, I saw four of the skinniest, scariest human beings on the planet and the hair did stand up on the back of our heads," Hanks revealed. "It was chaotic. It seemed like the rules had gone right out the window. In one way, we're just trying to survive the scene."

Tom Hanks Reveals Battle with Diabetes on 'Late Night with David Letterman' [VIDEO]

Hanks said director Paul Greenberg's strategy of keeping the Somali actors away from him and the actors who played the ship crew until it was time to film to help build tension between them really worked.

"We were scared in the best way possible because we know the guns aren't loaded, but those guys came in pumped up with all of the anxiety of being there in the first place," he added.

Hanks fessed up that there were mistakes made during the film shoot. He and Greenberg learned from the US Navy SEAL there was one key scene that was shot inaccurately.

"The scene on the USS Bainbridge where the roles are reversed, [Somali pirate Muse is] the prisoner and I'm a free man and our eyes meet through one of the long passageways....later on we found out from the Navy SEAL and from the Navy personnel that that would never ever happen in any way shape or form," he joked. "That is 101 security. These [two men wouldn't even] know they are on the same ship. So we found that out later. So we were like ok, we're 0 for 2 so far [with mistakes]" he quipped.

Hanks provided an Oscar-worthy performance in an emotional scene where Capt. Phillips is in a state of shock after he is rescued from the US Navy SEAL. The scene is so riveting a film critic told him it was his comparable to his level of performance in Philadelphia and Forrest Gump. Hanks surprised the audience when he shared he did not know he was going to film that pivotal scene until the day of. He admitted that gearing up for the scene become so emotionally taxing, he called it "a day's work."

"He had a very emotional cracking there," Hanks said of Phillips' coming around after the traumatic experience he just survived. "We shot a version of it and it worked fine and it was exactly what was called for.

"I can't speak for Paul but we both thought, 'That was quite solid, a journey man's effort. We can take that off the list.' Next!"

Captain Phillips is the true-life story of the April 2009 hijacking of the Maersk Alabama. It led to a five-day drama in the high seas near Somalia between Somali pirates that kidnapped Capt. Phillips and the US Navy SEAL. After Phillips survived the harrowing ordeal, he wrote a memoir, Captain's Duty, about the experience. It was released in 2010.

The book-to-movie adaptation was directed by Paul Greengrass whose feature film roster includes The Bourne Supremacy, The Bourne Ultimatum, Bloody Sunday and United 93. Hanks has won two best actor Oscars for Philadelphia and Forrest Gump. He has also been Oscar nominated for his roles in Big, Saving Private Ryan and Cast Away.

Captain Phillips will arrive in theaters nationwide on Friday, Oct. 11.