[FFmpeg-devel] [PATCH 1/2] ffmpeg: handling copyts use case in forced key frames functionality
Michael Niedermayer
michael at niedermayer.cc
Fri Apr 27 03:54:25 EEST 2018
On Thu, Apr 26, 2018 at 10:33:59AM +0530, vdixit at akamai.com wrote:
> From: Vishwanath Dixit <vdixit at akamai.com>
>
> Forced key frames creation functionality was assuming the first PTS
> value to be zero, but, when 'copyts' is enalbed, the first PTS can
> be any big number. This was eventually forcing all the frames as
> key frames. To overcome this issue, the actual first PTS value has
> to be considered.
> ---
> fftools/ffmpeg.c | 5 ++++-
> fftools/ffmpeg_opt.c | 1 +
> 2 files changed, 5 insertions(+), 1 deletion(-)
breaks fate
--- ./tests/ref/fate/pva-demux 2018-04-26 01:45:19.589231218 +0200
+++ tests/data/fate/pva-demux 2018-04-27 02:50:51.828844428 +0200
@@ -34,3 +34,18 @@
1, 47520, 47520, 2160, 384, 0xfddbb7df
1, 49680, 49680, 2160, 384, 0xbbb2af0c
1, 51840, 51840, 2160, 384, 0x8f03b5fc
+0, 26, 26, 1, 470016, 0xead57e3f
+0, 27, 27, 1, 470016, 0x787085d0
+0, 28, 28, 1, 470016, 0x3d529159
+0, 29, 29, 1, 470016, 0xed32986b
+0, 30, 30, 1, 470016, 0xcdd2c5a7
+0, 31, 31, 1, 470016, 0xb271d212
+0, 32, 32, 1, 470016, 0x838cad86
+0, 33, 33, 1, 470016, 0xdb992f3f
+0, 34, 34, 1, 470016, 0x88779a1e
+0, 35, 35, 1, 470016, 0x6a73db7b
+0, 36, 36, 1, 470016, 0x7b4e6ace
+0, 37, 37, 1, 470016, 0x72d14489
+0, 38, 38, 1, 470016, 0xd5b17c4d
+0, 39, 39, 1, 470016, 0x1f62ed78
+0, 40, 40, 1, 470016, 0x97f98fff
Test pva-demux failed. Look at tests/data/fate/pva-demux.err for details.
make: *** [fate-pva-demux] Error 1
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180427/6878a01e/attachment.sig>
More information about the ffmpeg-devel
mailing list