[FFmpeg-cvslog] fate: add hls_init_time option fate

Steven Liu git at videolan.org
Thu Jul 11 07:26:11 EEST 2019


ffmpeg | branch: master | Steven Liu <lq at chinaffmpeg.org> | Thu Jul 11 09:37:29 2019 +0800| [89ea0c9bfdab744d91c5f43f4a432411d30fa985] | committer: Steven Liu

fate: add hls_init_time option fate

Signed-off-by: Steven Liu <lq at chinaffmpeg.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=89ea0c9bfdab744d91c5f43f4a432411d30fa985
---

 tests/fate/hlsenc.mak        |  11 ++
 tests/ref/fate/hls-init-time | 313 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 324 insertions(+)

diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak
index e81fb5411a..4d3a6157a6 100644
--- a/tests/fate/hlsenc.mak
+++ b/tests/fate/hlsenc.mak
@@ -52,3 +52,14 @@ FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FIL
 fate-hls-segment-size: tests/data/hls_segment_size.m3u8
 fate-hls-segment-size: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_segment_size.m3u8 -vf setpts=N*23
 
+tests/data/hls_init_time.m3u8: TAG = GEN
+tests/data/hls_init_time.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
+	$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
+	-f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=11" -f hls -hls_init_time 1 -hls_time 3 -map 0 \
+	-hls_list_size 5 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/hls_init_time_%d.ts \
+	$(TARGET_PATH)/tests/data/hls_init_time.m3u8 2>/dev/null
+
+FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-init-time
+fate-hls-init-time: tests/data/hls_init_time.m3u8
+fate-hls-init-time: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_init_time.m3u8 -vf setpts=N*23
+
diff --git a/tests/ref/fate/hls-init-time b/tests/ref/fate/hls-init-time
new file mode 100644
index 0000000000..5bc12272cc
--- /dev/null
+++ b/tests/ref/fate/hls-init-time
@@ -0,0 +1,313 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout 0: 4
+#channel_layout_name 0: mono
+0,          0,          0,     1152,     2304, 0x28123557
+0,       1152,       1152,     1152,     2304, 0x838c7e81
+0,       2304,       2304,     1152,     2304, 0x4fb8704c
+0,       3456,       3456,     1152,     2304, 0x5f787f9e
+0,       4608,       4608,     1152,     2304, 0xc866749f
+0,       5760,       5760,     1152,     2304, 0x30057e19
+0,       6912,       6912,     1152,     2304, 0xaa64747f
+0,       8064,       8064,     1152,     2304, 0x8d3c84e4
+0,       9216,       9216,     1152,     2304, 0xffb871e1
+0,      10368,      10368,     1152,     2304, 0x0dfe84bc
+0,      11520,      11520,     1152,     2304, 0x341385e0
+0,      12672,      12672,     1152,     2304, 0x069e72bb
+0,      13824,      13824,     1152,     2304, 0xc3b175a6
+0,      14976,      14976,     1152,     2304, 0x3f777972
+0,      16128,      16128,     1152,     2304, 0xb7598a65
+0,      17280,      17280,     1152,     2304, 0x9bd178a4
+0,      18432,      18432,     1152,     2304, 0xedca7972
+0,      19584,      19584,     1152,     2304, 0x8db2625c
+0,      20736,      20736,     1152,     2304, 0x99c67c29
+0,      21888,      21888,     1152,     2304, 0x54f984be
+0,      23040,      23040,     1152,     2304, 0x4669828a
+0,      24192,      24192,     1152,     2304, 0x3e4b8b6b
+0,      25344,      25344,     1152,     2304, 0x7f1f7180
+0,      26496,      26496,     1152,     2304, 0x3af882a9
+0,      27648,      27648,     1152,     2304, 0x091181cb
+0,      28800,      28800,     1152,     2304, 0x7b9187fc
+0,      29952,      29952,     1152,     2304, 0x59f55cec
+0,      31104,      31104,     1152,     2304, 0xdf888807
+0,      32256,      32256,     1152,     2304, 0xe0216c14
+0,      33408,      33408,     1152,     2304, 0x91248470
+0,      34560,      34560,     1152,     2304, 0xe7d07576
+0,      35712,      35712,     1152,     2304, 0xdb446fb4
+0,      36864,      36864,     1152,     2304, 0x815d85d0
+0,      38016,      38016,     1152,     2304, 0x67e877ac
+0,      39168,      39168,     1152,     2304, 0x51307bc9
+0,      40320,      40320,     1152,     2304, 0xad597c5c
+0,      41472,      41472,     1152,     2304, 0x84a77124
+0,      42624,      42624,     1152,     2304, 0xcef5717e
+0,      43776,      43776,     1152,     2304, 0xc1596f9a
+0,      44928,      44928,     1152,     2304, 0xcbb57986
+0,      46080,      46080,     1152,     2304, 0x5dd97b17
+0,      47232,      47232,     1152,     2304, 0x88d882c5
+0,      48384,      48384,     1152,     2304, 0x869491ba
+0,      49536,      49536,     1152,     2304, 0x254e69da
+0,      50688,      50688,     1152,     2304, 0xe4b579d7
+0,      51840,      51840,     1152,     2304, 0x1fcd7271
+0,      52992,      52992,     1152,     2304, 0x872c7bcc
+0,      54144,      54144,     1152,     2304, 0x23818bab
+0,      55296,      55296,     1152,     2304, 0x3cc28b72
+0,      56448,      56448,     1152,     2304, 0x9cd79250
+0,      57600,      57600,     1152,     2304, 0xeb3979af
+0,      58752,      58752,     1152,     2304, 0xbe647d72
+0,      59904,      59904,     1152,     2304, 0xa5858875
+0,      61056,      61056,     1152,     2304, 0xbb247834
+0,      62208,      62208,     1152,     2304, 0xe9846e76
+0,      63360,      63360,     1152,     2304, 0x17d06cad
+0,      64512,      64512,     1152,     2304, 0x6ae6817f
+0,      65664,      65664,     1152,     2304, 0xcb1c6c86
+0,      66816,      66816,     1152,     2304, 0x606778d2
+0,      67968,      67968,     1152,     2304, 0xa21e83d7
+0,      69120,      69120,     1152,     2304, 0xc5fd7caa
+0,      70272,      70272,     1152,     2304, 0x68866e6d
+0,      71424,      71424,     1152,     2304, 0x28ee7d51
+0,      72576,      72576,     1152,     2304, 0xe1f87ad9
+0,      73728,      73728,     1152,     2304, 0xbf4175b0
+0,      74880,      74880,     1152,     2304, 0xe9c372fd
+0,      76032,      76032,     1152,     2304, 0xc7a77ae7
+0,      77184,      77184,     1152,     2304, 0x9a74700f
+0,      78336,      78336,     1152,     2304, 0xe2288431
+0,      79488,      79488,     1152,     2304, 0xa7bd6d76
+0,      80640,      80640,     1152,     2304, 0x73fe7cd4
+0,      81792,      81792,     1152,     2304, 0xfa0c796c
+0,      82944,      82944,     1152,     2304, 0x020c7a8a
+0,      84096,      84096,     1152,     2304, 0xeba674ef
+0,      85248,      85248,     1152,     2304, 0x6efc793d
+0,      86400,      86400,     1152,     2304, 0xcfb07e3f
+0,      87552,      87552,     1152,     2304, 0xe6027a8c
+0,      88704,      88704,     1152,     2304, 0x4db4748c
+0,      89856,      89856,     1152,     2304, 0x7cf27ec0
+0,      91008,      91008,     1152,     2304, 0x72bb7bba
+0,      92160,      92160,     1152,     2304, 0x275f73b9
+0,      93312,      93312,     1152,     2304, 0x6791812c
+0,      94464,      94464,     1152,     2304, 0x9bb06ff6
+0,      95616,      95616,     1152,     2304, 0x8c1b7cb4
+0,      96768,      96768,     1152,     2304, 0xafd38677
+0,      97920,      97920,     1152,     2304, 0x7eca7304
+0,      99072,      99072,     1152,     2304, 0xfbb17c1e
+0,     100224,     100224,     1152,     2304, 0xb5448405
+0,     101376,     101376,     1152,     2304, 0xe2ea77b1
+0,     102528,     102528,     1152,     2304, 0x9d347d88
+0,     103680,     103680,     1152,     2304, 0xed007236
+0,     104832,     104832,     1152,     2304, 0xc0bc6e08
+0,     105984,     105984,     1152,     2304, 0x97bb7b8c
+0,     107136,     107136,     1152,     2304, 0x47e2674d
+0,     108288,     108288,     1152,     2304, 0x4971790b
+0,     109440,     109440,     1152,     2304, 0x8823812d
+0,     110592,     110592,     1152,     2304, 0xc30e7549
+0,     111744,     111744,     1152,     2304, 0xdee87475
+0,     112896,     112896,     1152,     2304, 0x6c6184aa
+0,     114048,     114048,     1152,     2304, 0x45ff706b
+0,     115200,     115200,     1152,     2304, 0xc14688b2
+0,     116352,     116352,     1152,     2304, 0xd011965e
+0,     117504,     117504,     1152,     2304, 0x07946957
+0,     118656,     118656,     1152,     2304, 0xed518404
+0,     119808,     119808,     1152,     2304, 0xa6168301
+0,     120960,     120960,     1152,     2304, 0xed5c70df
+0,     122112,     122112,     1152,     2304, 0xb897782a
+0,     123264,     123264,     1152,     2304, 0x4a626f21
+0,     124416,     124416,     1152,     2304, 0xe63b7ca6
+0,     125568,     125568,     1152,     2304, 0x79d780ff
+0,     126720,     126720,     1152,     2304, 0xf68974be
+0,     127872,     127872,     1152,     2304, 0x66657e8c
+0,     129024,     129024,     1152,     2304, 0xc0b28aae
+0,     130176,     130176,     1152,     2304, 0xbf587c4a
+0,     131328,     131328,     1152,     2304, 0x5d139349
+0,     132480,     132480,     1152,     2304, 0x0e067a4e
+0,     133632,     133632,     1152,     2304, 0x328d6c0b
+0,     134784,     134784,     1152,     2304, 0x1f4b77dd
+0,     135936,     135936,     1152,     2304, 0xba5b92ba
+0,     137088,     137088,     1152,     2304, 0xd158794a
+0,     138240,     138240,     1152,     2304, 0xea02879e
+0,     139392,     139392,     1152,     2304, 0x8de08081
+0,     140544,     140544,     1152,     2304, 0x406776b1
+0,     141696,     141696,     1152,     2304, 0xfb0e7084
+0,     142848,     142848,     1152,     2304, 0x7499891a
+0,     144000,     144000,     1152,     2304, 0x823f7094
+0,     145152,     145152,     1152,     2304, 0x6ec27f15
+0,     146304,     146304,     1152,     2304, 0xe2087d1c
+0,     147456,     147456,     1152,     2304, 0x0bd48042
+0,     148608,     148608,     1152,     2304, 0xce227acc
+0,     149760,     149760,     1152,     2304, 0x97b17248
+0,     150912,     150912,     1152,     2304, 0x8d436bc9
+0,     152064,     152064,     1152,     2304, 0x6f477995
+0,     153216,     153216,     1152,     2304, 0x09008588
+0,     154368,     154368,     1152,     2304, 0x87e084b4
+0,     155520,     155520,     1152,     2304, 0xe1187e42
+0,     156672,     156672,     1152,     2304, 0x4ab37d73
+0,     157824,     157824,     1152,     2304, 0x615c64da
+0,     158976,     158976,     1152,     2304, 0x16598832
+0,     160128,     160128,     1152,     2304, 0x03998393
+0,     161280,     161280,     1152,     2304, 0x20317653
+0,     162432,     162432,     1152,     2304, 0x74c57983
+0,     163584,     163584,     1152,     2304, 0xdacd7eea
+0,     164736,     164736,     1152,     2304, 0xd8896e20
+0,     165888,     165888,     1152,     2304, 0x98247f2c
+0,     167040,     167040,     1152,     2304, 0xe4ad7dc5
+0,     168192,     168192,     1152,     2304, 0x444f86a7
+0,     169344,     169344,     1152,     2304, 0x64e57440
+0,     170496,     170496,     1152,     2304, 0xb1197892
+0,     171648,     171648,     1152,     2304, 0xf7627a4f
+0,     172800,     172800,     1152,     2304, 0xc26776a9
+0,     173952,     173952,     1152,     2304, 0xa2f18a85
+0,     175104,     175104,     1152,     2304, 0x112e6f4d
+0,     176256,     176256,     1152,     2304, 0x5c887a6f
+0,     177408,     177408,     1152,     2304, 0xeb3c724a
+0,     178560,     178560,     1152,     2304, 0xba8983cc
+0,     179712,     179712,     1152,     2304, 0x74dc6bc9
+0,     180864,     180864,     1152,     2304, 0x262c75d5
+0,     182016,     182016,     1152,     2304, 0xaba97a90
+0,     183168,     183168,     1152,     2304, 0xf3067fdb
+0,     184320,     184320,     1152,     2304, 0x4b8a8684
+0,     185472,     185472,     1152,     2304, 0x86c979e7
+0,     186624,     186624,     1152,     2304, 0x26d16a02
+0,     187776,     187776,     1152,     2304, 0x222c83d4
+0,     188928,     188928,     1152,     2304, 0x4f43951d
+0,     190080,     190080,     1152,     2304, 0x9b4179f1
+0,     191232,     191232,     1152,     2304, 0x17727ee7
+0,     192384,     192384,     1152,     2304, 0xc4267ac4
+0,     193536,     193536,     1152,     2304, 0x987f6ba7
+0,     194688,     194688,     1152,     2304, 0xdb5d747c
+0,     195840,     195840,     1152,     2304, 0x3fa1801c
+0,     196992,     196992,     1152,     2304, 0x28b7800a
+0,     198144,     198144,     1152,     2304, 0x553d8ba3
+0,     199296,     199296,     1152,     2304, 0xe837895f
+0,     200448,     200448,     1152,     2304, 0xf59682a0
+0,     201600,     201600,     1152,     2304, 0xb8008993
+0,     202752,     202752,     1152,     2304, 0x0c43681f
+0,     203904,     203904,     1152,     2304, 0xfba06f7a
+0,     205056,     205056,     1152,     2304, 0x8d7372bf
+0,     206208,     206208,     1152,     2304, 0x9e4b7cf2
+0,     207360,     207360,     1152,     2304, 0x538e784f
+0,     208512,     208512,     1152,     2304, 0xba75786d
+0,     209664,     209664,     1152,     2304, 0x03f18a64
+0,     210816,     210816,     1152,     2304, 0x09ef77d9
+0,     211968,     211968,     1152,     2304, 0xf072779c
+0,     213120,     213120,     1152,     2304, 0xc331892d
+0,     214272,     214272,     1152,     2304, 0x46188131
+0,     215424,     215424,     1152,     2304, 0xdfaf8143
+0,     216576,     216576,     1152,     2304, 0xf0e286d2
+0,     217728,     217728,     1152,     2304, 0x28547598
+0,     218880,     218880,     1152,     2304, 0xaedc6e3f
+0,     220032,     220032,     1152,     2304, 0x542b6fa9
+0,     221184,     221184,     1152,     2304, 0xe7ec6f4d
+0,     222336,     222336,     1152,     2304, 0xacc47bbe
+0,     223488,     223488,     1152,     2304, 0xcec48d33
+0,     224640,     224640,     1152,     2304, 0xa78a8531
+0,     225792,     225792,     1152,     2304, 0xd6337d81
+0,     226944,     226944,     1152,     2304, 0xf9e07944
+0,     228096,     228096,     1152,     2304, 0x01368885
+0,     229248,     229248,     1152,     2304, 0x301981d0
+0,     230400,     230400,     1152,     2304, 0x40ed7214
+0,     231552,     231552,     1152,     2304, 0x6f096f46
+0,     232704,     232704,     1152,     2304, 0x567d7b3b
+0,     233856,     233856,     1152,     2304, 0xd1d97692
+0,     235008,     235008,     1152,     2304, 0xe6ac63d5
+0,     236160,     236160,     1152,     2304, 0x5dae8337
+0,     237312,     237312,     1152,     2304, 0x3a75820d
+0,     238464,     238464,     1152,     2304, 0xc66c7f52
+0,     239616,     239616,     1152,     2304, 0x4e72815d
+0,     240768,     240768,     1152,     2304, 0x1eb67d12
+0,     241920,     241920,     1152,     2304, 0xc51f8879
+0,     243072,     243072,     1152,     2304, 0x6b0c78ed
+0,     244224,     244224,     1152,     2304, 0x5e2c7b81
+0,     245376,     245376,     1152,     2304, 0xd3487fd4
+0,     246528,     246528,     1152,     2304, 0xb56b7a23
+0,     247680,     247680,     1152,     2304, 0x744e6e77
+0,     248832,     248832,     1152,     2304, 0x63528197
+0,     249984,     249984,     1152,     2304, 0xdda4793f
+0,     251136,     251136,     1152,     2304, 0x23317a27
+0,     252288,     252288,     1152,     2304, 0x82738430
+0,     253440,     253440,     1152,     2304, 0xeb7d7619
+0,     254592,     254592,     1152,     2304, 0x05079110
+0,     255744,     255744,     1152,     2304, 0x5ecc6edb
+0,     256896,     256896,     1152,     2304, 0xe6897a38
+0,     258048,     258048,     1152,     2304, 0x55f2839b
+0,     259200,     259200,     1152,     2304, 0x95f57eab
+0,     260352,     260352,     1152,     2304, 0xb39367fb
+0,     261504,     261504,     1152,     2304, 0x48537cae
+0,     262656,     262656,     1152,     2304, 0xee6d7cf9
+0,     263808,     263808,     1152,     2304, 0xe35f84b4
+0,     264960,     264960,     1152,     2304, 0x16028fad
+0,     266112,     266112,     1152,     2304, 0xdf6673f7
+0,     267264,     267264,     1152,     2304, 0xe1d97408
+0,     268416,     268416,     1152,     2304, 0xb48878b1
+0,     269568,     269568,     1152,     2304, 0x354b8638
+0,     270720,     270720,     1152,     2304, 0xb1767659
+0,     271872,     271872,     1152,     2304, 0x546a5cd1
+0,     273024,     273024,     1152,     2304, 0x2d238c49
+0,     274176,     274176,     1152,     2304, 0xcfc4886f
+0,     275328,     275328,     1152,     2304, 0x95b47cef
+0,     276480,     276480,     1152,     2304, 0x389f8338
+0,     277632,     277632,     1152,     2304, 0xcfb17744
+0,     278784,     278784,     1152,     2304, 0x50d76c4a
+0,     279936,     279936,     1152,     2304, 0x38a08aea
+0,     281088,     281088,     1152,     2304, 0xc3977790
+0,     282240,     282240,     1152,     2304, 0x086c8eeb
+0,     283392,     283392,     1152,     2304, 0xa1867ebd
+0,     284544,     284544,     1152,     2304, 0xd14c74f4
+0,     285696,     285696,     1152,     2304, 0x742e71c8
+0,     286848,     286848,     1152,     2304, 0xee737d69
+0,     288000,     288000,     1152,     2304, 0xc28b7385
+0,     289152,     289152,     1152,     2304, 0xce1b7f16
+0,     290304,     290304,     1152,     2304, 0xa5e180fe
+0,     291456,     291456,     1152,     2304, 0xb1788164
+0,     292608,     292608,     1152,     2304, 0xa6698076
+0,     293760,     293760,     1152,     2304, 0x2c017f8e
+0,     294912,     294912,     1152,     2304, 0x8359743b
+0,     296064,     296064,     1152,     2304, 0xcb4c8146
+0,     297216,     297216,     1152,     2304, 0x505d6f12
+0,     298368,     298368,     1152,     2304, 0x5ba16a70
+0,     299520,     299520,     1152,     2304, 0xdb8988d3
+0,     300672,     300672,     1152,     2304, 0x24447075
+0,     301824,     301824,     1152,     2304, 0x506e8a8b
+0,     302976,     302976,     1152,     2304, 0xe0c5728e
+0,     304128,     304128,     1152,     2304, 0x67d57a36
+0,     305280,     305280,     1152,     2304, 0x1d27908b
+0,     306432,     306432,     1152,     2304, 0xbeaf7c71
+0,     307584,     307584,     1152,     2304, 0x437678ed
+0,     308736,     308736,     1152,     2304, 0x0bca7b50
+0,     309888,     309888,     1152,     2304, 0xa7858205
+0,     311040,     311040,     1152,     2304, 0x294573c9
+0,     312192,     312192,     1152,     2304, 0x519271a2
+0,     313344,     313344,     1152,     2304, 0x3c4676f6
+0,     314496,     314496,     1152,     2304, 0x449e76cd
+0,     315648,     315648,     1152,     2304, 0x17248928
+0,     316800,     316800,     1152,     2304, 0x585367ed
+0,     317952,     317952,     1152,     2304, 0xb70a7fa4
+0,     319104,     319104,     1152,     2304, 0x3ee18149
+0,     320256,     320256,     1152,     2304, 0x019c8782
+0,     321408,     321408,     1152,     2304, 0x38ab639d
+0,     322560,     322560,     1152,     2304, 0x289c6f68
+0,     323712,     323712,     1152,     2304, 0xe7597fe2
+0,     324864,     324864,     1152,     2304, 0x80ff80ac
+0,     326016,     326016,     1152,     2304, 0xafe86ee3
+0,     327168,     327168,     1152,     2304, 0x9f3f8a4d
+0,     328320,     328320,     1152,     2304, 0x1fae83b4
+0,     329472,     329472,     1152,     2304, 0x9b087557
+0,     330624,     330624,     1152,     2304, 0x3f0280bd
+0,     331776,     331776,     1152,     2304, 0xd82b7c15
+0,     332928,     332928,     1152,     2304, 0xe1f18560
+0,     334080,     334080,     1152,     2304, 0xcf857ae8
+0,     335232,     335232,     1152,     2304, 0x1037786e
+0,     336384,     336384,     1152,     2304, 0x52e17ed1
+0,     337536,     337536,     1152,     2304, 0x1ebc7456
+0,     338688,     338688,     1152,     2304, 0xf3de8040
+0,     339840,     339840,     1152,     2304, 0x71657685
+0,     340992,     340992,     1152,     2304, 0x6e5c7d5d
+0,     342144,     342144,     1152,     2304, 0x147d68bb
+0,     343296,     343296,     1152,     2304, 0xc43e6d62
+0,     344448,     344448,     1152,     2304, 0x1b34783c
+0,     345600,     345600,     1152,     2304, 0xe2c97e7e
+0,     346752,     346752,     1152,     2304, 0xcaf97991
+0,     347904,     347904,     1152,     2304, 0xee117db9
+0,     349056,     349056,     1152,     2304, 0x7cdc810a
+0,     350208,     350208,     1152,     2304, 0x2d687abb
+0,     351360,     351360,     1152,     2304, 0x7ccf84fa
+0,     352512,     352512,     1152,     2304, 0x3bc25b1d



More information about the ffmpeg-cvslog mailing list