A police sting yesterday bagged two men – including a convicted murderer – who tried to extort $1 million from megawatt couple Marc Anthony and Jennifer Lopez in exchange for their stolen wedding video, The Post has learned.

Tito Moses, 31, a murderous ex-con from Newark, and Steven Wortman, 40, a retired postal employee from Sayreville, N.J.,, allegedly thought they would be making a big score with Anthony’s legal advisers after several weeks of negotiations. But they were stunned when undercover cops from the Major Case Squad grabbed them at 12:35 p.m. at the corner of Sixth Avenue and Grand Street.

“They were shocked because they thought they were coming for their payday – and instead, they got the surprise of their lives,” said Inspector Michael Hines, the unit’s commanding officer.

The wedding pictures were on Anthony’s laptop computer, which was stolen with his 2005 Cadillac while he was shooting a music video in Linden, N.J., last Oct. 30.

The car was recovered in Newark on Nov. 11, but the salsa king’s computer was missing along with their June 2004 wedding video.

Around Dec. 8, the TV show “Access Hollywood” received a call from a man identifying himself as “Mr. Moses,” offering to sell the video for a hefty price. Officials from the show contacted to Anthony’s representatives, who told the NYPD. Within days, the Major Case Squad came up with the name Tito Moses as a possible suspect.

The Post’s PAGE SIX reported on the missing laptop Dec. 18, and negotiations started at $1 million.

Anthony’s undercover “advisers” wrangled with Moses, convincing him to finally accept $150,000 in two checks and set up yesterday afternoon for the handoff. Cops said Moses’ criminal record includes arrests for robbery, gun possession and attempted murder in addition to the murder case that sent him to prison for 15 years, but details of those cases were not immediately available. They said that he was a suspect in a slew of high-end car thefts and that Newark cops considered him a “one-man crime wave.”

By contrast, Wortman apparently has never been arrested, they said.

Calls to Anthony’s and J.Lo’s representatives were not immediately returned.