There have been heated scenes inside a Perth court where a man is on trial accused of posting material intended to incite racial hatred on the internet.

Brendon Lee O'Connell of Maylands is on trial, accused of posting a 15 minute video on YouTube which prosecutors say villifies Jewish people.

The video was filmed in South Peth and outside the Belltower in May 2009 and shows an exchange between Mr O'Connell and a Jewish man outside a supermarket.

He is also facing charges relating to comments he posted on his blog.

Mr O'Connell is representing himself in court and was joined by a large group of supporters, who have interjected during the judge's instructions.

Two men had to be removed from the court by security guards at the judge's request.

At one point Mr O'Connell spoke directly to the forewoman of the jury, asking her to form a grand jury to indict the judge on a charge of treason.

The hearing continues.