#273: h264 video decoding aborts due to too low number of "slices" -----------------------------------+-------------------------- Reporter: gerhard_s | Type: defect Status: new | Priority: normal Component: avcodec | Version: unspecified Keywords: h264 slice MAX_SLICES | Blocked By: Blocking: | Reproduced: 0 Analyzed: 0 | -----------------------------------+-------------------------- 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? -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/273> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac