VideoWriter MJPG AVIs Do Not Play in Windows Media Player

asked 2016-06-08 15:25:09 -0600

I am using OpenCV 3.1 with Windows 7 64 bit. When I try to write a move with VideoWriter using MJPG compression, the movies will play back correctly in FFMPEG but will not play using Windows Media Player. If I rebuild OpenCV so that it doesn't use the new built-in MJPEG encoder, then the files that are created (by FFMPEG, I assume) work fine in FFMPEG player and Windows Media Player.

Has anyone else experimented with this?

edit retag flag offensive close merge delete

Comments

Wow! I didn't know there was anybody ever to start Windows Media Player! It has very limited file format support. Then, the installed codecs can help this, but can also make it worse. Sincerely, I think WMP is the Internet Explorer 6 of media players.

I suggest to use VLC player instead!

kbarni gravatar imagekbarni ( 2016-06-09 04:04:52 -0600 )edit