A woman has been filmed covering her face in shame and leaving after the man she attended a San Francisco Giants baseball game with grabbed a ball that was still in play.

Footage shows the man standing in the front row of the stadium and leaning over the barrier alongside other men, in an attempt to catch a ball hit by the Giants. It appears the group thought the ball was foul, when it was actually still in play.

He successfully grabs the ball in his mitt, as an Arizona Diamondbacks player runs towards the barrier with outstretched arms.

The video then shows him and surrounding fans cheering and clapping, before they hear booing and their expressions quickly change to regret and confusion.

A woman can be seen sitting beside the man with her arms folded during the unfolding blooper, and she leans down to cover her face as the booing intensifies.

The man can be seen whispering to her as other fans pat him on the back.

The woman then shakes her head and covers her face with her hooded jumper, and they walk up the stadium to leave.