[Live-devel] Multiple NALUs concatenated together in one afterGettingFrame

Deanna Earley dee.earley at icode.co.uk
Fri May 1 09:08:55 PDT 2015


Simply put, a single call to afterGettingFrame in my file sink is receiving a single large "frame" that actually consists of an SPS, PPS, and the I frame in one single byte stream with no prefix or separator between them.
https://dl.dropboxusercontent.com/u/2931731/Bugs/largesps.dat
That is dumped, untouched from the afterGettingFrame callback

Is this likely to be a misparsing of the data in liveMedia or the data as it is received, raw from the camera?
(I'm aware that the H.264 over RTP spec says no prefix but I can't see anything about between frames.)

This is rare (once a week) and the camera is unusual in that it sends an SPS and PPS with every I frame.

Thanks.

--
Deanna Earley | Lead developer | icatchercctv

w: www.icode.co.uk/icatcher<http://www.icode.co.uk/icatcher> | t: 01329 835335 | f: 01329 835338
Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number : 03428325

From: live-devel [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: 01 May 2015 16:50
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Multiple NALUs concatenated together in one afterGettingFrame

I'm having a very hard time understanding exactly what problem you're having.  In particular:

It's missing the H.264 prefixes between NALUs and joined them together in one afterGettingFrame call

What is "It"?  I.e., where is this data coming from?  I.e., are you a client, a server, a proxy server, or what?  Exactly what are you trying to do?

Please be specific about what you are trying to do, where you are seeing a crash, and how our code might possibly be involved.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150501/01dfd9c2/attachment.html>


More information about the live-devel mailing list