The movie was the 1966 British / Italian film “Blow-Up.” Directed by Michelangelo Antonioni and starring David Hemmings, Vanessa Redgrave, Sarah Miles, Jane Birkin and John Castle, the plot centered around a day in the life of a British photographer who suspects he may have accidentally snapped a picture of a murder while shooting random pics of London.
The Yardbirds appear as an unidentified bar band in a nightclub more than halfway through the film, and the footage represents one of the few film clips of the band when Jimmy Page and Jeff Beck were both members. What’s more, Beck does his best Pete Townshend imitation by smashing his guitar.
Also, if you carefully study the nightclub audience, you might even spot a pre-Monty Python Michael Palin.
Wikipedia says The Yardbirds wasn’t the first band director Antonioni chose for the movie. He originally wanted The Velvet Underground, but declined once he realized he’d have to pay for flying the band’s entire entourage to England.