I'm right there with you bro.
One thing that helps me is to remember that the images or video are real people, and should be my sisters in Christ, but likely are not. That makes me want to pray for them instead.
Another thing is that when I have indulged these impulses, I've noticed that it changes my view of women in daily life, most women I see become objects as it were, and that is not right or fair or anything good.
Finally, once I was at a traffic light, I glanced over at the girls in the mustang beside me and found to my surprise that they were dressing *me* down with their eyes. (Yeah, they must have been blind) But I was shocked that *I* felt violated. Shocked, I tell you, and I was shocked I was shocked. That led me back to thought number two above. Right is right and wrong isn't.
Still, I will give in sometimes, just like a dog returning to his vomit. I agree, it is supremely frustrating. I hate it. I've pretty well figured out that it seems like the harder *I* try to "be good" in this area or others, the more I fail, and the worse I feel. I've absolutely nothing to do but give it up to Jesus and trust Him to fix me. I can't do it. I figure He knows me better than I know myself, and knows I'm sick, and knew what He was buying when He paid the price.
I'm so looking forward to being free of sin, and being with the Lord, and every relationship being good and right.
Keep the faith.