Sir Andy Murray has revealed that his gruelling journey back from serious injury will be the subject of a new film.

Andy Murray: Resurfacing will be available from near the end of the month and documents the two-time Wimbledon champion’s eventful past two years. The Scot almost retired due to a chronic hip issue before making a winning comeback after an operation.

Murray claimed a first singles title on the ATP Tour for more than two-and-a-half years with victory over Stan Wawrinka in the final of the European Open in Antwerp last month.

Murray, also a double Olympic gold winner, underwent hip resurfacing surgery at the end of January – an operation no singles player had ever attempted to return from.

The 32-year-old, who has just celebrated the birth of a third child, a boy, with wife Kim, is currently taking a break until the Davis Cup finals in Madrid next month.

The feature-length documentary will give an insider’s access into the player’s life as he recovered from the injury – capturing the physical, mental and emotional challenges he had to overcome along the way. The feature-length documentary will be available on Amazon Prime Video from November 29.

Murray said: “I knew I was at a critical point in my career.

“At times it felt like I was letting people down by not being able to perform on court, and I wanted to give them an insight into what I was going through.

“I wanted to show the ups and downs of professional sport.

“The film will take you on a journey through what were some of the lowest, most difficult periods of my life both physically and mentally, and will hopefully show and inspire viewers, that with the right mindset and work ethic, anything is possible”.

Murray has already opened up about the “mental struggle” he faced during his recovery from hip surgery.

He had the hip resurfacing operation in January, after years of living in agonising pain – that got so bad he feared would end his career.

The three-time Grand Slam champion said it got so bad he struggled to dress himself, and day-to-day activities like walking the dogs, became almost unbearable.

He said: “It wasn’t fun a few years ago, I wasn’t enjoying it at all. The results weren’t there any more.”

In January last year, he had the first of two operations on his hip, and vowed to return to the competitive arena.

But just 12 months later, a tearful Murray told a news conference before the Australian Open, the tournament could be his last. Seven months later and Murray celebrated his first ATP singles match victory since surgery, defeating Tennys Sandgren at the Zhuhai Championships.