I am trying to create a screen recorder in Python. I have created one which gives the output in output.mp4 file. But when I opened the file, Windows says that the format is