[Live-devel] question about parseSPropParameterSets()
James Zhang
xzha286 at aucklanduni.ac.nz
Tue Jan 31 02:17:13 PST 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120131/0a5af073/attachment.html>
More information about the live-devel
mailing list