The leader of Al-Qaida's wing in Yemen has vowed to attack the United States, in a video apparently showing a gathering of the group celebrating a mass jailbreak of fighters.

In February, attackers mounted a bomb, grenade and gun assault on the main prison in Sanaa in which 29 inmates, including 19 jailed for terrorism-related crimes, escaped.

The 15-minute video, dated March 2014 and posted on a website used by Islamists, shows masked men waving Al-Qaida's black flag and celebrating the arrival of the freed prisoners.

Its authenticity could not be independently verified.

"The Crusader enemy, dear brothers, still possesses cards which he moves around. We have to remember that we are always fighting the biggest enemy," says a man speaking in the open in a mountainous area, whom the video identifies as its leader Nasser Wuhaishi.

"We have to remove the cross, (and) the bearer of the cross, America," said Wuhaishi, who appeared with his face uncovered, wearing a T-shirt and sporting the dagger common among Yemeni men.

The video, entitled "Images from the reception of the freed prisoners from Sanaa's central prison", included testimony from fighters involved in the jailbreak.

"We planned that we would need 10 hand grenades," said a man identified as Munir Bouni.

Another man said: "Once you got out, you turned right and the guys were waiting."

Drinking juice and singing songs

The video showed men arriving in white pickup trucks and others greeting Wuhaishi. Others carried rifles, and some sat on the ground drinking juice. Some spoke or sang through microphones and loudspeakers.

Abdulrazzaq Jamal, a journalist who has interviewed members of Al-Qaida in the Arabian Peninsula (AQAP), said it was the largest known gathering of Al-Qaida in Yemen.

"It included about 400 people, and these are not all the members of the group. This gathering is a confirmation that Al-Qaida is gaining strength and influence," he told Reuters.

Formed in 2009, AQAP has attacked military targets, tourists and diplomats in Yemen and taken over territory for long periods.

U.S. drone attacks have killed several suspected AQAP figures, including Anwar Awlaki, a U.S.-born Islamist cleric accused of links to a plot to bomb a Detroit-bound airliner in 2009 and U.S. cargo planes in 2010.

"Al-Qaida will gain strength as there continues to be division and weakness in security performance," said Ali Sarari, political adviser to Prime Minister Mohammed Salem Basindwa.

"The last appearance (the video) shows that Yemen is confronting a dangerous challenge. And if the security performance continues in this manner, then Yemen will face an even bigger failure than what it has faced in the past."