[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] h264 codec doesn't work due to too low number

From: Simon Morlat
Subject: Re: [Linphone-developers] h264 codec doesn't work due to too low number of "slices" in ffmpeg
Date: Wed, 08 Jun 2011 16:40:29 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110424 Thunderbird/3.1.10

Hi Gerhard,

Yes it is worth to tell ffmpeg guys about that. Using a lot of slice is very uncommon for movies (it is usually only one slice !), but for network transmission it is very common because it allows to have each slices that fits into a single RTP packet. As a result if the RTP packet gets lost, only part of the image is affected.


On 06/06/2011 22:45, Gerhard Stengel wrote:

I had the problem that after a few seconds all my h264 calls with Bria 3.2 on 
the other end terminated issuing
the message that the define MAX_SLICES in libavcodec was too small. I patched 
ffmpeg by increasing MAX_SLICES
in libavcodec/h264.h from 16 to 32 and it works again.
I wonder a bit why ffmpeg contains an inappropriate default value for this 
define. Is the problem I just
described commonly seen or does it just hit me? Or maybe Bria uses too may 

Do you think it's worth filing a but report at the ffmpeg folks? And is 32 
enough or may it even be that the
next power of 2, means 64 is needed?
I'm using ffmpeg (git dated on 20110604) from Packman on openSUSE 11.4, x86_64, 
video resolution is CIF.



Linphone-developers mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]