During which festival did Captain Phillips open ?
The screenplay was written by Billy Ray , and is based on the 2010 book " A Captain 's Duty : Somali Pirates , Navy SEALs , and Dangerous Days at Sea " by Richard Phillips with Stephan Talty .