I've written something similar using FFDShow's decoder filter that works fine, so it sounds like something in your directshow filter implementation is wrong; I'd try the dshow newsgroups.<br><br><div class="gmail_quote">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I'm trying to write a Microsoft DirectShow source filter based on live media'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's H264/avc decoder, mpc-hc's MPCVideo decoder and ffdshow's software decoder. All have the same problem.<br>
<br>What I did was according to Microsoft's documentation <br><br><a href="http://msdn.microsoft.com/en-us/library/dd757808%28VS.85%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/dd757808(VS.85).aspx</a><br>
<br>I created mediatype with 'AVC1' 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->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><font color="#888888"><br>Dong<br>
</font><br>_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Where are we going?<br>And why am I in this hand-basket?<br>