Ah so it effects the SDP description, I'll check what VLC thinks the stream is.<br><br>You've got it the other way round, when I include the startcode it works & VLC displays (but I get warnings in live555), when it's missing (& NALs are broken into pieces) VLC will not playback but live555 is happy. In summary, VLC will not display the stream unless I include the startcode to the discrete framer. Surely I'm not the only one with these symptoms?<br>
<br>I might try checking the RTP stream at a lower level, see what's going on with the startcodes, don't know what I'll do with that information but hopefully will shed some light on how a non-standards-compliant RTP packet can be shown in VLC.<br>
<br>Thanks again,<br>James<br><br><br><br><div class="gmail_quote">On Wed, Jun 8, 2011 at 3:22 PM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Ross, as I said though in that case VLC cannot decode the stream, it gives "waiting for SPS/PPS" messages then times out. <br>
In what sense will the framer not work correctly with the start code? In my tests it seems to be working well, apart from the warnings.<br>
</blockquote>
<br></div>
I don't know how much clearer I can make this:<br>
<br>
If you're using "H264VideoStreamDiscreteFramer", then the NAL units that you feed to it MUST NOT begin with the 00000001 start code. If you do this, you will end up with a non-standards-compliant RTP packet (which receiving clients might not understand), and also our server code will not recognize SPS and PPS NAL units - when they occur. We need to do this in order to be able to generate proper configuration information in the stream's SDP description.<br>
<br>
You've already noticed that VLC does not decode your stream if you include the start codes. So don't include them.<div><div></div><div><br>
-- <br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a><br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">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>
</div></div></blockquote></div><br>