Hello everyone<div><br></div><div>I got a question. Lots of documents mentioned that (7) sps, (8) pps, (6) sei. what is that mean? </div><div><br></div><div>Nal unit is a binary set, 7 means position 7 or 0111 or something else?</div>
<div><br></div><div><br></div><div>Thanks alot</div><div>Best regards</div><div><br></div><div>James<br><br><div class="gmail_quote">On 31 January 2012 23:17, James Zhang <span dir="ltr"><<a href="mailto:xzha286@aucklanduni.ac.nz">xzha286@aucklanduni.ac.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone<div><br></div><div>Thanks for everybody's suggestion.</div><div><br></div><div>Looks i have made it start to do something instead on no frame, fail to decode. I m keep getting something like this. Is it because of i m putting the wrong NAL units to decoder?</div>

<div><br></div><div>My nal structure is</div><div>0x1sps0x1pps</div><div><br></div><div><br></div><div><p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]slice type too large (2) at 0 0</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]decode_slice_header error</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]non-existing PPS 0 referenced</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]decode_slice_header error</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]B picture before any references, skipping</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]decode_slice_header error</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]B picture before any references, skipping</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]decode_slice_header error</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]B picture before any references, skipping</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]decode_slice_header error</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]B picture before any references, skipping</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]decode_slice_header error</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]slice type too large (3) at 0 0</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]decode_slice_header error</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]non-existing PPS 0 referenced</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]decode_slice_header error</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]B picture before any references, skipping</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]decode_slice_header error</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]B picture before any references, skipping</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]decode_slice_header error</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]slice type too large (3) at 0 0</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]decode_slice_header error</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]AVC: nal size 0</b></p>
<p style="margin:0px 0px 0px 28.0px;font:11.0px Menlo"><b>[h264 @ 0x700f400]AVC: nal size 8459</b></p></div><div class="im"><div><br></div><div>Thank you very much</div><div>Best regards</div><div><br></div><div>James</div>
</div><div><br><br>
<div class="gmail_quote"><div><div class="h5">On 31 January 2012 22:05, Jon Burgess <span dir="ltr"><<a href="mailto:jkburges@gmail.com" target="_blank">jkburges@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">><br>
>  SPropRecord * data to a NSData and send into extradata to decode?<br>
<br>
I don't know what a "NSData" is (it's apparently something outside our libraries), but I hope it should be obvious from the implementation of the function in "liveMedia/H264VideoRTPSource.cpp" how it works.<br>




<br></blockquote><div><br></div></div><div>"NSData" is basically a glorified byte buffer available on cocoa/Mac/iOS.</div><div><br></div><div>Cheers,</div><span><font color="#888888"><div>Jon Burgess</div>
<div><br></div><div><br></div></font></span></div>
<br></div></div><div class="im">_______________________________________________<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>
<br></div></blockquote></div><br><br clear="all"><div class="im"><div><br></div>-- <br>James Zhang<br><br>BE (Hons)<br>Department of Electrical and Computer Engineering<br>THE UNIVERSITY OF AUCKLAND<br>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>James Zhang<br><br>BE (Hons)<br>Department of Electrical and Computer Engineering<br>THE UNIVERSITY OF AUCKLAND<br>
</div>