There is quite rare problem with the H264 decoder. I have camera with 4CIF resolution which produces H264 BP+ stream, wherein SPS describes the resolution as 704x288 and with pixel aspect ratio 6:11. This is because the camera is MPEG4 and has interlaced video, but it can also stream in H264 but only Baseline profile which is actually does not support field encoding. So the camera encodes each field as a frame. I feed this stream to the decoder filter (I use DirectShow) but the output is corrupt. Normally output consist of two planes: Y and UV. The size of the Y plane is width*height, so the UV plane has offset width*height. But in my case UV plane situated in the memory with the offset width*height/2, so that the Y plane is overwritten. With the input resolution of 704x288 it should be OK, but because the stream is "interlaced" it has twice less lines than it must have, decoder produces the output with following structure: decoded line, line with zeros, decoded line, line with zeros, etc., which correct in my opinion, so that the output Y plane has size width*height, but I think because, the input resolution has size 704x288, the UV plane has offset width*height/2, and the Y plane is overwritten by UV plane.