aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh de Kock <joshdk@obe.tv>2018-10-09 10:25:18 +0100
committerKieran Kunhya <kierank@obe.tv>2018-10-23 15:46:30 +0100
commit3f2103ec73c96d530b0516869363ad9ea730c909 (patch)
tree90466c1be8b5f8921c2ef32506aaf8889ed1cc1c
parent0ac82eed6f9c7d1f54cb834ba9e20d129e70186a (diff)
downloadffmpeg-3f2103ec73c96d530b0516869363ad9ea730c909.tar.gz
fate: add h264 timecode test
-rw-r--r--tests/fate/h264.mak2
-rw-r--r--tests/ref/fate/h264-timecode305
2 files changed, 307 insertions, 0 deletions
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index 1839b9b44e..f14b46c6e0 100644
--- a/tests/fate/h264.mak
+++ b/tests/fate/h264.mak
@@ -196,6 +196,7 @@ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \
fate-h264-3386 \
fate-h264-missing-frame \
fate-h264-ref-pic-mod-overflow \
+ fate-h264-timecode
FATE_H264-$(call DEMDEC, H264, H264) += $(FATE_H264)
FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-crop-to-container
@@ -440,6 +441,7 @@ fate-h264-twofields-packet: CMD = framecrc -i $(TARGET_SAM
fate-h264-unescaped-extradata: CMD = framecrc -i $(TARGET_SAMPLES)/h264/unescaped_extradata.mp4 -an -frames 10
fate-h264-3386: CMD = framecrc -i $(TARGET_SAMPLES)/h264/bbc2.sample.h264
fate-h264-missing-frame: CMD = framecrc -i $(TARGET_SAMPLES)/h264/nondeterministic_cut.h264
+fate-h264-timecode: CMD = framecrc -i $(TARGET_SAMPLES)/h264/crew_cif_timecode-2.h264
fate-h264-reinit-%: CMD = framecrc -i $(TARGET_SAMPLES)/h264/$(@:fate-h264-%=%).h264 -vf format=yuv444p10le,scale=w=352:h=288
diff --git a/tests/ref/fate/h264-timecode b/tests/ref/fate/h264-timecode
new file mode 100644
index 0000000000..b78f700c6d
--- /dev/null
+++ b/tests/ref/fate/h264-timecode
@@ -0,0 +1,305 @@
+#tb 0: 1/30
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 352x288
+#sar 0: 128/117
+0, 0, 0, 1, 152064, 0x70684c80
+0, 1, 1, 1, 152064, 0xb5c8b300
+0, 2, 2, 1, 152064, 0x5777ac60
+0, 3, 3, 1, 152064, 0xb27646a5
+0, 4, 4, 1, 152064, 0x20bd98ec
+0, 5, 5, 1, 152064, 0xcf5ac1b0
+0, 6, 6, 1, 152064, 0x85a42952
+0, 7, 7, 1, 152064, 0xc25aa530
+0, 8, 8, 1, 152064, 0x97b14be9
+0, 9, 9, 1, 152064, 0xf67ec91a
+0, 10, 10, 1, 152064, 0x3890d6a3
+0, 11, 11, 1, 152064, 0xc52c8467
+0, 12, 12, 1, 152064, 0x30a7af36
+0, 13, 13, 1, 152064, 0x27528a98
+0, 14, 14, 1, 152064, 0x245c08c5
+0, 15, 15, 1, 152064, 0x7e0220f3
+0, 16, 16, 1, 152064, 0x4b254c89
+0, 17, 17, 1, 152064, 0x1586e3e5
+0, 18, 18, 1, 152064, 0x594dfc58
+0, 19, 19, 1, 152064, 0x85ba9c8e
+0, 20, 20, 1, 152064, 0x1e235100
+0, 21, 21, 1, 152064, 0xa02c6a72
+0, 22, 22, 1, 152064, 0xd1166fb6
+0, 23, 23, 1, 152064, 0xcc9b1546
+0, 24, 24, 1, 152064, 0x55e35a35
+0, 25, 25, 1, 152064, 0xea63e2ae
+0, 26, 26, 1, 152064, 0x936a1802
+0, 27, 27, 1, 152064, 0x354a749c
+0, 28, 28, 1, 152064, 0x5cd0f246
+0, 29, 29, 1, 152064, 0x0376e69b
+0, 30, 30, 1, 152064, 0x5af5fb61
+0, 31, 31, 1, 152064, 0x9a053ab8
+0, 32, 32, 1, 152064, 0x57cbbfcc
+0, 33, 33, 1, 152064, 0x81f19e93
+0, 34, 34, 1, 152064, 0x0812953d
+0, 35, 35, 1, 152064, 0x0ae2a166
+0, 36, 36, 1, 152064, 0x193125b8
+0, 37, 37, 1, 152064, 0xab7eca7b
+0, 38, 38, 1, 152064, 0x91ff1870
+0, 39, 39, 1, 152064, 0x8f522dde
+0, 40, 40, 1, 152064, 0x98faab46
+0, 41, 41, 1, 152064, 0xa2119231
+0, 42, 42, 1, 152064, 0xfe591321
+0, 43, 43, 1, 152064, 0x6c8a1bf5
+0, 44, 44, 1, 152064, 0x857c925c
+0, 45, 45, 1, 152064, 0xe81a77f2
+0, 46, 46, 1, 152064, 0x08234e83
+0, 47, 47, 1, 152064, 0x76cb39f6
+0, 48, 48, 1, 152064, 0x26168d25
+0, 49, 49, 1, 152064, 0x4dd3b273
+0, 50, 50, 1, 152064, 0xd6e8398e
+0, 51, 51, 1, 152064, 0x55986a57
+0, 52, 52, 1, 152064, 0x9c2768fb
+0, 53, 53, 1, 152064, 0x03517efe
+0, 54, 54, 1, 152064, 0x3a48451f
+0, 55, 55, 1, 152064, 0x1f6d6b87
+0, 56, 56, 1, 152064, 0x0917fb2a
+0, 57, 57, 1, 152064, 0x0f49e7a9
+0, 58, 58, 1, 152064, 0x3c56d4e1
+0, 59, 59, 1, 152064, 0x487cca35
+0, 60, 60, 1, 152064, 0x5c6b8b1c
+0, 61, 61, 1, 152064, 0x767d8a34
+0, 62, 62, 1, 152064, 0xcd8d692a
+0, 63, 63, 1, 152064, 0x788b3ebf
+0, 64, 64, 1, 152064, 0x4cae3852
+0, 65, 65, 1, 152064, 0x1150f0aa
+0, 66, 66, 1, 152064, 0x9d4b3366
+0, 67, 67, 1, 152064, 0xedcb8863
+0, 68, 68, 1, 152064, 0x2c09ca8c
+0, 69, 69, 1, 152064, 0x20930842
+0, 70, 70, 1, 152064, 0xd653b16f
+0, 71, 71, 1, 152064, 0x41f38d77
+0, 72, 72, 1, 152064, 0xa5f69360
+0, 73, 73, 1, 152064, 0xf0f5ce27
+0, 74, 74, 1, 152064, 0xf2a6246c
+0, 75, 75, 1, 152064, 0x7e76fabc
+0, 76, 76, 1, 152064, 0xf76e1982
+0, 77, 77, 1, 152064, 0x40c1be5a
+0, 78, 78, 1, 152064, 0x132ca50e
+0, 79, 79, 1, 152064, 0xae0c69ed
+0, 80, 80, 1, 152064, 0x5f775778
+0, 81, 81, 1, 152064, 0x62bb9790
+0, 82, 82, 1, 152064, 0x8b448e83
+0, 83, 83, 1, 152064, 0xcc35d9fe
+0, 84, 84, 1, 152064, 0x51560127
+0, 85, 85, 1, 152064, 0xb915829b
+0, 86, 86, 1, 152064, 0x3a3f2b0c
+0, 87, 87, 1, 152064, 0x4e2d2260
+0, 88, 88, 1, 152064, 0x9fdb7567
+0, 89, 89, 1, 152064, 0xe34b2f4e
+0, 90, 90, 1, 152064, 0x8650ec13
+0, 91, 91, 1, 152064, 0xdff3e299
+0, 92, 92, 1, 152064, 0x100f8f0c
+0, 93, 93, 1, 152064, 0xa9aff101
+0, 94, 94, 1, 152064, 0xa80add4c
+0, 95, 95, 1, 152064, 0xa7994880
+0, 96, 96, 1, 152064, 0xc74ecb79
+0, 97, 97, 1, 152064, 0xbada663d
+0, 98, 98, 1, 152064, 0xff7f0592
+0, 99, 99, 1, 152064, 0x44731be5
+0, 100, 100, 1, 152064, 0x1a61f9ac
+0, 101, 101, 1, 152064, 0x848ace19
+0, 102, 102, 1, 152064, 0x22858567
+0, 103, 103, 1, 152064, 0x2b3a9ba7
+0, 104, 104, 1, 152064, 0x02889774
+0, 105, 105, 1, 152064, 0x29a54516
+0, 106, 106, 1, 152064, 0x737f2833
+0, 107, 107, 1, 152064, 0x28b5a183
+0, 108, 108, 1, 152064, 0xaff9112a
+0, 109, 109, 1, 152064, 0x0a7652b5
+0, 110, 110, 1, 152064, 0x03fa3e91
+0, 111, 111, 1, 152064, 0x9deade68
+0, 112, 112, 1, 152064, 0xb9af1a27
+0, 113, 113, 1, 152064, 0xe9f07f00
+0, 114, 114, 1, 152064, 0x1b03894a
+0, 115, 115, 1, 152064, 0xf89e26c5
+0, 116, 116, 1, 152064, 0x6d6b5508
+0, 117, 117, 1, 152064, 0x735ce75d
+0, 118, 118, 1, 152064, 0x30017005
+0, 119, 119, 1, 152064, 0x606ad5ab
+0, 120, 120, 1, 152064, 0xb442ac30
+0, 121, 121, 1, 152064, 0xac321998
+0, 122, 122, 1, 152064, 0x4507990b
+0, 123, 123, 1, 152064, 0xe40f986d
+0, 124, 124, 1, 152064, 0xc9840540
+0, 125, 125, 1, 152064, 0x74cfbc82
+0, 126, 126, 1, 152064, 0x1ac9744b
+0, 127, 127, 1, 152064, 0x8ac2a889
+0, 128, 128, 1, 152064, 0x3074a1bc
+0, 129, 129, 1, 152064, 0x389ae633
+0, 130, 130, 1, 152064, 0xaadb4325
+0, 131, 131, 1, 152064, 0x7d1a91b5
+0, 132, 132, 1, 152064, 0xaa047ddc
+0, 133, 133, 1, 152064, 0xe5cafebc
+0, 134, 134, 1, 152064, 0x24314a0c
+0, 135, 135, 1, 152064, 0x530cfa1c
+0, 136, 136, 1, 152064, 0x3f973f68
+0, 137, 137, 1, 152064, 0xf51d3e20
+0, 138, 138, 1, 152064, 0x24aca84c
+0, 139, 139, 1, 152064, 0x96b411e9
+0, 140, 140, 1, 152064, 0x6d046ea3
+0, 141, 141, 1, 152064, 0x9237974f
+0, 142, 142, 1, 152064, 0x0a808964
+0, 143, 143, 1, 152064, 0x9d6ad957
+0, 144, 144, 1, 152064, 0x9d6381ea
+0, 145, 145, 1, 152064, 0xfeceab64
+0, 146, 146, 1, 152064, 0x7fa00e6f
+0, 147, 147, 1, 152064, 0x635ac444
+0, 148, 148, 1, 152064, 0xf0db3036
+0, 149, 149, 1, 152064, 0xc5ddef73
+0, 150, 150, 1, 152064, 0x7fea7516
+0, 151, 151, 1, 152064, 0x7f3f7460
+0, 152, 152, 1, 152064, 0x446dfa20
+0, 153, 153, 1, 152064, 0x5d7167c4
+0, 154, 154, 1, 152064, 0xf9da05b7
+0, 155, 155, 1, 152064, 0xc007383d
+0, 156, 156, 1, 152064, 0xbf461f08
+0, 157, 157, 1, 152064, 0xf722508f
+0, 158, 158, 1, 152064, 0x2699fa56
+0, 159, 159, 1, 152064, 0xa49ca6d8
+0, 160, 160, 1, 152064, 0x58f70dfd
+0, 161, 161, 1, 152064, 0x391383db
+0, 162, 162, 1, 152064, 0xb859f2fd
+0, 163, 163, 1, 152064, 0xbb77d0a7
+0, 164, 164, 1, 152064, 0xd4c9881d
+0, 165, 165, 1, 152064, 0xb46d7272
+0, 166, 166, 1, 152064, 0x78237e5e
+0, 167, 167, 1, 152064, 0xbcd9f633
+0, 168, 168, 1, 152064, 0x17e09080
+0, 169, 169, 1, 152064, 0x4a9bdacf
+0, 170, 170, 1, 152064, 0x600c972f
+0, 171, 171, 1, 152064, 0x858e399a
+0, 172, 172, 1, 152064, 0xf9ef200d
+0, 173, 173, 1, 152064, 0x6aec0fda
+0, 174, 174, 1, 152064, 0x4d7ba9a8
+0, 175, 175, 1, 152064, 0x0df5dbdb
+0, 176, 176, 1, 152064, 0x77d598f8
+0, 177, 177, 1, 152064, 0x7d78c129
+0, 178, 178, 1, 152064, 0xf6b79ad2
+0, 179, 179, 1, 152064, 0x2b458750
+0, 180, 180, 1, 152064, 0xdbec9727
+0, 181, 181, 1, 152064, 0xcb073a1a
+0, 182, 182, 1, 152064, 0xa95e913a
+0, 183, 183, 1, 152064, 0x5ca9da6e
+0, 184, 184, 1, 152064, 0x82e09caf
+0, 185, 185, 1, 152064, 0x319f59c5
+0, 186, 186, 1, 152064, 0x11003b19
+0, 187, 187, 1, 152064, 0xcdfc5077
+0, 188, 188, 1, 152064, 0xa56fc40d
+0, 189, 189, 1, 152064, 0x3d2425dc
+0, 190, 190, 1, 152064, 0x907f51d3
+0, 191, 191, 1, 152064, 0xc52dc2dc
+0, 192, 192, 1, 152064, 0xea800778
+0, 193, 193, 1, 152064, 0xc0b022f9
+0, 194, 194, 1, 152064, 0x106b4ea2
+0, 195, 195, 1, 152064, 0x50c6cbf2
+0, 196, 196, 1, 152064, 0x480711b5
+0, 197, 197, 1, 152064, 0x1954bca7
+0, 198, 198, 1, 152064, 0x7894a1c1
+0, 199, 199, 1, 152064, 0xaa39601a
+0, 200, 200, 1, 152064, 0x07652fa2
+0, 201, 201, 1, 152064, 0x84ac1bce
+0, 202, 202, 1, 152064, 0x89104737
+0, 203, 203, 1, 152064, 0x832bf2b0
+0, 204, 204, 1, 152064, 0x45fa87f4
+0, 205, 205, 1, 152064, 0xde5b6e82
+0, 206, 206, 1, 152064, 0x8d88f89b
+0, 207, 207, 1, 152064, 0xba6488c8
+0, 208, 208, 1, 152064, 0xd9bc3312
+0, 209, 209, 1, 152064, 0xdba30d10
+0, 210, 210, 1, 152064, 0xd208cb34
+0, 211, 211, 1, 152064, 0x0642aadc
+0, 212, 212, 1, 152064, 0xf392e67a
+0, 213, 213, 1, 152064, 0xec6041d0
+0, 214, 214, 1, 152064, 0x52463e92
+0, 215, 215, 1, 152064, 0x218174a8
+0, 216, 216, 1, 152064, 0x9408f728
+0, 217, 217, 1, 152064, 0xabd31db7
+0, 218, 218, 1, 152064, 0x3e72f003
+0, 219, 219, 1, 152064, 0x638e603b
+0, 220, 220, 1, 152064, 0xf1f896c7
+0, 221, 221, 1, 152064, 0x786554ff
+0, 222, 222, 1, 152064, 0x9bb909f5
+0, 223, 223, 1, 152064, 0x726cf59e
+0, 224, 224, 1, 152064, 0xc18c15a1
+0, 225, 225, 1, 152064, 0x45ea8f83
+0, 226, 226, 1, 152064, 0xcb88e67a
+0, 227, 227, 1, 152064, 0x18d09432
+0, 228, 228, 1, 152064, 0x99d02a0a
+0, 229, 229, 1, 152064, 0x7ddc3691
+0, 230, 230, 1, 152064, 0x47710c00
+0, 231, 231, 1, 152064, 0xe28646c7
+0, 232, 232, 1, 152064, 0xe8a2a4e5
+0, 233, 233, 1, 152064, 0xed19f345
+0, 234, 234, 1, 152064, 0xceffaf7f
+0, 235, 235, 1, 152064, 0x8d116def
+0, 236, 236, 1, 152064, 0xccb68ae8
+0, 237, 237, 1, 152064, 0x3529b3db
+0, 238, 238, 1, 152064, 0x529911b8
+0, 239, 239, 1, 152064, 0x3a676438
+0, 240, 240, 1, 152064, 0x18508f5d
+0, 241, 241, 1, 152064, 0x4577d18b
+0, 242, 242, 1, 152064, 0x420f5881
+0, 243, 243, 1, 152064, 0x60341b86
+0, 244, 244, 1, 152064, 0x2f51de6a
+0, 245, 245, 1, 152064, 0xc70bbf8d
+0, 246, 246, 1, 152064, 0xc1ff63f7
+0, 247, 247, 1, 152064, 0x2dc1662b
+0, 248, 248, 1, 152064, 0x1bbb3b70
+0, 249, 249, 1, 152064, 0x74f44ec2
+0, 250, 250, 1, 152064, 0x9b93084e
+0, 251, 251, 1, 152064, 0x1493f82d
+0, 252, 252, 1, 152064, 0x069d9869
+0, 253, 253, 1, 152064, 0xc9a4f706
+0, 254, 254, 1, 152064, 0xf80092ed
+0, 255, 255, 1, 152064, 0xdc347577
+0, 256, 256, 1, 152064, 0x1df12299
+0, 257, 257, 1, 152064, 0x40d19951
+0, 258, 258, 1, 152064, 0xfb63dbf1
+0, 259, 259, 1, 152064, 0x9153714c
+0, 260, 260, 1, 152064, 0x6cfd514c
+0, 261, 261, 1, 152064, 0xc0ef7bf3
+0, 262, 262, 1, 152064, 0x5fce6828
+0, 263, 263, 1, 152064, 0xe7d0074d
+0, 264, 264, 1, 152064, 0x9e3f7351
+0, 265, 265, 1, 152064, 0x3a0c5d56
+0, 266, 266, 1, 152064, 0xd5581f3c
+0, 267, 267, 1, 152064, 0x9a4ec0d1
+0, 268, 268, 1, 152064, 0x150b9a54
+0, 269, 269, 1, 152064, 0x950eb994
+0, 270, 270, 1, 152064, 0xda31e3bf
+0, 271, 271, 1, 152064, 0x14ff5d3c
+0, 272, 272, 1, 152064, 0xd593bafc
+0, 273, 273, 1, 152064, 0xd4cf7c58
+0, 274, 274, 1, 152064, 0x2be70997
+0, 275, 275, 1, 152064, 0xe551703b
+0, 276, 276, 1, 152064, 0x7adaf447
+0, 277, 277, 1, 152064, 0x0435ea0f
+0, 278, 278, 1, 152064, 0x87e5bba1
+0, 279, 279, 1, 152064, 0xea1fdf88
+0, 280, 280, 1, 152064, 0xaea5b4c4
+0, 281, 281, 1, 152064, 0x32f79e89
+0, 282, 282, 1, 152064, 0xcd5694bc
+0, 283, 283, 1, 152064, 0x6b12830f
+0, 284, 284, 1, 152064, 0xaf681652
+0, 285, 285, 1, 152064, 0x3b26e20b
+0, 286, 286, 1, 152064, 0x2a9eee33
+0, 287, 287, 1, 152064, 0x8d5fe982
+0, 288, 288, 1, 152064, 0xa4cb5d02
+0, 289, 289, 1, 152064, 0x867dd0b0
+0, 290, 290, 1, 152064, 0x23c885e9
+0, 291, 291, 1, 152064, 0x99fd7b2b
+0, 292, 292, 1, 152064, 0xa710e871
+0, 293, 293, 1, 152064, 0x3ecbaaeb
+0, 294, 294, 1, 152064, 0x3d1c7de2
+0, 295, 295, 1, 152064, 0x378935f3
+0, 296, 296, 1, 152064, 0xce893553
+0, 297, 297, 1, 152064, 0xa834374c
+0, 298, 298, 1, 152064, 0x665094f4
+0, 299, 299, 1, 152064, 0x3fee89c6