mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-07 16:41:15 +00:00
ffmpeg: add -map_channel option.
Based on an initial work by Baptiste Coudurier.
This commit is contained in:
@@ -30,6 +30,14 @@ tests/data/asynth-16000-1.sw: tests/audiogen$(HOSTEXESUF)
|
||||
@mkdir -p tests/data
|
||||
$(M)./$< $@ 16000 1
|
||||
|
||||
tests/data/mapchan-6ch.sw: tests/audiogen$(HOSTEXESUF)
|
||||
@mkdir -p tests/data
|
||||
$(M)./$< $@ 22050 6
|
||||
|
||||
tests/data/mapchan-mono.sw: tests/audiogen$(HOSTEXESUF)
|
||||
@mkdir -p tests/data
|
||||
$(M)./$< $@ 22050 1
|
||||
|
||||
tests/data/asynth%.sw tests/vsynth%/00.pgm: TAG = GEN
|
||||
|
||||
include $(SRC_PATH)/tests/fate.mak
|
||||
|
||||
@@ -137,6 +137,18 @@ FATE_TESTS += fate-g722enc
|
||||
fate-g722enc: tests/data/asynth-16000-1.sw
|
||||
fate-g722enc: CMD = md5 -ar 16000 -ac 1 -f s16le -i $(TARGET_PATH)/tests/data/asynth-16000-1.sw -acodec g722 -ac 1 -f g722
|
||||
|
||||
FATE_TESTS += fate-mapchan-6ch-extract-2
|
||||
fate-mapchan-6ch-extract-2: tests/data/mapchan-6ch.sw
|
||||
fate-mapchan-6ch-extract-2: CMD = avconv -ar 22050 -ac 6 -i $(TARGET_PATH)/tests/data/mapchan-6ch.sw -map_channel 0.0.0 -f wav md5: -map_channel 0.0.1 -f wav md5:
|
||||
|
||||
FATE_TESTS += fate-mapchan-6ch-extract-2-downmix-mono
|
||||
fate-mapchan-6ch-extract-2-downmix-mono: tests/data/mapchan-6ch.sw
|
||||
fate-mapchan-6ch-extract-2-downmix-mono: CMD = md5 -ar 22050 -ac 6 -i $(TARGET_PATH)/tests/data/mapchan-6ch.sw -map_channel 0.0.1 -map_channel 0.0.0 -ac 1 -f wav
|
||||
|
||||
FATE_TESTS += fate-mapchan-silent-mono
|
||||
fate-mapchan-silent-mono: tests/data/mapchan-mono.sw
|
||||
fate-mapchan-silent-mono: CMD = md5 -ar 22050 -ac 1 -i $(TARGET_PATH)/tests/data/mapchan-mono.sw -map_channel -1 -map_channel 0.0.0 -f wav
|
||||
|
||||
FATE_TESTS += fate-msmpeg4v1
|
||||
fate-msmpeg4v1: CMD = framecrc -flags +bitexact -dct fastint -idct simple -i $(SAMPLES)/msmpeg4v1/mpg4.avi -an
|
||||
|
||||
|
||||
2
tests/ref/fate/mapchan-6ch-extract-2
Normal file
2
tests/ref/fate/mapchan-6ch-extract-2
Normal file
@@ -0,0 +1,2 @@
|
||||
6f091fe8c0be88c75921731dc9f74314
|
||||
5c2d162b9024329eb367295d37b8ca0a
|
||||
1
tests/ref/fate/mapchan-6ch-extract-2-downmix-mono
Normal file
1
tests/ref/fate/mapchan-6ch-extract-2-downmix-mono
Normal file
@@ -0,0 +1 @@
|
||||
959645ed73e6d08d8f1e947eac5d0b92
|
||||
1
tests/ref/fate/mapchan-silent-mono
Normal file
1
tests/ref/fate/mapchan-silent-mono
Normal file
@@ -0,0 +1 @@
|
||||
4f5148f08587a4b9794aa52aec7852ac
|
||||
Reference in New Issue
Block a user