The Taliban released a video today showing fighters executing 16 Pakistani tribal police officers who were captured in a cross-border raid from Afghanistan earlier this summer.

The video shows the policemen lined up on a hillside with their hands tied behind their backs, standing in front of armed Taliban fighters wearing scarves to hide their faces.

One of the insurgents accused the men of executing six children from Pakistan's Swat Valley by firing squad.

"They are the enemies of the religion of Allah," the man said of the police officers.

He and several other fighters then opened fire on the policemen, who crumpled to the ground.

Several of them were still moaning, and one fighter is seen walking down the line shooting the policemen in the head.

The video was posted on the LiveLeak website and included a note saying the policemen were captured when the Taliban staged a cross-border raid from Afghanistan on June 1 in Pakistan's north-west Dir district.

Pakistan army spokesman Major General Athar Abbas confirmed the contents of the video and said the Taliban fighters who executed the policemen came from the Swat Valley, an area that used to be controlled by the militant group.

The Pakistani military launched a large offensive in Swat in 2009, but many of the fighters slipped across the border into Afghanistan.

Hundreds of Taliban fighters crossed into Upper Dir on June 1 from Afghanistan's eastern Kunar province.

They killed at least 30 members of the security forces over three days of fighting before being forced back across the border by the military, said Abbas.

The Pakistani military has complained that Afghan and Nato forces have not done enough to target Taliban sanctuaries in Kunar, from where the US withdrew most of its forces over the last year.

Afghanistan and the US have criticised Pakistan for not doing enough to target sanctuaries on its side of the border filled with militants who regularly launch attacks against Nato troops in Afghanistan.