AVI file not playing in windows media player?

301 views Asked by At

I am creating AVI file using gwavi library. can check the gwaviLib link . We are using Win32 API to create the AVI file.

I am the AVI file by capturing the images. The images is saved in a output stream in PNG format. So when the library creates the AVI successfully , I am not able to open the AVI in Windows media player. It opens up properly in VLC media player.

So, I thought that there is some issue with the Windows media player.

But then I saved the captured images in the output stream in JPEG format. This time the AVI created opened in the Windows media player as well.

So, I am not able to decipher that why the AVI created with PNG images have the issue playing in Windows media player and not the JPEG images created AVI.

But with JPEG images the quality of the AVI decreases as it is compressed images so I need to use PNG images to create the AVI file but in this case it is not opening in the Windows media player but playing properly in the VLC media player.

So what is the actual problem in playing the AVI created using PNG images ? Is it the Windows media player problem or the issue is with the gwaviLib ?

Need help !

0

There are 0 answers