Writer-director M. Night Shyamalan is in talks to adapt Yann Martel's best-selling novel Life of Pi as a movie.