[FFmpeg-cvslog] tests/fate: Add fate-ffmpeg-bsf-remove-* tests

Michael Niedermayer git at videolan.org
Fri Sep 23 14:34:53 EEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Fri Sep 23 12:57:33 2016 +0200| [a5fafabc8411f2394652b99aed15de57225f4682] | committer: Michael Niedermayer

tests/fate: Add fate-ffmpeg-bsf-remove-* tests

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 tests/fate/ffmpeg.mak              | 14 ++++++++++++++
 tests/ref/fate/ffmpeg-bsf-remove-a | 33 +++++++++++++++++++++++++++++++++
 tests/ref/fate/ffmpeg-bsf-remove-e | 32 ++++++++++++++++++++++++++++++++
 tests/ref/fate/ffmpeg-bsf-remove-k | 33 +++++++++++++++++++++++++++++++++
 tests/ref/fate/ffmpeg-bsf-remove-r | 33 +++++++++++++++++++++++++++++++++
 5 files changed, 145 insertions(+)

diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index 3782f82..e913ca8 100644
--- a/tests/fate/ffmpeg.mak
+++ b/tests/fate/ffmpeg.mak
@@ -89,5 +89,19 @@ fate-adtstoasc_ticket3715: $(TARGET_SAMPLES)/aac/foo.aac
 fate-adtstoasc_ticket3715: CMD = transcode "aac" $(TARGET_SAMPLES)/aac/foo.aac\
                       mov "-c copy -bsf:a aac_adtstoasc" "-codec copy"
 
+FATE_SAMPLES_FFMPEG-$(call ALLYES, MPEGPS_DEMUXER AVI_MUXER REMOVE_EXTRADATA_BSF) += fate-ffmpeg-bsf-remove-k fate-ffmpeg-bsf-remove-a fate-ffmpeg-bsf-remove-r fate-ffmpeg-bsf-remove-e
+fate-ffmpeg-bsf-remove-k: $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg
+fate-ffmpeg-bsf-remove-k: CMD = transcode "mpeg" $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg\
+                          avi "-vbsf remove_extra=k" "-codec copy"
+fate-ffmpeg-bsf-remove-a: $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg
+fate-ffmpeg-bsf-remove-a: CMD = transcode "mpeg" $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg\
+                          avi "-vbsf remove_extra=a" "-codec copy"
+fate-ffmpeg-bsf-remove-r: $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg
+fate-ffmpeg-bsf-remove-r: CMD = transcode "mpeg" $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg\
+                          avi "-vbsf remove_extra=r" "-codec copy"
+fate-ffmpeg-bsf-remove-e: $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg
+fate-ffmpeg-bsf-remove-e: CMD = transcode "mpeg" $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg\
+                          avi "-vbsf remove_extra=e" "-codec copy"
+
 
 FATE_SAMPLES_FFMPEG-yes += $(FATE_STREAMCOPY-yes)
diff --git a/tests/ref/fate/ffmpeg-bsf-remove-a b/tests/ref/fate/ffmpeg-bsf-remove-a
new file mode 100644
index 0000000..8d362d3
--- /dev/null
+++ b/tests/ref/fate/ffmpeg-bsf-remove-a
@@ -0,0 +1,33 @@
+6196f1d6b59d16c045de627221d8685f *tests/data/fate/ffmpeg-bsf-remove-a.avi
+130072 tests/data/fate/ffmpeg-bsf-remove-a.avi
+#extradata 0:       30, 0x4a4d065a
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: mpeg4
+#dimensions 0: 716x236
+#sar 0: 1/1
+0,          0,          0,        1,    20194, 0x174f64ac
+0,          1,          1,        1,    17878, 0xc081a405, F=0x0
+0,          2,          2,        1,    22723, 0x60935d28, F=0x0
+0,          3,          3,        1,    18655, 0xe5c33ada, F=0x0
+0,          4,          4,        1,    12928, 0x84d6a9d7, F=0x0
+0,          5,          5,        1,     4788, 0xbf9e1939, F=0x0
+0,          6,          6,        1,     3160, 0x867423c7, F=0x0
+0,          7,          7,        1,     2049, 0x523ffd85, F=0x0
+0,          8,          8,        1,     1440, 0x363ff725, F=0x0
+0,          9,          9,        1,     1300, 0x0d3c9c74, F=0x0
+0,         10,         10,        1,     1081, 0xbfb0365c, F=0x0
+0,         11,         11,        1,     1011, 0x9d310f90, F=0x0
+0,         12,         12,        1,     2543, 0x64500a0f
+0,         13,         13,        1,      881, 0x7492d262, F=0x0
+0,         14,         14,        1,      896, 0x1ff1d335, F=0x0
+0,         15,         15,        1,      973, 0x72c1fc04, F=0x0
+0,         16,         16,        1,     1075, 0xa5881d73, F=0x0
+0,         17,         17,        1,      933, 0xf0aae974, F=0x0
+0,         18,         18,        1,     1079, 0xbdce1b40, F=0x0
+0,         19,         19,        1,      964, 0x323fe4ab, F=0x0
+0,         20,         20,        1,     1015, 0x78a4fe96, F=0x0
+0,         21,         21,        1,      990, 0x9cd4ff25, F=0x0
+0,         22,         22,        1,     1093, 0x98712e2e, F=0x0
+0,         23,         23,        1,     1200, 0x37957156, F=0x0
+0,         24,         24,        1,     2881, 0xbb1feefb
diff --git a/tests/ref/fate/ffmpeg-bsf-remove-e b/tests/ref/fate/ffmpeg-bsf-remove-e
new file mode 100644
index 0000000..4cf04f7
--- /dev/null
+++ b/tests/ref/fate/ffmpeg-bsf-remove-e
@@ -0,0 +1,32 @@
+d6c688432b88ca62ea8abb885272af52 *tests/data/fate/ffmpeg-bsf-remove-e.avi
+129982 tests/data/fate/ffmpeg-bsf-remove-e.avi
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: mpeg4
+#dimensions 0: 716x236
+#sar 0: 1/1
+0,          0, -9223372036854775808,        1,    20164, 0x66bf5e52
+0,          1, -9223372036854775808,        1,    17878, 0xc081a405, F=0x0
+0,          2, -9223372036854775808,        1,    22723, 0x60935d28, F=0x0
+0,          3, -9223372036854775808,        1,    18655, 0xe5c33ada, F=0x0
+0,          4, -9223372036854775808,        1,    12928, 0x84d6a9d7, F=0x0
+0,          5, -9223372036854775808,        1,     4788, 0xbf9e1939, F=0x0
+0,          6, -9223372036854775808,        1,     3160, 0x867423c7, F=0x0
+0,          7, -9223372036854775808,        1,     2049, 0x523ffd85, F=0x0
+0,          8, -9223372036854775808,        1,     1440, 0x363ff725, F=0x0
+0,          9, -9223372036854775808,        1,     1300, 0x0d3c9c74, F=0x0
+0,         10, -9223372036854775808,        1,     1081, 0xbfb0365c, F=0x0
+0,         11, -9223372036854775808,        1,     1011, 0x9d310f90, F=0x0
+0,         12, -9223372036854775808,        1,     2513, 0xbcd803b5
+0,         13, -9223372036854775808,        1,      881, 0x7492d262, F=0x0
+0,         14, -9223372036854775808,        1,      896, 0x1ff1d335, F=0x0
+0,         15, -9223372036854775808,        1,      973, 0x72c1fc04, F=0x0
+0,         16, -9223372036854775808,        1,     1075, 0xa5881d73, F=0x0
+0,         17, -9223372036854775808,        1,      933, 0xf0aae974, F=0x0
+0,         18, -9223372036854775808,        1,     1079, 0xbdce1b40, F=0x0
+0,         19, -9223372036854775808,        1,      964, 0x323fe4ab, F=0x0
+0,         20, -9223372036854775808,        1,     1015, 0x78a4fe96, F=0x0
+0,         21, -9223372036854775808,        1,      990, 0x9cd4ff25, F=0x0
+0,         22, -9223372036854775808,        1,     1093, 0x98712e2e, F=0x0
+0,         23, -9223372036854775808,        1,     1200, 0x37957156, F=0x0
+0,         24, -9223372036854775808,        1,     2851, 0xb05be8a1
diff --git a/tests/ref/fate/ffmpeg-bsf-remove-k b/tests/ref/fate/ffmpeg-bsf-remove-k
new file mode 100644
index 0000000..9c1f54e
--- /dev/null
+++ b/tests/ref/fate/ffmpeg-bsf-remove-k
@@ -0,0 +1,33 @@
+6196f1d6b59d16c045de627221d8685f *tests/data/fate/ffmpeg-bsf-remove-k.avi
+130072 tests/data/fate/ffmpeg-bsf-remove-k.avi
+#extradata 0:       30, 0x4a4d065a
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: mpeg4
+#dimensions 0: 716x236
+#sar 0: 1/1
+0,          0,          0,        1,    20194, 0x174f64ac
+0,          1,          1,        1,    17878, 0xc081a405, F=0x0
+0,          2,          2,        1,    22723, 0x60935d28, F=0x0
+0,          3,          3,        1,    18655, 0xe5c33ada, F=0x0
+0,          4,          4,        1,    12928, 0x84d6a9d7, F=0x0
+0,          5,          5,        1,     4788, 0xbf9e1939, F=0x0
+0,          6,          6,        1,     3160, 0x867423c7, F=0x0
+0,          7,          7,        1,     2049, 0x523ffd85, F=0x0
+0,          8,          8,        1,     1440, 0x363ff725, F=0x0
+0,          9,          9,        1,     1300, 0x0d3c9c74, F=0x0
+0,         10,         10,        1,     1081, 0xbfb0365c, F=0x0
+0,         11,         11,        1,     1011, 0x9d310f90, F=0x0
+0,         12,         12,        1,     2543, 0x64500a0f
+0,         13,         13,        1,      881, 0x7492d262, F=0x0
+0,         14,         14,        1,      896, 0x1ff1d335, F=0x0
+0,         15,         15,        1,      973, 0x72c1fc04, F=0x0
+0,         16,         16,        1,     1075, 0xa5881d73, F=0x0
+0,         17,         17,        1,      933, 0xf0aae974, F=0x0
+0,         18,         18,        1,     1079, 0xbdce1b40, F=0x0
+0,         19,         19,        1,      964, 0x323fe4ab, F=0x0
+0,         20,         20,        1,     1015, 0x78a4fe96, F=0x0
+0,         21,         21,        1,      990, 0x9cd4ff25, F=0x0
+0,         22,         22,        1,     1093, 0x98712e2e, F=0x0
+0,         23,         23,        1,     1200, 0x37957156, F=0x0
+0,         24,         24,        1,     2881, 0xbb1feefb
diff --git a/tests/ref/fate/ffmpeg-bsf-remove-r b/tests/ref/fate/ffmpeg-bsf-remove-r
new file mode 100644
index 0000000..fc33032
--- /dev/null
+++ b/tests/ref/fate/ffmpeg-bsf-remove-r
@@ -0,0 +1,33 @@
+6196f1d6b59d16c045de627221d8685f *tests/data/fate/ffmpeg-bsf-remove-r.avi
+130072 tests/data/fate/ffmpeg-bsf-remove-r.avi
+#extradata 0:       30, 0x4a4d065a
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: mpeg4
+#dimensions 0: 716x236
+#sar 0: 1/1
+0,          0,          0,        1,    20194, 0x174f64ac
+0,          1,          1,        1,    17878, 0xc081a405, F=0x0
+0,          2,          2,        1,    22723, 0x60935d28, F=0x0
+0,          3,          3,        1,    18655, 0xe5c33ada, F=0x0
+0,          4,          4,        1,    12928, 0x84d6a9d7, F=0x0
+0,          5,          5,        1,     4788, 0xbf9e1939, F=0x0
+0,          6,          6,        1,     3160, 0x867423c7, F=0x0
+0,          7,          7,        1,     2049, 0x523ffd85, F=0x0
+0,          8,          8,        1,     1440, 0x363ff725, F=0x0
+0,          9,          9,        1,     1300, 0x0d3c9c74, F=0x0
+0,         10,         10,        1,     1081, 0xbfb0365c, F=0x0
+0,         11,         11,        1,     1011, 0x9d310f90, F=0x0
+0,         12,         12,        1,     2543, 0x64500a0f
+0,         13,         13,        1,      881, 0x7492d262, F=0x0
+0,         14,         14,        1,      896, 0x1ff1d335, F=0x0
+0,         15,         15,        1,      973, 0x72c1fc04, F=0x0
+0,         16,         16,        1,     1075, 0xa5881d73, F=0x0
+0,         17,         17,        1,      933, 0xf0aae974, F=0x0
+0,         18,         18,        1,     1079, 0xbdce1b40, F=0x0
+0,         19,         19,        1,      964, 0x323fe4ab, F=0x0
+0,         20,         20,        1,     1015, 0x78a4fe96, F=0x0
+0,         21,         21,        1,      990, 0x9cd4ff25, F=0x0
+0,         22,         22,        1,     1093, 0x98712e2e, F=0x0
+0,         23,         23,        1,     1200, 0x37957156, F=0x0
+0,         24,         24,        1,     2881, 0xbb1feefb



More information about the ffmpeg-cvslog mailing list