[FFmpeg-devel] ffmpeg mpegts muxing overhead

Pushkar Pradhan pradhan.pushkar
Tue Jan 18 01:39:37 CET 2011


I need to be able to predict the mpegts muxing overhead before the actual
muxing happens. I have basic stream information available like video frame
rate, audio sampling frequency, duration and size.
I first thought there is a theoritical minimum I can calculate by looking at
the !SO 13818 part 1 specifications but I think there is a lot of freedom in
implementation.
E.g. the spec says PCR packets must be sent every 100 msec but looking at
mpegtsenc.c I think it is configurable and the default is less than 100
msecs, am I correct?

So I am thinking at this point, the best way to find the theoritical minimum
overhead is to read ffmpeg ts muxing code.
Any suggestions?

-- 
pushkar



More information about the ffmpeg-devel mailing list