<HTML><HEAD></HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Thanks Ross.</DIV>
<DIV> </DIV>
<DIV>I had tried to neglect the first 4 bytes from the encoded buffer, but it
did not helped, I had adjusted the fFrameSize accordingly.</DIV>
<DIV> </DIV>
<DIV>Can you please provide me with the pseudo code for handling this.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Ashfaque</DIV>
<DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=finlayson@live555.com
href="mailto:finlayson@live555.com">Ross Finlayson</A> </DIV>
<DIV><B>Sent:</B> Thursday, April 19, 2012 3:36 AM</DIV>
<DIV><B>To:</B> <A title=live-devel@ns.live555.com
href="mailto:live-devel@ns.live555.com">LIVE555 Streaming Media - development
& use</A> </DIV>
<DIV><B>Subject:</B> Re: [Live-devel] mplayer not playing
stream</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<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> </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> </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
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: medium helvetica; WHITE-SPACE: normal; ORPHANS: 2; COLOR: rgb(0,0,0); 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"
class=Apple-style-span><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: medium helvetica; WHITE-SPACE: normal; ORPHANS: 2; COLOR: rgb(0,0,0); 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"
class=Apple-style-span>Ross Finlayson<BR>Live Networks, Inc.<BR><A
href="http://www.live555.com/">http://www.live555.com/</A></SPAN></SPAN>
</DIV><BR>
<P>
<HR>
_______________________________________________<BR>live-devel mailing
list<BR>live-devel@lists.live555.com<BR>http://lists.live555.com/mailman/listinfo/live-devel<BR></DIV></DIV></DIV></BODY></HTML>