“Suddenly, new housing began to go up,” Mr. Bauer said. “The new residents were not company workers, but people who’d had enough of Prague and wanted to get out.”

Now, Ms. Bezrova said, only 8 percent of the village’s population works for GZ Media.

The link between the company and the town has become gradually more distant, though poor retirees are still provided reduced-price meals in the company canteen, and Mr. Pelc showed up at the official opening of a new commercial center.

There are five restaurants in the village now, including a couple that cater to the cosmopolitan tastes of the Prague exiles. Housing prices have shot up, too, forcing many of the factory’s 1,400 full-time workers to commute.

Image The owner of the company, Zdenek Pelc, said GZ Media produced 300,000 records in 1994, but, with the global resurgence in the popularity of vinyl, it expects to produce 20 million this year. Credit... Pavel Horejsi for The New York Times

“Now our problem is finding space in the grammar schools for new children,” Ms. Bezrova said.

Much to the surprise of Lodenice, and to executives at GZ Media, vinyl records began to show new signs of life a decade ago, driven by their use in nightclubs and their embrace by a new generation drawn to the format’s warmer sound.

“From around 2005, the demand for vinyl grew steadily,” said Michael Sterba, GZ Media’s chief executive. “Then, it really took off in the last two or three years, like, whoosh.”

There are no reliable statistics for global sales of vinyl records, taking into account the large players like GZ Media as well as the many small operations that turn out a few thousand units.