“I’m always angry,” he says at one point, and while “The Avengers” is hardly worth raging about, its failures are significant and dispiriting. The light, amusing bits cannot overcome the grinding, hectic emptiness, the bloated cynicism that is less a shortcoming of this particular film than a feature of the genre. Mr. Whedon’s playful, democratic pop sensibility is no match for the glowering authoritarianism that now defines Hollywood’s comic-book universe. Some of the rebel spirit of Mr. Whedon’s early projects “Buffy the Vampire Slayer,” “Firefly” and “Serenity” creeps in around the edges but as detail and decoration rather than as the animating ethos.

“I aim to misbehave,” Malcolm Reynolds famously said in “Serenity.” But for all their maverick swagger, the Avengers are dutiful corporate citizens, serving a conveniently vague set of principles. Are they serving private interests, big government, their own vanity, or what? It hardly matters, because the true guiding spirit of their movie is Loki, who promises to set the human race free from freedom and who can be counted on for a big show wherever he goes. In Germany he compels a crowd to kneel before him in mute, terrified awe, and “The Avengers,” which recently opened there to huge box office returns, expects a similarly submissive audience here at home. The price of entertainment is obedience.

“Marvel’s The Avengers” is rated PG-13. Blam. Splat. Kapow. Mostly bloodless.