<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt"><div>I am currently testing Live555 based application on Freescale’s i.MX51
platform, the camera frames are encoded by Hardware encoder (H.264 format). The
encoded frames are sent to deliverFarme without any modifications. After
this I am streaming over UDP.</div>
<div> </div>
<div>With reference is taken from DeviceSource.cpp, I am able to stream but
following warnings are displayed continuously.</div>
<div> </div>
<div>....</div>
<div>Warning: Invalid 'nal_unit_type': 0. Does the NAL unit begin with a
MPEG 'start code' by mistake?</div></div></div></div></blockquote><div><br></div>The problem here is (probably) that you are feeding your "H264VideoStreamDiscreteFramer" object with NAL units that begin with MPEG start codes (i.e., 0x00 0x00 0x00 0x01). You must not do this. Instead, if (as appears to be the case) your encoder delivers NAL units that begin with MPEG start codes, you must make sure that you don't copy those when your "FramedSource" subclass does its delivery. (Don't forget to adjust "fFrameSize" accordingly.)</div><div><br></div><div>(Also, your version of the "LIVE555 Streaming Media" code is a little out of date. I recommend upgrading.</div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>