aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-04-05 20:57:33 -0300
committerJames Almer <jamrial@gmail.com>2022-04-05 21:25:26 -0300
commitc9ecbc08a17d8e7ed52a2abaaa97caa197e2e7bc (patch)
tree06bca28d281b28d5135827c0f67f47c22aaafcc0
parent24fd3ff5a2e93fd9761c8a050f98e20d74b6dc6c (diff)
downloadffmpeg-c9ecbc08a17d8e7ed52a2abaaa97caa197e2e7bc.tar.gz
tests: use a filtergraph script for fate-mov-channel-description
Should fix running the test on certain shells Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--tests/fate/mov.mak4
-rw-r--r--tests/filtergraphs/mov-channel-description8
2 files changed, 10 insertions, 2 deletions
diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak
index 5d9f183203..675c34a07d 100644
--- a/tests/fate/mov.mak
+++ b/tests/fate/mov.mak
@@ -157,8 +157,8 @@ FATE_MOV_FFMPEG-$(call ALLYES, FILE_PROTOCOL PIPE_PROTOCOL \
WAV_DEMUXER PAN_FILTER PCM_S16LE_ENCODER \
MOV_MUXER FRAMECRC_MUXER ) \
+= fate-mov-channel-description
-fate-mov-channel-description: tests/data/asynth-44100-1.wav
-fate-mov-channel-description: CMD = transcode wav $(TARGET_PATH)/tests/data/asynth-44100-1.wav mov "-filter_complex [0:a:0]pan=FL|c0=c0[outFL] -map [outFL] -filter_complex [0:a:0]pan=FR|c0=c1[outFR] -map [outFR] -filter_complex [0:a:0]pan=FC|c0=c2[outFC] -map [outFC] -filter_complex [0:a:0]pan=LFE|c0=c3[outLFE] -map [outLFE] -filter_complex [0:a:0]pan=BL|c0=c4[outBL] -map [outBL] -filter_complex [0:a:0]pan=BR|c0=c5[outBR] -map [outBR] -filter_complex [0:a:0]pan=DL|c0=c6[outDL] -map [outDL] -filter_complex [0:a:0]pan=DR|c0=c7[outDR] -map [outDR] -c:a pcm_s16le" "-map 0 -c copy -frames:a 0"
+fate-mov-channel-description: tests/data/asynth-44100-1.wav tests/data/filtergraphs/mov-channel-description
+fate-mov-channel-description: CMD = transcode wav $(TARGET_PATH)/tests/data/asynth-44100-1.wav mov "-filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/mov-channel-description -map [outFL] -map [outFR] -map [outFC] -map [outLFE] -map [outBL] -map [outBR] -map [outDL] -map [outDR] -c:a pcm_s16le" "-map 0 -c copy -frames:a 0"
FATE_FFMPEG += $(FATE_MOV_FFMPEG-yes)
diff --git a/tests/filtergraphs/mov-channel-description b/tests/filtergraphs/mov-channel-description
new file mode 100644
index 0000000000..df89347a51
--- /dev/null
+++ b/tests/filtergraphs/mov-channel-description
@@ -0,0 +1,8 @@
+[0:a:0]pan=FL|c0=c0[outFL];
+[0:a:0]pan=FR|c0=c1[outFR];
+[0:a:0]pan=FC|c0=c2[outFC];
+[0:a:0]pan=LFE|c0=c3[outLFE];
+[0:a:0]pan=BL|c0=c4[outBL];
+[0:a:0]pan=BR|c0=c5[outBR];
+[0:a:0]pan=DL|c0=c6[outDL];
+[0:a:0]pan=DR|c0=c7[outDR]