The Crimson Pirate (1952)
The Crimson Pirate is a 1952 American adventure film directed by Robert Siodmak. It stars Burt Lancaster, who also co-produced the film, as Captain Vallo, the eponymous pirate, and is set in the Caribbean late in the 18th century, on the fictional islands of Cobra and San Pero. Tongue-in-cheek, it provides light comedy touches in an otherwise dramatic story.
More at Wikipedia.