Shia LaBeouf
Shia LaBeouf has starred in the Transformers franchise since 2007 REUTERS/Neil Hall

It is widely credited for propelling his movie career but it appears actor Shia LaBeouf has turned his back on the Transformers franchise.

Video footage has emerged of the 29-year-old actor delivering a freestyle rap to a small group of people in South Dakota when a member of the audience mentions the Autobot Bumblebee, a character from the action film.

LaBeouf rapped: "Nah, none of that. Transformers is the dummy rap and I'm so past that. I want some new s**t".

The Nymphomaniac star has appeared in three Transformers films since 2007, playing the role of Sam Witwicky.

In April 2015, the Hollywood star was said to have hit out against the franchises' director Michael Bay.

He told The Hollywood Reporter: "Bumblebee never sounds real, it's just a f*****g name. The name alone you can never make real, no matter how much you put into it, because on the other side you have a director who doesn't believe it either."

Watch Shia LaBeouf freestyle rap:

During the freestyle, LaBeouf compared himself to hip-hop legend Tupac Shakur, claiming he is the "best to do this" since the rapper died in 1996.

Other lines included: "I'm so underground rap kids call me Tubman," in reference to form slave turned emancipator Harriet Tubman, and: "Still breaking down potatoes like I'm f*****g Galileo."

It is believed the video was filmed before the Indiana Jones star injured himself on the set of his new movie American Honey on 24 June.

According to TMZ, LaBeouf was performing his own stunt while shooting scenes on the North Dakota set when a mistake was made, causing injury to the actor.

The actor was treated at a nearby hospital where he was reportedly given 20 stitches and 13 staples to injuries sustained to the left side of his head and right index finger.

A rep confirmed that the movie star was involved in an accident and was sent home to recover, before returning to set the following day.