[pjsip] Bug in H264 decode buffer size

Eeri Kask Eeri.Kask at mailbox.tu-dresden.de
Thu May 22 13:36:42 EDT 2014


On Wed, 21 May 2014 13:54:36 -0400, Bill Gardner:
>
> So to safely connect to other H264 endpoints at level 3.0,
> I think the ffmpeg table should use 720x576. I will try that.


Did you succeed in trying that?  I failed.

I tested levels 42000a, 42000b, 420016 and all of them fail to transmit
the maximum number of macroblocks (99, 396, 1620 respctively); in pixels:

    176x144
    352x288
    720x576

by reporting errors about "... not enough buffer for decoded frame
(supplied=XXXX, required=YYYY)".

For the smallest size, 42000a with 99 macroblocks as maximum I could
successfully transfer 75x1 macroblock video (1200x16 pixel), which is
75% of the "theoretical" limit of 99x1 (1584x16 pixel).

Whats wrong with the memory management? :-)

    Eeri Kask






More information about the pjsip mailing list