A scene from “Katy Perry: Part of Me” by ParamountParamount/Courtesy Everett Coll

(
)

Viacom’s quarterly revenue took a dive after a ratings slump dragged down its cable networks.

Double-digit ratings declines for its biggest networks, including MTV, Comedy Central and Nickelodeon, contributed to a 17 percent drop in revenue.

Viacom’s Paramount film division also suffered a big hit due to tough comparisons. The studio released just one new film in the quarter ended September, “Katy Perry: Part of Me,” compared with last year’s $1 billion blockbuster, “Transformers: Dark of the Moon.”

Still, it’s the sluggish ratings for Viacom’s cable networks, which account for the bulk of revenue, that has Wall Street on edge.

For the year, MTV’s total viewership in primetime is down 27 percent; Nickelodeon dropped 26 percent; and Comedy Central is down 19 percent.

MTV is also losing the show that helped bring the network out of its last ratings funk, “The Jersey Shore.”