writing output video works, but is same as input video (not heat map)