FATE: pass the decoded output format and audio source file to enc_dec_pcm
[ffmpeg.git] / tests / fate / wma.mak
1 FATE_WMAPRO += fate-wmapro-2ch
2 fate-wmapro-2ch: CMD = pcm -i $(SAMPLES)/wmapro/Beethovens_9th-1_small.wma
3 fate-wmapro-2ch: CMP = oneoff
4 fate-wmapro-2ch: REF = $(SAMPLES)/wmapro/Beethovens_9th-1_small.pcm
5
6 FATE_WMAPRO += fate-wmapro-5.1
7 fate-wmapro-5.1: CMD = pcm -i $(SAMPLES)/wmapro/latin_192_mulitchannel_cut.wma
8 fate-wmapro-5.1: CMP = oneoff
9 fate-wmapro-5.1: REF = $(SAMPLES)/wmapro/latin_192_mulitchannel_cut.pcm
10
11 FATE_WMAPRO += fate-wmapro-ism
12 fate-wmapro-ism: CMD = pcm -i $(SAMPLES)/isom/vc1-wmapro.ism -vn
13 fate-wmapro-ism: CMP = oneoff
14 fate-wmapro-ism: REF = $(SAMPLES)/isom/vc1-wmapro.pcm
15
16 FATE_TESTS += $(FATE_WMAPRO)
17 fate-wmapro: $(FATE_WMAPRO)
18
19 FATE_WMAVOICE += fate-wmavoice-7k
20 fate-wmavoice-7k: CMD = pcm -i $(SAMPLES)/wmavoice/streaming_CBR-7K.wma
21 fate-wmavoice-7k: CMP = stddev
22 fate-wmavoice-7k: REF = $(SAMPLES)/wmavoice/streaming_CBR-7K.pcm
23 fate-wmavoice-7k: FUZZ = 3
24
25 FATE_WMAVOICE += fate-wmavoice-11k
26 fate-wmavoice-11k: CMD = pcm -i $(SAMPLES)/wmavoice/streaming_CBR-11K.wma
27 fate-wmavoice-11k: CMP = stddev
28 fate-wmavoice-11k: REF = $(SAMPLES)/wmavoice/streaming_CBR-11K.pcm
29 fate-wmavoice-11k: FUZZ = 3
30
31 FATE_WMAVOICE += fate-wmavoice-19k
32 fate-wmavoice-19k: CMD = pcm -i $(SAMPLES)/wmavoice/streaming_CBR-19K.wma
33 fate-wmavoice-19k: CMP = stddev
34 fate-wmavoice-19k: REF = $(SAMPLES)/wmavoice/streaming_CBR-19K.pcm
35 fate-wmavoice-19k: FUZZ = 3
36
37 FATE_TESTS += $(FATE_WMAVOICE)
38 fate-wmavoice: $(FATE_WMAVOICE)
39
40 FATE_WMA_ENCODE += fate-wmav1-encode
41 fate-wmav1-encode: CMD = enc_dec_pcm asf wav s16le $(REF) -c:a wmav1 -b:a 128k
42 fate-wmav1-encode: CMP = stddev
43 fate-wmav1-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
44 fate-wmav1-encode: CMP_SHIFT = -8192
45 fate-wmav1-encode: CMP_TARGET = 291.06
46 fate-wmav1-encode: SIZE_TOLERANCE = 4632
47
48 FATE_WMA_ENCODE += fate-wmav2-encode
49 fate-wmav2-encode: CMD = enc_dec_pcm asf wav s16le $(REF) -c:a wmav2 -b:a 128k
50 fate-wmav2-encode: CMP = stddev
51 fate-wmav2-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
52 fate-wmav2-encode: CMP_SHIFT = -8192
53 fate-wmav2-encode: CMP_TARGET = 258.32
54 fate-wmav2-encode: SIZE_TOLERANCE = 4632
55
56 FATE_TESTS += $(FATE_WMA_ENCODE)
57 fate-wma-encode: $(FATE_WMA_ENCODE)