How the media portrays rape depends on what type of show or movie it is. If it's some kind of movie involving a family, then it may be a family member. If it's some kind of action flick, then it's not likely to have the main character's family mentioned at all. Sitcoms try very hard to be family friendly, and the story line can be either a stranger or a family member.
LDS, rape is usually taboo in the media, and if it is portrayed in ANY way other than an evil act committed by a villain, then the movie itself gets an NC-17 rating.
If it appears at ALL, the actual crime is rarely even shown on-camera. A man may threaten to do it to a woman or insinuate that he will do it in a movie, but actually
doing it is rare, and if that happens, it's usually off-camera.
Some notable examples of where this crime is portrayed as
very evil:
The Devil's Advocate: In this movie, it only takes the
implied rape to convince the protagonist to turn on the villain,
and convince him that his evil father is actually Satan.
In the film version of
Daredevil, the only bad guy that the hero is known to
kill is a rapist who got away with it.
In
Con Air, every single character, including serial killers Cyrus the Virus and Garland Greene, are disgusted by serial rapist Johnny 23. Cyrus threatens to kill him if he tries to do it to a captive female guard. As Cyrus tells him, "I despise rapists. For me, you're somewhere between a cockroach and that white stuff that accumulates at the corner of your mouth when you're really thirsty. But, in your case, I'll make an exception." (He's eventually beaten to death by the hero.)
Spike from
Buffy the Vampire Slayer gains sympathy from every character up until Season 6 when he tries to do this to Buffy, at which point everyone, even Dawn, refuses to help him. (It's probably the only truly evil thing her ever did on-camera.) And it's also the point where Spike himself realizes he's crossed the line, and finally sets himself down the path where he regains his soul. Also, the crime that turns Warren into an absolute monster is the attempted rape and then murder of Katrina. He's beyond redemption at that point.
In JRR Tolkien's
The Silmarillion Morgoth's crimes include genocide and countless betrayals, but the narrative goes out of its way to call out his desire to rape Lúthien as "a thought more wicked than any he had before conceived."
Want me to go on? Because I know a LOT more examples.