No way to know for sure. As someone who has experienced a lot with cameras (including being fooled by the manufacturer), I can tell you that the megapixel amount is just one side of the story. Udemy will look at the overall quality of your video. Megapixel is a contributing factor, but not a determining one. Best way to know for sure is to upload a test video. Then Udemy comments on that. You can upload a test video as part of the course creation process.