Ticket #273 (closed defect: fixed)
h264 video decoding aborts due to too low number of "slices"
|Reported by:||gerhard_s||Owned by:|
|Version:||unspecified||Keywords:||h264 slice MAX_SLICES|
|Blocking:||Reproduced by developer:||yes|
|Analyzed by developer:||no|
I'm using h264 video codec for VoIP between linphone (on my machine, openSUSE 11.4, x86_64, using ffmpeg git dated on 20110604 and libx264-115) and Bria 3.2 (on Windows 7) on the other end.
I had the problem that after a few seconds the call terminated issuing
the message "Too many slices, increase MAX_SLICES and recompile".
I patched h264.h by increasing MAX_SLICES from 16 to 32 and now it works fine again.
I think MAX_SLICES is currently too low, should be increased to at least 32.
I don't know if Bria would send even more slices if the bandwidth was even bigger or video resolution was bigger. Is there a limit given by the codec for a reasonable upper threshold?