[FFmpeg-cvslog] tests: use a filtergraph script for fate-mov-channel-description

James Almer git at videolan.org
Wed Apr 6 03:25:27 EEST 2022


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Apr  5 20:57:33 2022 -0300| [c9ecbc08a17d8e7ed52a2abaaa97caa197e2e7bc] | committer: James Almer

tests: use a filtergraph script for fate-mov-channel-description

Should fix running the test on certain shells

Signed-off-by: James Almer <jamrial at gmail.com>

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

 tests/fate/mov.mak                         | 4 ++--
 tests/filtergraphs/mov-channel-description | 8 ++++++++
 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]



More information about the ffmpeg-cvslog mailing list