Jordan's government has released footage of the moment three US military trainers were attacked and killed by a Jordanian soldier at an army base in the country's south.

Maarik al-Tawaiha, 39, was convicted by a military court on 17 July for the attack which took place in Al-Jafr on 4 November.

Al-Tawaiha was sentenced to life in prison with hard labour for the killing along with a charge of "insulting the dignity and reputation of the armed forces and violating military orders," al-Jazeera reported.

Al-Tawaiha claims that he thought the base was under attack and initial accusations said that the Americans failed to stop at a gate, although family members had said that video footage showed that that was not the case. Jordan reportedly ruled out terrorism in the case.

Matthew Lewellen, Kevin McEnroe and James Moriarty were all killed in the incident.

The video shows the trainers seemingly attempting to wave and establish that they are not enemy combatants. Al-Tawaiha is seen moving towards two soldiers who have run from their vehicle and taking cover before being subdued.