title: Load RAW YUV video in OPENCV
body: <p>I have a problem with a RAW YUB video load in OpenCV. I can play it in  mplayer with the following command:</p>
  
  <pre><code>mplayer myvideo.raw -rawvideo w=1280:h=1024:fps=30:y8 -demuxer rawvideo
  </code></pre>
  
  <p>My code for load in OpenCV is:</p>
  
  <pre><code>CvCapture* capture=cvCaptureFromFile("C:\\myvideo.raw");
  </code></pre>
  
  <p><code>cvCaptureFromFile</code> always return NULL. But if I try with a normal avi file, the code runs normally (capture is not null).</p>
  
  <p>I'm working with the lastest version of OpenCV under Windows 7.</p>
  
  <p>EDIT: Output messages are</p>
  
  <pre><code>[IMGUTILS @ 0036f724] Picture size 0x0 is invalid  
  [image2 @ 009f3300] Could not find codec parameters (Video: rawvideo, yuv420p)
  </code></pre>
  
  <p>Thanks</p>