
I have a suspicion that some LAV splitter/decoder settings may interfere ?! - but I don't understand enough of that to get to the bottom of it. And one video encoded in mpeg4 (right) which I cannot open. I am also attaching GSpot panels of one video encoded in xvid (left) which I can open. I am using openCV3 and python 2.7 under Windows 64bit Should openCV be able to open the mpeg4 encoded avi file?

The same procedure works fine if I use libxvid for encoding instead but I want to use mpeg4 because it encodes faster (I need to encode several streams simultaneously). Now I am trying to open the file like this import cv2

The video file was generated in ffmpeg using this command: ffmpeg -y -f rawvideo -vcodec rawvideo -s 2048x2048 -r 30 -pix_fmt gray -i \\.\pipe\pipe1 -qv 5 -vcodec mpeg4 out.avi I am stuck trying to open a mpeg4 video file in openCV.
