[Live-devel] H264VideoFramer truncating frames

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Wed Mar 25 13:50:33 PDT 2015


On Wed, Mar 25, 2015 at 02:42:29PM +0100, Robert Smith wrote:
> Thanks,
> 
> I'm not sure what sort of constraints I can put on the number of slices so I
> probably can't get away with short circuiting the parsing as nicely as you
> do, but from memory our code for finding the start codes steps byte by byte
> so your example here would definitely be a significant improvement.
> 
> I would need to search for three byte start codes though, I haven't analysed
> the output of the TI encoder but I have had other encoders outputting three
> start byte start codes.

By default the DM8148 encoder outputs one slice per image. And it
uses 4 bytes start codes.

-- 
					    Gilles.


More information about the live-devel mailing list