Al Pacino is in talks to star as an aging rocker in Warner Bros.’ “Imagine,” directed by Dan Fogelman.

Project was set up last November with Steve Carell set to star as the rocker’s son. Carell dropped out recently due to scheduling conflicts but remains a producer via his Warner-based Carousel Prods. banner with Denise Di Novi.

Story, penned by Fogelman, centers on a rocker who decides to change his life after discovering a letter written to him by John Lennon — prompting him to track down his biological son, whom he’s never met. Forgelman, whose writing credits include “Tangled,” Carell comedy “Crazy Stupid Love” and “My Mother’s Curse,” will make his directorial debut on “Imagine.”

Pacino won an Emmy for his role as Jack Kevorkian in “You Don’t Know Jack.” He became attached last month to portray mobster Neil Dellacroce in the indie biopic “Gotti: Three Generations.”

Pacino’s repped by ICM.