In the video, the person is using a smoothing filter (average) just for developing concept. While in CNN we do convolution and convolution is done in this way product(input, weights). The average filter doesn’t have any weights its only requirement is window size while in CNN we are trying to learn the weights of the kernel. Different filters have there own pros and cons but that is another discussion