[FFmpeg-cvslog] tests/fate-run.sh: Analyze file generated in transcode()

Michael Niedermayer git at videolan.org
Sat Sep 10 02:20:12 EEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Fri Sep  9 23:17:02 2016 +0200| [24b391890139b26ff4cbeb244b6bf7ee878aff52] | committer: Michael Niedermayer

tests/fate-run.sh: Analyze file generated in transcode()

This should be much more informative than a plain md5 difference

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

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

 tests/fate-run.sh                |  2 ++
 tests/ref/fate/copy-trac236      | 22 +++++++++++++
 tests/ref/fate/copy-trac4914     | 46 ++++++++++++++++++++++++++
 tests/ref/fate/copy-trac4914-avi | 70 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 140 insertions(+)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 8c3938a..1111cff 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -205,6 +205,8 @@ transcode(){
         -f $enc_fmt -y $tencfile || return
     do_md5sum $encfile
     echo $(wc -c $encfile)
+    ffmpeg $DEC_OPTS -i $encfile $ENC_OPTS $FLAGS \
+        -f framecrc - || return
 }
 
 lavffatetest(){
diff --git a/tests/ref/fate/copy-trac236 b/tests/ref/fate/copy-trac236
index 320c51e..439b980 100644
--- a/tests/ref/fate/copy-trac236
+++ b/tests/ref/fate/copy-trac236
@@ -1,2 +1,24 @@
 9b95afdb39b426a33bc962889f820aed *tests/data/fate/copy-trac236.mov
 630802 tests/data/fate/copy-trac236.mov
+#tb 0: 100/2997
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 720x480
+#sar 0: 10/11
+#tb 1: 1/48000
+#media_type 1: audio
+#codec_id 1: pcm_s16le
+#sample_rate 1: 48000
+#channel_layout 1: 3
+0,          0,          0,        1,   518400, 0x81ab2140
+1,          0,          0,     1024,     4096, 0x67dc99a3
+1,       1024,       1024,     1024,     4096, 0xf115a681
+0,          1,          1,        1,   518400, 0x81ab2140
+1,       2048,       2048,     1024,     4096, 0xf455b597
+1,       3072,       3072,     1024,     4096, 0x67dc99a3
+0,          2,          2,        1,   518400, 0x81ab2140
+1,       4096,       4096,     1024,     4096, 0xf115a681
+0,          3,          3,        1,   518400, 0x81ab2140
+1,       5120,       5120,     1024,     4096, 0xf455b597
+1,       6144,       6144,      759,     3036, 0xa291a36d
+0,          4,          4,        1,   518400, 0x81ab2140
diff --git a/tests/ref/fate/copy-trac4914 b/tests/ref/fate/copy-trac4914
index c977f30..3a6eee4 100644
--- a/tests/ref/fate/copy-trac4914
+++ b/tests/ref/fate/copy-trac4914
@@ -1,2 +1,48 @@
 8868ae16d99ed03916e9dc7105285471 *tests/data/fate/copy-trac4914.mxf
 560697 tests/data/fate/copy-trac4914.mxf
+#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 480x270
+#sar 0: 1/1
+#tb 1: 1/48000
+#media_type 1: audio
+#codec_id 1: pcm_s16le
+#sample_rate 1: 48000
+#channel_layout 1: 3
+0,          0,          0,        1,   259200, 0xf36957da
+1,          0,          0,     1602,     6408, 0x1dd7b37c
+0,          1,          1,        1,   259200, 0x29a1f586
+1,       1602,       1602,     1601,     6404, 0xb6854846
+1,       3203,       3203,     1602,     6408, 0x4d3ea85e
+0,          2,          2,        1,   259200, 0x5578d9c3
+0,          3,          3,        1,   259200, 0x83938b61
+1,       4805,       4805,     1601,     6404, 0x5eb15a6d
+1,       6406,       6406,     1602,     6408, 0x059d21a0
+0,          4,          4,        1,   259200, 0xa6ce7618
+0,          5,          5,        1,   259200, 0x4892a0f5
+1,       8008,       8008,     1602,     6408, 0xd8352572
+0,          6,          6,        1,   259200, 0x921c6051
+1,       9610,       9610,     1601,     6404, 0xf69be875
+1,      11211,      11211,     1602,     6408, 0x41e75601
+0,          7,          7,        1,   259200, 0x618c0026
+0,          8,          8,        1,   259200, 0xdbc3ca4d
+1,      12813,      12813,     1601,     6404, 0x75e3196d
+1,      14414,      14414,     1602,     6408, 0xb46bad29
+0,          9,          9,        1,   259200, 0xf088c731
+0,         10,         10,        1,   259200, 0xce77ddee
+1,      16016,      16016,     1602,     6408, 0x41e6ceac
+0,         11,         11,        1,   259200, 0x798565eb
+1,      17618,      17618,     1601,     6404, 0x2258734e
+1,      19219,      19219,     1602,     6408, 0xc46d9103
+0,         12,         12,        1,   259200, 0x57185dc8
+0,         13,         13,        1,   259200, 0x607a9086
+1,      20821,      20821,     1601,     6404, 0xd7c07892
+1,      22422,      22422,     1602,     6408, 0x2aaad91d
+0,         14,         14,        1,   259200, 0x59bd5c34
+0,         15,         15,        1,   259200, 0xadb1da77
+1,      24024,      24024,     1602,     6408, 0x69bfb643
+0,         16,         16,        1,   259200, 0x1f7d7b14
+1,      25626,      25626,     1601,     6404, 0x0e644904
+1,      27227,      27227,     1602,     6408, 0x06e92ea2
+0,         17,         17,        1,   259200, 0xcdd45467
diff --git a/tests/ref/fate/copy-trac4914-avi b/tests/ref/fate/copy-trac4914-avi
index 0ee6675..e02744d 100644
--- a/tests/ref/fate/copy-trac4914-avi
+++ b/tests/ref/fate/copy-trac4914-avi
@@ -1,2 +1,72 @@
 26e4202638bc384b82d2b5eb4d33a5f0 *tests/data/fate/copy-trac4914-avi.avi
 479494 tests/data/fate/copy-trac4914-avi.avi
+#tb 0: 1001/30000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 480x270
+#sar 0: 1/1
+#tb 1: 1/48000
+#media_type 1: audio
+#codec_id 1: pcm_s16le
+#sample_rate 1: 48000
+#channel_layout 1: 3
+1,          0,          0,     1152,     4608, 0xb24f5c9d
+1,       1152,       1152,     1152,     4608, 0xe2da5c32
+1,       2304,       2304,     1152,     4608, 0xd76023d9
+1,       3456,       3456,     1152,     4608, 0xbefd52f1
+1,       4608,       4608,     1152,     4608, 0x50cf0f00
+1,       5760,       5760,     1152,     4608, 0xfcda4f0c
+1,       6912,       6912,     1152,     4608, 0xba131540
+1,       8064,       8064,     1152,     4608, 0x4c7b99c0
+1,       9216,       9216,     1152,     4608, 0xd3798646
+1,      10368,      10368,     1152,     4608, 0x3f65117b
+1,      11520,      11520,     1152,     4608, 0x7390dc17
+1,      12672,      12672,     1152,     4608, 0x0c3f7b9f
+1,      13824,      13824,     1152,     4608, 0x3b16289c
+0,          9,          9,        1,   259200, 0xf36957da
+1,      14976,      14976,     1152,     4608, 0xe09eb256
+0,         10,         10,        1,   259200, 0x29a1f586
+1,      16128,      16128,     1152,     4608, 0x1ab4e8fd
+1,      17280,      17280,     1152,     4608, 0x200660f8
+0,         11,         11,        1,   259200, 0x5578d9c3
+1,      18432,      18432,     1152,     4608, 0xd490d0e4
+0,         12,         12,        1,   259200, 0x83938b61
+1,      19584,      19584,     1152,     4608, 0x9a529aaa
+1,      20736,      20736,     1152,     4608, 0x0f5ebb76
+0,         13,         13,        1,   259200, 0xa6ce7618
+1,      21888,      21888,     1152,     4608, 0xf0c9f255
+1,      23040,      23040,     1152,     4608, 0xf5961288
+0,         15,         15,        1,   259200, 0x4892a0f5
+1,      24192,      24192,     1152,     4608, 0x2b587de2
+1,      25344,      25344,     1152,     4608, 0xbba5cece
+0,         16,         16,        1,   259200, 0x921c6051
+1,      26496,      26496,     1152,     4608, 0xd4faead2
+0,         17,         17,        1,   259200, 0x618c0026
+1,      27648,      27648,     1152,     4608, 0x46d0ac7b
+1,      28800,      28800,     1152,     4608, 0xa02d5881
+0,         18,         18,        1,   259200, 0xdbc3ca4d
+1,      29952,      29952,     1152,     4608, 0xc370577a
+0,         19,         19,        1,   259200, 0xf088c731
+1,      31104,      31104,     1152,     4608, 0xb12a3508
+1,      32256,      32256,     1152,     4608, 0xcc7fae28
+1,      33408,      33408,     1152,     4608, 0x9ae0bd7d
+0,         21,         21,        1,   259200, 0xce77ddee
+1,      34560,      34560,     1152,     4608, 0x46fecad2
+0,         22,         22,        1,   259200, 0x798565eb
+1,      35712,      35712,     1152,     4608, 0x3ee707e5
+0,         23,         23,        1,   259200, 0x57185dc8
+1,      36864,      36864,     1152,     4608, 0xf6d71808
+1,      38016,      38016,     1152,     4608, 0xa83e2440
+0,         24,         24,        1,   259200, 0x607a9086
+1,      39168,      39168,     1152,     4608, 0x6d92e2a8
+0,         25,         25,        1,   259200, 0x59bd5c34
+1,      40320,      40320,     1152,     4608, 0x595272b1
+1,      41472,      41472,     1152,     4608, 0x37fd2e64
+1,      42624,      42624,     1152,     4608, 0x5673aa22
+0,         27,         27,        1,   259200, 0xadb1da77
+1,      43776,      43776,     1152,     4608, 0xa277152c
+0,         28,         28,        1,   259200, 0x1f7d7b14
+1,      44928,      44928,     1152,     4608, 0xa91bf261
+1,      46080,      46080,     1152,     4608, 0x58769420
+0,         29,         29,        1,   259200, 0xcdd45467
+1,      47232,      47232,     1152,     4608, 0x1149e890



More information about the ffmpeg-cvslog mailing list