Just beyond the outskirts of one of South Africa's poorest slums, an 18th-century pirate ship rises ominously on the horizon. The huge wooden vessel is a surreal sight, stranded in a landlocked basin, surrounded by fields and mountains.

Nearby, on the same film-production lot, are replicas of a sandy Caribbean beach, a blood-soaked Nairobi hospital, a historic American town, Nelson Mandela's prison cell and the futuristic set of a tent-pole movie based on a Stephen King novel.

This is the first custom-built, state-of-the-art film studio in sub-Saharan Africa, and it's rapidly becoming one of Hollywood's favourite places to shoot. It touts itself as "the most successful film studio in the developing world" - a grand claim that might even be true.

After opening its doors in late 2010, Cape Town Film Studios has been so aggressively courted by so many movie producers that it was obliged to turn away 32 film projects in 2014 alone. (Sources say it turned away the latest Star Wars and Spider-Man films, although the studio refuses to comment.) Paradoxically, South Africa's own film producers have seldom managed to crack the global market. There hasn't been a true global smash hit from a South African production company since the apartheid-era comedy, The Gods Must Be Crazy, in 1980.

But the Cape Town studio has provided a different route for South Africa to enter the global film business. It estimates it has created 50,000 part-time jobs and attracted some $140-million (U.S.) in film investment over the past five years, reaching profitability faster than anyone expected in South Africa's troubled economic climate.

Now the studio is expanding again, having built another workshop and sound stage this year, and it remains solidly booked. The new sound stage was immediately grabbed for the film version of Stephen King's Dark Tower series, starring Matthew McConaughey and Idris Elba. Shooting on the first movie began in May.

"We're fully taken up, and we're already booked through next year, and possibly until 2020," says Nico Dekker, the ebullient South African who serves as the studio's chief executive officer. "It's remarkable. We're turning work away again, and I never thought that would be possible - to have every millimetre booked. I even had to ask two veteran producers to vacate their offices here because we needed the space. We could fill two or three Cape Town studios with what we're doing."

Twenty-two years after the death of apartheid, South Africa has become a popular film location, prized for its natural beauty, sunshine and diverse landscapes that can double for most parts of the world. But the challenge now is to convert its film sector from location-based shooting to a manufacturing-based studio industry, which could create three times as many jobs.

So far it seems to be succeeding. Built at a cost of just $30-million, the Cape Town studio is competing against $500-million studios in Europe and North America, yet it has attracted a host of big-budget Hollywood films, including the paranormal drama Chronicle (in which Cape Town doubled for Seattle), the Ryan Reynolds/Denzel Washington spy thriller Safe House, the comic-book adaptation Dredd, the hugely popular Mad Max: Fury Road, and the pirate-focused television series Black Sails, which is now shooting its fourth season in huge tanks on the Cape Town lot.

The studio has garnered high praise from producers and performers. British actor Stephen Fry, after completing his role in a television adaptation of The Borrowers here, tweeted that the Cape Town studio made Britain's famed Pinewood Studios "look v shabby." Andrew Macdonald, a producer of Dredd, told Time magazine that the Cape Town studio is one of very few in the world that can create a film looking like a $100-million production for less than half of that cost.

The 200-hectare studio, located about 30 kilometres from the centre of Cape Town, is majority-owned by two South African companies with close connections to the local television and film industries, including a company headed by Anant Singh, producer of the film version of Nelson Mandela's memoirs, Long Walk to Freedom - one of the early films shot here. The Western Cape provincial government owns a further 10 per cent.

Development of the studio had been foundering for several years before the 2008 arrival of Dekker, who had long experience in converting warehouses into film-production sites. "Nobody believed in it," he recalls. "The negative feeling was so overwhelming. The local film industry said it can't work, it's crazy, it's insane, it will go down in two years. But I believed in it. And everybody's starting to take it seriously now."

South African government support, including a program of 20 per cent rebates, has been crucial in attracting film projects from Hollywood and elsewhere. South Africa's weak currency, which has devalued drastically in the past two years, is another advantage.

But equally important is the studio's emphasis on thrift and innovation, duplicating the look of high-tech blockbusters at a vastly lower cost. Chronicle, for example, earned close to $130-million worldwide, but cost only about $10-million to make, despite the need for complex flying scenes, Dekker says. "[The studio] Fox was blown away."

www.theglobeandmail.com