COPS are probing a video of an orgy with four soldiers and a “hooker” at an Army barracks visited today by the Queen.

Sources say the troops “snuck in” the woman for a sex session in a communal kitchen area after a boozy night out.

The men involved are all believed to be members of the Fife-based Royal Scots Dragoon Guards, whose colonel-in-chief is Her Majesty.

The 60-second film, which surfaced during the Queen’s visit, is too explicit to show uncensored on a family website.

In it, two soldiers are seen having sex with the woman while the others gyrate to dance music and film the romp on their phones.

One of the spectators is shown performing a solo sex act while another swigs from a can.

All four men are naked and heavily tattooed in the clip, which has spread like wildfire via WhatsApp among hundreds of soldiers across the country.

The woman’s face is obscured throughout but the soldiers have already been identified by commanders.

They have been warned they face sanctions — though it is understood the men have angrily denied claims the woman is a prostitute.

Investigators believe the incident took place at the Dragoon Guards’ Leuchars Station, near St Andrews, which is home to around 1,500 personnel.

The Queen was there today to present a new standard to the regiment and welcome troops home from a six-month tour in Cyprus.

On her visit she was met by the Duke of Kent before inspecting a parade and speaking with families of Army personnel.

The men who appeared in the sex footage were not among those allowed to greet Her Majesty.

Police in Scotland have been asked to examine whether a crime was committed. However it is expected the matter will be handed back to the Army for possible further action.

Sources said last night the men could be sanctioned – but only after all the facts had been established.

The Royal Military Police is already aiding the cops in their investigations.

An Army spokesperson said: “We are aware of allegations involving soldiers from Royal Scots Dragoon Guards. This is being investigated by Police Scotland.”

A Police Scotland spokesman said today: “With the co-operation of the Military Police, inquiries into this matter are continuing.”

MoD officials plan to make the Leuchars Station the main hub for Army activity in Scotland. Most based there are men under 25.