[Live-devel] question about parseSPropParameterSets()

James Zhang xzha286 at aucklanduni.ac.nz
Thu Feb 2 11:42:25 PST 2012


Hello everyone

I got a question. Lots of documents mentioned that (7) sps, (8) pps, (6)
sei. what is that mean?

Nal unit is a binary set, 7 means position 7 or 0111 or something else?


Thanks alot
Best regards

James

On 31 January 2012 23:17, James Zhang <xzha286 at aucklanduni.ac.nz> wrote:

> Hello everyone
>
> Thanks for everybody's suggestion.
>
> 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?
>
> My nal structure is
> 0x1sps0x1pps
>
>
> *[h264 @ 0x700f400]slice type too large (2) at 0 0*
>
> *[h264 @ 0x700f400]decode_slice_header error*
>
> *[h264 @ 0x700f400]non-existing PPS 0 referenced*
>
> *[h264 @ 0x700f400]decode_slice_header error*
>
> *[h264 @ 0x700f400]B picture before any references, skipping*
>
> *[h264 @ 0x700f400]decode_slice_header error*
>
> *[h264 @ 0x700f400]B picture before any references, skipping*
>
> *[h264 @ 0x700f400]decode_slice_header error*
>
> *[h264 @ 0x700f400]B picture before any references, skipping*
>
> *[h264 @ 0x700f400]decode_slice_header error*
>
> *[h264 @ 0x700f400]B picture before any references, skipping*
>
> *[h264 @ 0x700f400]decode_slice_header error*
>
> *[h264 @ 0x700f400]slice type too large (3) at 0 0*
>
> *[h264 @ 0x700f400]decode_slice_header error*
>
> *[h264 @ 0x700f400]non-existing PPS 0 referenced*
>
> *[h264 @ 0x700f400]decode_slice_header error*
>
> *[h264 @ 0x700f400]B picture before any references, skipping*
>
> *[h264 @ 0x700f400]decode_slice_header error*
>
> *[h264 @ 0x700f400]B picture before any references, skipping*
>
> *[h264 @ 0x700f400]decode_slice_header error*
>
> *[h264 @ 0x700f400]slice type too large (3) at 0 0*
>
> *[h264 @ 0x700f400]decode_slice_header error*
>
> *[h264 @ 0x700f400]AVC: nal size 0*
>
> *[h264 @ 0x700f400]AVC: nal size 8459*
>
> Thank you very much
> Best regards
>
> James
>
>
> On 31 January 2012 22:05, Jon Burgess <jkburges at gmail.com> wrote:
>
>> >
>>> >  SPropRecord * data to a NSData and send into extradata to decode?
>>>
>>> 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.
>>>
>>>
>> "NSData" is basically a glorified byte buffer available on cocoa/Mac/iOS.
>>
>> Cheers,
>> Jon Burgess
>>
>>
>>
>> _______________________________________________
>> live-devel mailing list
>> live-devel at lists.live555.com
>> http://lists.live555.com/mailman/listinfo/live-devel
>>
>>
>
>
> --
> James Zhang
>
> BE (Hons)
> Department of Electrical and Computer Engineering
> THE UNIVERSITY OF AUCKLAND
>



-- 
James Zhang

BE (Hons)
Department of Electrical and Computer Engineering
THE UNIVERSITY OF AUCKLAND
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120203/9d3a0b28/attachment.html>


More information about the live-devel mailing list