title: Service a live OpenCV H.264 stream through Live555 on Windows
body: <p>Totally new to this! As the title says, I'm trying to serve a stream from OpenCV through Live555 using H.264 that is captured from a webcam.</p>
  
  <p>I've tried something like:</p>
  
  <pre><code> #define LOCALADDRESS "rtsp://localhost:8081"   // Address media is served
   #define FOURCCCODEC CV_FOURCC('H','2','6','4') // H.264 codec
   #define FPS 25                                // Frame rate things run at
   m_writer = cvCreateVideoWriter(LOCALADDRESS, FOURCCCODEC, FPS, cvSize(VIDEOWIDTH, VIDEOHEIGHT));
  </code></pre>
  
  <p>as reading a rtsp stream, is done similarly:</p>
  
  <pre><code>CvCapture *capture = cvCreateFileCapture(LOCALADDRESS);
  </code></pre>
  
  <p>which doesn't work so I'm turning to Live555. How do I feed a CvCapture encoded in H.264 to be served by Live555? There doesn't seem to be a straitforward way to serve a bytestream from one to another or perhaps I'm missing something.</p>