title: Saving H.264 RTP stream without re-encoding?
body: <p>My C++ application receives a H.264 RTP video stream.</p>
  
  <p>Right now it decodes the stream, saves it into a YUV file and later I use ffmpeg to re-ecode the file into something suitable to watch on a Windows PC (eg. Mpeg4 AVI).</p>
  
  <p>Shouldn't it be possible to save the H.264 stream into a AVI (or similar) container without having to decode and re-encode it ? That would require some H.264 decoder on the PC to watch, but it should be much more efficient.</p>
  
  <p>How could that be done ? Are there any libraries supporting that ?</p>