ExternalOutput.cpp : warmupfpsCount_

Hello,

I had a look to ExternalOutput.cpp and I would like to know
why warmupfpsCount_ is compared to 20.

Thanks,
Yannick

Hi Yannick,

That is used for the frame rate estimation algorithm. At this point, we
cannot know the framerate of the video beforehand so we estimate it from
the RTP packets, that is somewhat of a hack but it works in most cases.

Also, we force keyframes when recording video by sending FIR frames, that
is needed to be able to “skip” parts of the video when reproducing.

CheersEl martes, 4 de febrero de 2014 11:28:03 UTC+1, Yannick LE COENT escribió:

Hello,

I had a look to ExternalOutput.cpp and I would like to know
why warmupfpsCount_ is compared to 20.

Thanks,
Yannick