Viral videos tend to have a short lifespan online. The best ones might attract a few million views on YouTube and get a mention on a late-night talk show before fading into oblivion.

But in one of the stranger twists in recent pop-music history, a musical remake of a local news clip transcended YouTube fame and reached the Billboard Hot 100 chart in August.

It was a rare case of a product of Web culture jumping the species barrier and becoming a pop hit.

The song’s source material could not have been more unlikely: A local TV news report from Huntsville, Ala., about an intruder who climbed into a woman’s bed and tried to assault her.

But with some clever editing and the use of software that can turn speech into singing, the Gregory Brothers, a quartet of musicians living in Brooklyn, transformed an animated and angry rant by the victim’s brother into something genuinely catchy.