How to get rid of flickering when filming a monitor screen with a video camera

How to get rid of flickering when filming a monitor screen with a video camera

When I use my Sony camera recorder to film a computer monitor, these continuously moving lines show up moving up and down the screen. When I looked up on the internet how to get rid of it, every article talked about using a camera with an adjustable "shutter speed", which would cost a lot more than my camera. I figured out a way to fix this without spending any money at all.