title: How to process raw UDP packets so that they can be decoded by a decoder filter in a directshow source filter
body: <p><strong>Long Story:</strong></p>
  
  <ol>
  <li>There is an H264/MPEG-4 Source</li>
  <li>I can able to connect this source with RTSP protocol.</li>
  <li>I can able to get raw UDP packets with RTP protocol.</li>
  <li>Then send those raw UDP packets to a Decoder[h264/mpeg-4] [DS Source Filter]</li>
  <li>But those "raw" UDP packets can not be decoded by the Decoder[h264/mpeg-4] filter</li>
  </ol>
  
  <p><strong>Shortly:</strong></p>
  
  <p>How do I process those raw UDP data in order to be decodable by H264/ MPEG-4 decoder filter? <strong>Can any one clearly identify steps I have to do with H264/MPEG stream?</strong></p>
  
  <p><strong>Extra Info:</strong></p>
  
  <p>I am able to do this with FFmpeg... But I can not really figure out how FFmpeg processes the raw data so that is decodable by a decoder.</p>