A new video recording shows the alleged Marjory Stoneman Douglas High School shooter telling police that he had “demons” in his head who talked to him, and then later hitting himself in the face as he waits in an interrogation room.

The release of the footage, made public on Wednesday, followed a Florida judge ordering the release of a redacted transcript from the video earlier in the week, in response to a lawsuit filed by news organisations to obtain it under the state's freedom of information laws.

“I hear demons,” the alleged shooter, a 19-year-old former student at the Parkland, Florida, school he is alleged to have attacked, says in the video. “A voice, [a] demon voice”.

The officer asks the suspect to elaborate at one point, and the alleged shooter then says that he hears the voice about once a day, and usually in the afternoon.

A separate clip shows the suspect making his finger into the shape of a gun, and fake shooting it into his temple. He later punches himself in the head.

“Kill me,” he said in the video, then begins to cry. “Just f****** kill me”.

March for Our Lives – in pictures Show all 13 1 /13 March for Our Lives – in pictures March for Our Lives – in pictures Demonstrators chant during the protest for gun legislation and school safety AP March for Our Lives – in pictures Trevon ‘Tre’ Bosley, 19, of Chicago, the brother of Terrell Bosley who was killed in 2006 in a case of mistaken identity, speaks during the rally AP March for Our Lives – in pictures Marjory Stoneman Douglas High School student Delaney Tarr speaks at the rally AFP/Getty March for Our Lives – in pictures Protestors line the streets in Washington Getty Images March for Our Lives – in pictures People arrive for the March For Our Lives rally against gun violence in Washington, DC AFP/Getty March for Our Lives – in pictures Protestors carrying placards in Washington AFP/Getty March for Our Lives – in pictures Protestors hold up placards in Washington AFP/Getty March for Our Lives – in pictures Schoolchildren wear targets ahead of the rally Getty March for Our Lives – in pictures Attendees congregate in preparation for the march Getty March for Our Lives – in pictures Students brought a host of innovative placards AFP/Getty March for Our Lives – in pictures The movement’s main demand is the banning of assault rifles Getty March for Our Lives – in pictures Since the Florida shooting, students have called for urgent gun reform AFP/Getty March for Our Lives – in pictures In the wake of the Florida attack, President Donald Trump called for teachers to be armed AFP/Getty

Ryan Petty, the father of one of the 17 victims of the Valentine’s Day shooting, said that the video was tough to watch, but that it was important that society understood what brought the young man to turn the barrel on his former classmates and educators.

“It’s painful,” Mr Petty told the WPLG news channel after the video’s release. “I mean, it’s clear to me we’ve got a sick individual that I think at the time was coming to grips with what he had just done. I don’t like to think about that day, to be honest. But if we’re going to figure out how to stop this, we’ve got to try to understand it”.

The video, at one point, includes a segment where the alleged shooter — 19-year-old Nikolas Cruz — is visited by his younger brother, Zachary.

“People think you’re a monster now,” the brother said.

“A monster?” Mr Cruz asked.

“You don’t have anything and you’re not acting like yourself,” the brother, 18, said. “Like, why? … This is not who you are … Why did you do this?”

In response to the question, Mr Cruz chuckled slightly.

“Don’t even laugh at me,” his brother responded.

“I’m sorry, dude,” Mr Cruz said.

“I told you when we were walking down the hallway that it’s just me and you, and I had your back,” the brother said. “You probably felt like you had nobody but I, I care about you. I literally would pull my heart out for you”.