New footage released by prosecutors shows the four chaotic seconds when a gunman burst from a hotel doorway and charged through a security checkpoint as President Donald Trump was attending a press gala.

The CCTV video appears to show a security agent opening fire on the sprinting gunman, who raises a long-barrelled weapon, though it is unclear if he discharges the firearm.

The clip does not show the bit where the alleged attacker fell over and was arrested on Saturday at the Washington Hilton, as investigators have recounted.

Cole Tomas Allen, 31, is charged with attempting to assassinate President Trump at the White House Correspondents' Association dinner.

The US justice department says the video also shows Allen "casing the area" at the hotel, on the day before the dinner was held in a basement ballroom there.