Ah so it effects the SDP description, I'll check what VLC thinks the stream is.
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? 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. Thanks again, James On Wed, Jun 8, 2011 at 3:22 PM, Ross Finlayson <[email protected]>wrote: > Thanks Ross, as I said though in that case VLC cannot decode the stream, >> it gives "waiting for SPS/PPS" messages then times out. >> 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. >> > > I don't know how much clearer I can make this: > > 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. > > You've already noticed that VLC does not decode your stream if you include > the start codes. So don't include them. > > -- > > Ross Finlayson > Live Networks, Inc. > http://www.live555.com/ > _______________________________________________ > live-devel mailing list > [email protected] > http://lists.live555.com/mailman/listinfo/live-devel >
_______________________________________________ live-devel mailing list [email protected] http://lists.live555.com/mailman/listinfo/live-devel
