Fix getFramesCount for YUV4MPEG format