[FFmpeg-devel] [PATCH 1/1] fftools/ffmpeg: fix for all forced key frames when 'copyts' is enabled
michael at niedermayer.cc
Mon Jun 4 23:39:50 EEST 2018
On Sun, May 06, 2018 at 10:38:59PM +0530, vdixit at akamai.com wrote:
> From: Vishwanath Dixit <vdixit at akamai.com>
> Forced key frames generation functionality was assuming the first PTS
> value as zero, but, when 'copyts' is enabled, the first PTS can be any
> big number. This was eventually forcing all the frames as key frames.
> To resolve this issue, update has been made to use first input pts as
> reference pts.
> fftools/ffmpeg.c | 6 +++++-
> fftools/ffmpeg.h | 1 +
> fftools/ffmpeg_opt.c | 1 +
> 3 files changed, 7 insertions(+), 1 deletion(-)
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The misfortune of the wise is better than the prosperity of the fool.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: not available
More information about the ffmpeg-devel