[FFmpeg-devel] [PATCH V2 4/4] fate: add disposition default test case

Jun Zhao mypopydev at gmail.com
Fri Jun 28 10:21:12 EEST 2019


From: Jun Zhao <barryjzhao at tencent.com>

add disposition default test case

Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
---
 tests/fate/ffmpeg.mak                     |    4 +
 tests/ref/fate/ffmpeg-disposition_default |  106 +++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+), 0 deletions(-)
 create mode 100644 tests/ref/fate/ffmpeg-disposition_default

diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index 71ab2f1..557064e 100644
--- a/tests/fate/ffmpeg.mak
+++ b/tests/fate/ffmpeg.mak
@@ -34,6 +34,10 @@ fate-ffmpeg-filter_complex_audio: CMD = framecrc -filter_complex "aevalsrc=0:d=0
 FATE_SAMPLES_FFMPEG-$(call ALLYES, MOV_DEMUXER PNG_DECODER ALAC_DECODER PCM_S16LE_ENCODER RAWVIDEO_ENCODER) += fate-ffmpeg-attached_pics
 fate-ffmpeg-attached_pics: CMD = threads=2 framecrc -i $(TARGET_SAMPLES)/lossless-audio/inside.m4a -c:a pcm_s16le -max_muxing_queue_size 16
 
+# disposition default
+FATE_SAMPLES_FFMPEG-$(call ALLYES, MOV_DEMUXER H264_DECODER AAC_DECODER) += fate-ffmpeg-disposition_default
+fate-ffmpeg-disposition_default: CMD = framecrc -i $(TARGET_SAMPLES)/mov/disposition_default.mp4 -vn -aframes 100
+
 FATE_SAMPLES_FFMPEG-$(CONFIG_COLORKEY_FILTER) += fate-ffmpeg-filter_colorkey
 fate-ffmpeg-filter_colorkey: tests/data/filtergraphs/colorkey
 fate-ffmpeg-filter_colorkey: CMD = framecrc -idct simple -fflags +bitexact -flags +bitexact  -sws_flags +accurate_rnd+bitexact -i $(TARGET_SAMPLES)/cavs/cavs.mpg -fflags +bitexact -flags +bitexact -sws_flags +accurate_rnd+bitexact -i $(TARGET_SAMPLES)/lena.pnm -an -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/colorkey -sws_flags +accurate_rnd+bitexact -fflags +bitexact -flags +bitexact -qscale 2 -frames:v 10
diff --git a/tests/ref/fate/ffmpeg-disposition_default b/tests/ref/fate/ffmpeg-disposition_default
new file mode 100644
index 0000000..0ccf888
--- /dev/null
+++ b/tests/ref/fate/ffmpeg-disposition_default
@@ -0,0 +1,106 @@
+#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,     1024,     2048, 0x8e3cfba8
+0,       1024,       1024,     1024,     2048, 0x9f92feba
+0,       2048,       2048,     1024,     2048, 0x17ab01ba
+0,       3072,       3072,     1024,     2048, 0x8ae0fe83
+0,       4096,       4096,     1024,     2048, 0x27e7fdb7
+0,       5120,       5120,     1024,     2048, 0xcbe5f4e1
+0,       6144,       6144,     1024,     2048, 0xf3170253
+0,       7168,       7168,     1024,     2048, 0x842ffb9a
+0,       8192,       8192,     1024,     2048, 0xf883ffd3
+0,       9216,       9216,     1024,     2048, 0x8ba5107e
+0,      10240,      10240,     1024,     2048, 0xd9300100
+0,      11264,      11264,     1024,     2048, 0xe68df95d
+0,      12288,      12288,     1024,     2048, 0xc65bfe90
+0,      13312,      13312,     1024,     2048, 0x3a3dfe8e
+0,      14336,      14336,     1024,     2048, 0xe5e8e891
+0,      15360,      15360,     1024,     2048, 0xed3fe566
+0,      16384,      16384,     1024,     2048, 0x891a00a7
+0,      17408,      17408,     1024,     2048, 0x5733fd83
+0,      18432,      18432,     1024,     2048, 0x3f17fbf9
+0,      19456,      19456,     1024,     2048, 0x8d9af9a0
+0,      20480,      20480,     1024,     2048, 0x07befe47
+0,      21504,      21504,     1024,     2048, 0x1d9b0942
+0,      22528,      22528,     1024,     2048, 0xa80ef560
+0,      23552,      23552,     1024,     2048, 0xe32bfb07
+0,      24576,      24576,     1024,     2048, 0xa7bf12ad
+0,      25600,      25600,     1024,     2048, 0xf328f4cb
+0,      26624,      26624,     1024,     2048, 0xdfbcf999
+0,      27648,      27648,     1024,     2048, 0xe054ee68
+0,      28672,      28672,     1024,     2048, 0x23aef44f
+0,      29696,      29696,     1024,     2048, 0xe8d6f9fc
+0,      30720,      30720,     1024,     2048, 0x01760509
+0,      31744,      31744,     1024,     2048, 0x7a6af785
+0,      32768,      32768,     1024,     2048, 0x5821ea5e
+0,      33792,      33792,     1024,     2048, 0x47291609
+0,      34816,      34816,     1024,     2048, 0x40c004a5
+0,      35840,      35840,     1024,     2048, 0xc32deeed
+0,      36864,      36864,     1024,     2048, 0x594e087a
+0,      37888,      37888,     1024,     2048, 0x99680bd4
+0,      38912,      38912,     1024,     2048, 0x73c9fb51
+0,      39936,      39936,     1024,     2048, 0x983bf683
+0,      40960,      40960,     1024,     2048, 0x0b8af1dc
+0,      41984,      41984,     1024,     2048, 0x6e13fb89
+0,      43008,      43008,     1024,     2048, 0x56e3043f
+0,      44032,      44032,     1024,     2048, 0x3dd4f3b4
+0,      45056,      45056,     1024,     2048, 0x67eaf658
+0,      46080,      46080,     1024,     2048, 0x550af765
+0,      47104,      47104,     1024,     2048, 0xc2c9f90e
+0,      48128,      48128,     1024,     2048, 0x10980f21
+0,      49152,      49152,     1024,     2048, 0x6f96005b
+0,      50176,      50176,     1024,     2048, 0x3bf7f2af
+0,      51200,      51200,     1024,     2048, 0xa028e5a4
+0,      52224,      52224,     1024,     2048, 0x715e0430
+0,      53248,      53248,     1024,     2048, 0xc266f26b
+0,      54272,      54272,     1024,     2048, 0x96d6f6f0
+0,      55296,      55296,     1024,     2048, 0x5b8b074f
+0,      56320,      56320,     1024,     2048, 0x4c8be77d
+0,      57344,      57344,     1024,     2048, 0xcd15f231
+0,      58368,      58368,     1024,     2048, 0xa25bf7a2
+0,      59392,      59392,     1024,     2048, 0x656905c3
+0,      60416,      60416,     1024,     2048, 0x3159f70c
+0,      61440,      61440,     1024,     2048, 0x910df5bc
+0,      62464,      62464,     1024,     2048, 0xa4c40186
+0,      63488,      63488,     1024,     2048, 0xb178f3c1
+0,      64512,      64512,     1024,     2048, 0xc86a0d65
+0,      65536,      65536,     1024,     2048, 0xbf73e16f
+0,      66560,      66560,     1024,     2048, 0xfb1af403
+0,      67584,      67584,     1024,     2048, 0xc165045d
+0,      68608,      68608,     1024,     2048, 0xc8fd0304
+0,      69632,      69632,     1024,     2048, 0x379af54c
+0,      70656,      70656,     1024,     2048, 0xc46b046e
+0,      71680,      71680,     1024,     2048, 0x04cff498
+0,      72704,      72704,     1024,     2048, 0x93dafae6
+0,      73728,      73728,     1024,     2048, 0x3d78ed92
+0,      74752,      74752,     1024,     2048, 0x40eef054
+0,      75776,      75776,     1024,     2048, 0xa39900aa
+0,      76800,      76800,     1024,     2048, 0x8ae706a4
+0,      77824,      77824,     1024,     2048, 0xd15dfe6a
+0,      78848,      78848,     1024,     2048, 0xc759f6d3
+0,      79872,      79872,     1024,     2048, 0x3917fa19
+0,      80896,      80896,     1024,     2048, 0xa666f1fa
+0,      81920,      81920,     1024,     2048, 0xd403ffd3
+0,      82944,      82944,     1024,     2048, 0xe0e9036f
+0,      83968,      83968,     1024,     2048, 0x9b500532
+0,      84992,      84992,     1024,     2048, 0x872e04e4
+0,      86016,      86016,     1024,     2048, 0xa51eefc6
+0,      87040,      87040,     1024,     2048, 0x8f6703a0
+0,      88064,      88064,     1024,     2048, 0xfc09ff44
+0,      89088,      89088,     1024,     2048, 0xc86d0027
+0,      90112,      90112,     1024,     2048, 0x7877fcfb
+0,      91136,      91136,     1024,     2048, 0x9a51f801
+0,      92160,      92160,     1024,     2048, 0x1683f913
+0,      93184,      93184,     1024,     2048, 0x287ff274
+0,      94208,      94208,     1024,     2048, 0x2c1df573
+0,      95232,      95232,     1024,     2048, 0x5f70f2a5
+0,      96256,      96256,     1024,     2048, 0x040a066e
+0,      97280,      97280,     1024,     2048, 0x4c7e0e02
+0,      98304,      98304,     1024,     2048, 0x101b0599
+0,      99328,      99328,     1024,     2048, 0x99aff74b
+0,     100352,     100352,     1024,     2048, 0xd81bf4a1
+0,     101376,     101376,     1024,     2048, 0x2d1703f8
-- 
1.7.1



More information about the ffmpeg-devel mailing list