Four men have been charged after a brawl involving about 30 people at a Sydney park broke out before an A-League game on Friday night.

Police said the brawl took place at Ward Park, Surry Hills, about one hour before the match between Sydney FC and Melbourne Victory.

Superintendent Allan Sicard said after analysing video footage, police followed four Victorian men to the Sydney Football Stadium where they were arrested.

"We were able to identify four people out of that incident again with assistance from the media with that.

"We were able to use images and arrest four people with affray and violent disorder offences."

Photos and footage of the incident show two large groups of men fighting, with many of them carrying roadworks poles and orange traffic cones.

The four men — three 18-year-olds and one 19-year-old — were charged with affray and violent disorder, and will appear in court next month.

A 24-year-old man who was sitting with the men during the arrest was searched by police and found to be in possession of a small amount of ecstasy.

He was given a Field Court Attendance Notice, but his court date is not known.

A-League organiser Football Federation Australia (FFA) is working with police in relation to the brawl, a spokesperson said in a statement.

"[FFA] will consider its own action, including whether to put individuals through the FFA's banning process, depending on the outcome of the investigation," the spokesperson said.

Police are still investigating the brawl and urge anyone with information to contact Surry Hills police or Crime Stoppers.