Hi,<br><br>I&#39;m trying to write a Microsoft DirectShow source filter based on live media&#39;s RTP implementation. For mpeg4 it works perfectly. But for H264, the video is always jumpy. Sometimes with a lot artifacts. I tried the source filter with Cyperlink&#39;s H264/avc decoder,  mpc-hc&#39;s MPCVideo decoder and ffdshow&#39;s software decoder. All have the same problem.<br>
<br>What I did was according to Microsoft&#39;s documentation <br><br><a href="http://msdn.microsoft.com/en-us/library/dd757808(VS.85).aspx">http://msdn.microsoft.com/en-us/library/dd757808(VS.85).aspx</a><br><br>I created mediatype with &#39;AVC1&#39; as the media type, and use the sprop-parameter-sets from SDP as the the extra data form video format. set dwFlags to 4.  Then call fSource-&gt;getNextFrame to get the next NALU, in the callback function with the NALU, I put 4 bytes length before it and pass them to the decoder.<br>
<br>BTW, sources are from vlc and Haivision encoder. vlc play them perfectly. And vlc is using livemedia as well :(<br><br>Thanks,<br><br>Dong<br>