Police have released shocking vision of a 14-year-old boy living in squalor when he was arrested, after vile footage emerged of a boy being viciously set upon by a group of youths in a suburban park.

Police vision shows the 14-year-old asleep on a couch when officers swarmed a trash-ridden home.

Piles of rubbish, bottles, food items, bags and clothing can be seen littering a filthy floor.

The boy raises his arms as officers swoop in and place handcuffs around his wrists.

Detectives charged the teen with intent to harm, did an act causing bodily harm and aggravated armed robbery.

He faced the Perth Children’s Court and was remanded in custody on Friday.

Police confirmed they have arrested another four teens over the incident including two boys aged 16 and 14, and two girls aged 14 and 13.

A police spokesman said the investigation remained ongoing.

Detective Inspector Gary Butler told 6PR the footage was “distressing.”

“It was a very violent attack, and what we need to remember is that you know we’re just not sure what’s going on in this young fella’s life or his family or his school or the social environment,” he said.

“We’ve provided significant support to him and the family, and as a result of that, he’s now confident enough that he wants to tell us his story.”

Detective Butler said the victim was quite lucky his injuries weren’t more severe, but it was the whole mental anguish of being a victim of crime in a gang attack.

“He’s holding up well at the minute, and we’re providing all the support we can give to him,” he said.

Detective Butler said a number of parents of the alleged people involved came forward after the video circulated on social media.

“It’s clearly a very violent video that gets uploaded,” he said.

“In this particular instance … the families actually came forward.”

Footage from Ellenbrook shows a boy on the ground being punched, kicked and threatened with what appears to be a large kitchen knife, as a group of teenagers surrounds him at Coolamin dog park.

The 31-second video, which has spread widely across social media including a local crime watch page, captures a chaotic and confronting scene.

The boy, dressed in a black hoodie and black pants, is seen on the grass as several youths crowd around him and pull at his clothing.

“Take your f**king jacket off,” one youth can be heard demanding as the boy tries to break free.

When the teenager attempts to walk away across the park, one of the group runs after him and shoves him hard from behind, knocking him face-first onto the ground.

Moments later, two attackers begin punching, kicking and stomping on his head and upper body as he curls up and tries to protect his face.

As the assault unfolds, voices in the group can be heard yelling abuse and urging others to “strip him naked”, while several youths stand nearby recording the attack on their phones.

The boy can be heard screaming “no” as he rolls on the grass and tries to shield himself.

At one point, he is kicked in the face.

WA Police Minister Reece Whitby described the footage as deeply confronting and condemned the violence.

“The kids engaged in this sort of violence is not acceptable,” Mr Whitby said.

“I saw what appears to be a kitchen knife … one slip, one wrong move, could have had tragic consequences that would have might have ended a life and might have resulted in a very serious outcome for those young people involved.”

Mr Whitby said police were investigating and would make sure “the law is enforced, because this is unacceptable.”