lavf: add AVFMT_FLAG_BITEXACT.
[ffmpeg.git] / tests / fate / filter-audio.mak
1 FATE_AMIX += fate-filter-amix-simple
2 fate-filter-amix-simple: CMD = avconv -filter_complex amix -i $(SRC) -ss 3 -i $(SRC1) -f f32le -
3 fate-filter-amix-simple: REF = $(SAMPLES)/filter/amix_simple.pcm
4
5 FATE_AMIX += fate-filter-amix-first
6 fate-filter-amix-first: CMD = avconv -filter_complex amix=duration=first -ss 4 -i $(SRC) -i $(SRC1) -f f32le -
7 fate-filter-amix-first: REF = $(SAMPLES)/filter/amix_first.pcm
8
9 FATE_AMIX += fate-filter-amix-transition
10 fate-filter-amix-transition: tests/data/asynth-44100-2-3.wav
11 fate-filter-amix-transition: SRC2 = $(TARGET_PATH)/tests/data/asynth-44100-2-3.wav
12 fate-filter-amix-transition: CMD = avconv -filter_complex amix=inputs=3:dropout_transition=0.5 -i $(SRC) -ss 2 -i $(SRC1) -ss 4 -i $(SRC2) -f f32le -
13 fate-filter-amix-transition: REF = $(SAMPLES)/filter/amix_transition.pcm
14
15 FATE_AFILTER-$(call FILTERDEMDECENCMUX, AMIX, WAV, PCM_S16LE, PCM_F32LE, PCM_F32LE) += $(FATE_AMIX)
16 $(FATE_AMIX): tests/data/asynth-44100-2.wav tests/data/asynth-44100-2-2.wav
17 $(FATE_AMIX): SRC  = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
18 $(FATE_AMIX): SRC1 = $(TARGET_PATH)/tests/data/asynth-44100-2-2.wav
19 $(FATE_AMIX): CMP  = oneoff
20 $(FATE_AMIX): CMP_UNIT = f32
21
22 FATE_AFILTER-$(call FILTERDEMDECMUX, ASYNCTS, FLV, NELLYMOSER, PCM_S16LE) += fate-filter-asyncts
23 fate-filter-asyncts: SRC = $(TARGET_SAMPLES)/nellymoser/nellymoser-discont.flv
24 fate-filter-asyncts: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af asyncts
25 fate-filter-asyncts: CMP = oneoff
26 fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm
27
28 FATE_ATRIM += fate-filter-atrim-duration
29 fate-filter-atrim-duration: CMD = framecrc -i $(SRC) -af atrim=start=0.1:duration=0.01
30 FATE_ATRIM += fate-filter-atrim-mixed
31 fate-filter-atrim-mixed: CMD = framecrc -i $(SRC) -af atrim=start=0.05:start_sample=1025:end=0.1:end_sample=4411
32
33 FATE_ATRIM += fate-filter-atrim-samples
34 fate-filter-atrim-samples: CMD = framecrc -i $(SRC) -af atrim=start_sample=26:end_sample=80
35
36 FATE_ATRIM += fate-filter-atrim-time
37 fate-filter-atrim-time: CMD = framecrc -i $(SRC) -af atrim=0.1:0.2
38
39 $(FATE_ATRIM): tests/data/asynth-44100-2.wav
40 $(FATE_ATRIM): SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
41
42 FATE_FILTER-$(call FILTERDEMDECENCMUX, ATRIM, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_ATRIM)
43
44 FATE_FILTER_CHANNELMAP += fate-filter-channelmap-one-int
45 fate-filter-channelmap-one-int: tests/data/filtergraphs/channelmap_one_int
46 fate-filter-channelmap-one-int: SRC = $(TARGET_PATH)/tests/data/asynth-44100-6.wav
47 fate-filter-channelmap-one-int: tests/data/asynth-44100-6.wav
48 fate-filter-channelmap-one-int: CMD = md5 -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/channelmap_one_int -f wav -fflags +bitexact
49 fate-filter-channelmap-one-int: CMP = oneline
50 fate-filter-channelmap-one-int: REF = 21f1977c4f9705e2057083f84764e685
51
52 FATE_FILTER_CHANNELMAP += fate-filter-channelmap-one-str
53 fate-filter-channelmap-one-str: tests/data/filtergraphs/channelmap_one_str
54 fate-filter-channelmap-one-str: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
55 fate-filter-channelmap-one-str: tests/data/asynth-44100-2.wav
56 fate-filter-channelmap-one-str: CMD = md5 -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/channelmap_one_str -f wav -fflags +bitexact
57 fate-filter-channelmap-one-str: CMP = oneline
58 fate-filter-channelmap-one-str: REF = 9fe9bc452282dfd94fd80e9491607a0c
59
60 FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHANNELMAP, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_FILTER_CHANNELMAP)
61
62 FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHANNELSPLIT, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-filter-channelsplit
63 fate-filter-channelsplit: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
64 fate-filter-channelsplit: tests/data/asynth-44100-2.wav
65 fate-filter-channelsplit: CMD = md5 -i $(SRC) -filter_complex channelsplit -f s16le
66 fate-filter-channelsplit: CMP = oneline
67 fate-filter-channelsplit: REF = d92988d0fe2dd92236763f47b07ab597
68
69 FATE_AFILTER-$(call FILTERDEMDECENCMUX, JOIN, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-filter-join
70 fate-filter-join: SRC1 = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
71 fate-filter-join: SRC2 = $(TARGET_PATH)/tests/data/asynth-44100-3.wav
72 fate-filter-join: tests/data/asynth-44100-2.wav tests/data/asynth-44100-3.wav
73 fate-filter-join: CMD = md5 -i $(SRC1) -i $(SRC2) -filter_complex join=channel_layout=5 -f s16le
74 fate-filter-join: CMP = oneline
75 fate-filter-join: REF = 409e66fc5ece4ddea4aa16bc47026bb0
76
77 FATE_AFILTER-$(call FILTERDEMDECENCMUX, VOLUME, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-filter-volume
78 fate-filter-volume: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
79 fate-filter-volume: tests/data/asynth-44100-2.wav
80 fate-filter-volume: CMD = md5 -i $(SRC) -af volume=precision=fixed:volume=0.5 -f s16le
81 fate-filter-volume: CMP = oneline
82 fate-filter-volume: REF = 4d6ba75ef3e32d305d066b9bc771d6f4
83
84 FATE_SAMPLES_AVCONV += $(FATE_AFILTER-yes)
85 fate-afilter: $(FATE_AFILTER-yes)