[FFmpeg-devel] ffmpeg mpegts muxing overhead

Baptiste Coudurier baptiste.coudurier
Tue Jan 18 20:14:25 CET 2011


On 01/18/2011 09:05 AM, Pushkar Pradhan wrote:
> On Mon, Jan 17, 2011 at 11:38 PM, Tomas H?rdin<tomas.hardin at codemill.se>wrote:
>> Pushkar Pradhan skrev 2011-01-18 01:39:
>>   I need to be able to predict the mpegts muxing overhead before the actual
>>> muxing happens.
>> Why? Also, does it need to be exact, or can it be an overestimate?
> This is for HTTP Live Streaming. We need to publish the bitrate in the
> playlist. If the actual bitrate deviates too much (20-25%) from the
> published the App Store rejects the app. In our architecture the playlist
> has to be sent out before doing the actual muxing. Otherwise it is a big
> architectural change. So the estimate has to be within a reasonable limit.

You can specify a muxrate to the muxer which will add padding as 
necessary. Account video bitrate + audio bitrate + reasonable margin.

Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list