mirror of https://github.com/FFmpeg/FFmpeg.git
* commit 'eb8a8115994434b548523cf0bca6a4a74784e79c': tests: Convert audio-only lavf tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>pull/310/head
commit
29929fc8e2
33 changed files with 113 additions and 174 deletions
@ -0,0 +1,38 @@ |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_S16BE, AIFF) += aiff |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_ALAW, PCM_ALAW) += al |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_S16BE_PLANAR, AST) += ast |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_S16BE, AU) += au |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_S16BE, CAF) += caf |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, ADPCM_YAMAHA, MMF) += mmf |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, FLAC, OGG) += ogg |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_U8, RSO) += rso |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_S16LE, SOX) += sox |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_MULAW, PCM_MULAW) += ul |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_U8, VOC) += voc |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_S16LE, IRCAM) += ircam |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_S16LE, VOC) += s16.voc |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_S16LE, WAV) += wav |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_S16LE, WAV) += peak.wav |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_S16LE, WAV) += peak_only.wav |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, PCM_S16LE, W64) += w64 |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, TTA, TTA) += tta |
||||
FATE_LAVF_AUDIO-$(call ENCMUX, TTA, MATROSKA_AUDIO) += mka |
||||
FATE_LAVF_AUDIO-$(call ENCDEC, WAVPACK, WV) += wv |
||||
|
||||
FATE_LAVF_AUDIO = $(FATE_LAVF_AUDIO-yes:%=fate-lavf-%)
|
||||
|
||||
$(FATE_LAVF_AUDIO): CMD = lavf_audio |
||||
$(FATE_LAVF_AUDIO): REF = $(SRC_PATH)/tests/ref/lavf/$(@:fate-lavf-%=%) |
||||
$(FATE_LAVF_AUDIO): $(AREF) |
||||
|
||||
fate-lavf-al fate-lavf-ul: CMD = lavf_audio "" "" "-ar 44100" |
||||
fate-lavf-ogg: CMD = lavf_audio "" "-c:a flac" |
||||
fate-lavf-s16.voc: CMD = lavf_audio "-ac 2" "-c:a pcm_s16le" |
||||
fate-lavf-ast: CMD = lavf_audio "-ac 2" "-loopstart 1 -loopend 10" |
||||
fate-lavf-mka: CMD = lavf_audio "" "-c:a tta" |
||||
fate-lavf-voc: CMD = lavf_audio "" "-c:a pcm_u8" |
||||
fate-lavf-peak.wav: CMD = lavf_audio "" "-write_peak on" |
||||
fate-lavf-peak_only.wav: CMD = lavf_audio "" "-write_peak only" |
||||
|
||||
FATE_AVCONV += $(FATE_LAVF_AUDIO)
|
||||
fate-lavf-audio fate-lavf: $(FATE_LAVF_AUDIO) |
@ -1,3 +1,3 @@ |
||||
2c129d88acef834e32869145fe792b9c *./tests/data/lavf/lavf.aif |
||||
88270 ./tests/data/lavf/lavf.aif |
||||
./tests/data/lavf/lavf.aif CRC=0x3a1da17e |
||||
2c129d88acef834e32869145fe792b9c *tests/data/lavf/lavf.aiff |
||||
88270 tests/data/lavf/lavf.aiff |
||||
tests/data/lavf/lavf.aiff CRC=0x3a1da17e |
||||
|
@ -0,0 +1,3 @@ |
||||
652d96e474869ddb01403743deb35117 *tests/data/lavf/lavf.al |
||||
44100 tests/data/lavf/lavf.al |
||||
tests/data/lavf/lavf.al CRC=0xf9643112 |
@ -1,3 +0,0 @@ |
||||
652d96e474869ddb01403743deb35117 *./tests/data/lavf/lavf.al |
||||
44100 ./tests/data/lavf/lavf.al |
||||
./tests/data/lavf/lavf.al CRC=0xf9643112 |
@ -1,3 +1,3 @@ |
||||
07f5d23aa8bade984034f7005bd72947 *./tests/data/lavf/lavf.ast |
||||
177872 ./tests/data/lavf/lavf.ast |
||||
./tests/data/lavf/lavf.ast CRC=0xe61e3bd0 |
||||
07f5d23aa8bade984034f7005bd72947 *tests/data/lavf/lavf.ast |
||||
177872 tests/data/lavf/lavf.ast |
||||
tests/data/lavf/lavf.ast CRC=0xe61e3bd0 |
||||
|
@ -1,3 +1,3 @@ |
||||
5228ad3783888c45a08dac5ab6118794 *./tests/data/lavf/lavf.au |
||||
88240 ./tests/data/lavf/lavf.au |
||||
./tests/data/lavf/lavf.au CRC=0x3a1da17e |
||||
5228ad3783888c45a08dac5ab6118794 *tests/data/lavf/lavf.au |
||||
88240 tests/data/lavf/lavf.au |
||||
tests/data/lavf/lavf.au CRC=0x3a1da17e |
||||
|
@ -1,3 +1,3 @@ |
||||
c3c38cba600722c87c0e75bd0688b7fc *./tests/data/lavf/lavf.caf |
||||
88323 ./tests/data/lavf/lavf.caf |
||||
./tests/data/lavf/lavf.caf CRC=0x3a1da17e |
||||
c3c38cba600722c87c0e75bd0688b7fc *tests/data/lavf/lavf.caf |
||||
88323 tests/data/lavf/lavf.caf |
||||
tests/data/lavf/lavf.caf CRC=0x3a1da17e |
||||
|
@ -1,3 +1,3 @@ |
||||
45d9a4667030e95d1d8fb6ab012f1aa0 *./tests/data/lavf/lavf.ircam |
||||
89224 ./tests/data/lavf/lavf.ircam |
||||
./tests/data/lavf/lavf.ircam CRC=0x3a1da17e |
||||
45d9a4667030e95d1d8fb6ab012f1aa0 *tests/data/lavf/lavf.ircam |
||||
89224 tests/data/lavf/lavf.ircam |
||||
tests/data/lavf/lavf.ircam CRC=0x3a1da17e |
||||
|
@ -1,3 +1,3 @@ |
||||
2d9722c0691e140237af0036e3a178b0 *./tests/data/lavf/lavf.mka |
||||
43684 ./tests/data/lavf/lavf.mka |
||||
./tests/data/lavf/lavf.mka CRC=0x3a1da17e |
||||
2d9722c0691e140237af0036e3a178b0 *tests/data/lavf/lavf.mka |
||||
43684 tests/data/lavf/lavf.mka |
||||
tests/data/lavf/lavf.mka CRC=0x3a1da17e |
||||
|
@ -1,3 +1,3 @@ |
||||
643fadf7482f6d937ed75ec4f508e4f1 *./tests/data/lavf/lavf.mmf |
||||
22611 ./tests/data/lavf/lavf.mmf |
||||
./tests/data/lavf/lavf.mmf CRC=0x8dea1388 |
||||
643fadf7482f6d937ed75ec4f508e4f1 *tests/data/lavf/lavf.mmf |
||||
22611 tests/data/lavf/lavf.mmf |
||||
tests/data/lavf/lavf.mmf CRC=0x8dea1388 |
||||
|
@ -1,3 +0,0 @@ |
||||
ad492935e361f830f2f8302aa102701d *./tests/data/lavf/lavf.ul |
||||
44100 ./tests/data/lavf/lavf.ul |
||||
./tests/data/lavf/lavf.ul CRC=0x4515fa26 |
@ -1,3 +1,3 @@ |
||||
81b9366cacb23644c2803585dced9996 *./tests/data/lavf/lavf.ogg |
||||
13516 ./tests/data/lavf/lavf.ogg |
||||
./tests/data/lavf/lavf.ogg CRC=0x3a1da17e |
||||
81b9366cacb23644c2803585dced9996 *tests/data/lavf/lavf.ogg |
||||
13516 tests/data/lavf/lavf.ogg |
||||
tests/data/lavf/lavf.ogg CRC=0x3a1da17e |
||||
|
@ -0,0 +1,3 @@ |
||||
105805963fb767d00da056f42f32d9f3 *tests/data/lavf/lavf.peak.wav |
||||
89094 tests/data/lavf/lavf.peak.wav |
||||
tests/data/lavf/lavf.peak.wav CRC=0x3a1da17e |
@ -0,0 +1,3 @@ |
||||
f1a8aeeae8069f3992c4d780436c3d23 *tests/data/lavf/lavf.peak_only.wav |
||||
832 tests/data/lavf/lavf.peak_only.wav |
||||
tests/data/lavf/lavf.peak_only.wav |
@ -1,3 +1,3 @@ |
||||
443b72346065d6318ca18c8395aa1d87 *./tests/data/lavf/lavf.rso |
||||
44108 ./tests/data/lavf/lavf.rso |
||||
./tests/data/lavf/lavf.rso CRC=0x298fd284 |
||||
443b72346065d6318ca18c8395aa1d87 *tests/data/lavf/lavf.rso |
||||
44108 tests/data/lavf/lavf.rso |
||||
tests/data/lavf/lavf.rso CRC=0x298fd284 |
||||
|
@ -0,0 +1,3 @@ |
||||
db9fa22ff71992bd8b6cc80047223c92 *tests/data/lavf/lavf.s16.voc |
||||
176615 tests/data/lavf/lavf.s16.voc |
||||
tests/data/lavf/lavf.s16.voc CRC=0xe61e3bd0 |
@ -1,3 +1,3 @@ |
||||
683635d5cb1344e44fa96df90c3a993c *./tests/data/lavf/lavf.sox |
||||
176432 ./tests/data/lavf/lavf.sox |
||||
./tests/data/lavf/lavf.sox CRC=0x3a1da17e |
||||
683635d5cb1344e44fa96df90c3a993c *tests/data/lavf/lavf.sox |
||||
176432 tests/data/lavf/lavf.sox |
||||
tests/data/lavf/lavf.sox CRC=0x3a1da17e |
||||
|
@ -1,3 +1,3 @@ |
||||
d86c5cccb2554143d34d1786ab460a31 *./tests/data/lavf/lavf.tta |
||||
43200 ./tests/data/lavf/lavf.tta |
||||
./tests/data/lavf/lavf.tta CRC=0x3a1da17e |
||||
d86c5cccb2554143d34d1786ab460a31 *tests/data/lavf/lavf.tta |
||||
43200 tests/data/lavf/lavf.tta |
||||
tests/data/lavf/lavf.tta CRC=0x3a1da17e |
||||
|
@ -0,0 +1,3 @@ |
||||
ad492935e361f830f2f8302aa102701d *tests/data/lavf/lavf.ul |
||||
44100 tests/data/lavf/lavf.ul |
||||
tests/data/lavf/lavf.ul CRC=0x4515fa26 |
@ -1,3 +1,3 @@ |
||||
bb5ad96a5e1b35683d50bf18115db821 *./tests/data/lavf/lavf.voc |
||||
44305 ./tests/data/lavf/lavf.voc |
||||
./tests/data/lavf/lavf.voc CRC=0x298fd284 |
||||
bb5ad96a5e1b35683d50bf18115db821 *tests/data/lavf/lavf.voc |
||||
44305 tests/data/lavf/lavf.voc |
||||
tests/data/lavf/lavf.voc CRC=0x298fd284 |
||||
|
@ -1,3 +0,0 @@ |
||||
db9fa22ff71992bd8b6cc80047223c92 *./tests/data/lavf/lavf.s16.voc |
||||
176615 ./tests/data/lavf/lavf.s16.voc |
||||
./tests/data/lavf/lavf.s16.voc CRC=0xe61e3bd0 |
@ -1,3 +1,3 @@ |
||||
82c75c9cb61924fda68d9602ea69c445 *./tests/data/lavf/lavf.w64 |
||||
88304 ./tests/data/lavf/lavf.w64 |
||||
./tests/data/lavf/lavf.w64 CRC=0x3a1da17e |
||||
82c75c9cb61924fda68d9602ea69c445 *tests/data/lavf/lavf.w64 |
||||
88304 tests/data/lavf/lavf.w64 |
||||
tests/data/lavf/lavf.w64 CRC=0x3a1da17e |
||||
|
@ -1,3 +1,3 @@ |
||||
fc958a32b4fca7b1c40cbdaef2d1416e *./tests/data/lavf/lavf.wav |
||||
88274 ./tests/data/lavf/lavf.wav |
||||
./tests/data/lavf/lavf.wav CRC=0x3a1da17e |
||||
fc958a32b4fca7b1c40cbdaef2d1416e *tests/data/lavf/lavf.wav |
||||
88274 tests/data/lavf/lavf.wav |
||||
tests/data/lavf/lavf.wav CRC=0x3a1da17e |
||||
|
@ -1,3 +0,0 @@ |
||||
105805963fb767d00da056f42f32d9f3 *./tests/data/lavf/lavf.peak.wav |
||||
89094 ./tests/data/lavf/lavf.peak.wav |
||||
./tests/data/lavf/lavf.peak.wav CRC=0x3a1da17e |
@ -1,2 +0,0 @@ |
||||
f1a8aeeae8069f3992c4d780436c3d23 *./tests/data/lavf/lavf.peak_only.wav |
||||
832 ./tests/data/lavf/lavf.peak_only.wav |
@ -1,3 +1,3 @@ |
||||
47d9a381d9c3f99b8b059f3b17f1dc11 *./tests/data/lavf/lavf.wv |
||||
59560 ./tests/data/lavf/lavf.wv |
||||
./tests/data/lavf/lavf.wv CRC=0x3a1da17e |
||||
47d9a381d9c3f99b8b059f3b17f1dc11 *tests/data/lavf/lavf.wv |
||||
59560 tests/data/lavf/lavf.wv |
||||
tests/data/lavf/lavf.wv CRC=0x3a1da17e |
||||
|
Loading…
Reference in new issue