[FFmpeg-devel] [PATCH] fate: add test for asetrate

Petru Rares Sincraian psincraian at outlook.com
Mon Jul 4 19:34:47 EEST 2016


How can I do that?



Thanks,

Petru.

________________________________
From: Petru Rares Sincraian <psincraian at outlook.com>
Sent: Monday, July 4, 2016 6:23:05 PM
To: ffmpeg-devel at ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH] fate: add test for asetrate



On 04/07/16 18:03, Cl?ment Boesch wrote:

On Mon, Jul 04, 2016 at 04:01:17PM +0000, Petru Rares Sincraian wrote:


Hi there,


Here is a patch for libavfilter/asetrate.





>From f855dbc610888acf6a36b2df16a9146a14fc22f6 Mon Sep 17 00:00:00 2001
From: Petru Rares Sincraian <psincraian at outlook.com><mailto:psincraian at outlook.com>
Date: Mon, 4 Jul 2016 17:51:54 +0200
Subject: [PATCH] fate: add test for asetrate

---
 tests/fate/filter-audio.mak    |   5 +
 tests/ref/fate/filter-asetrate | 264 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 269 insertions(+)
 create mode 100644 tests/ref/fate/filter-asetrate

diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak
index a40755a..95cb404 100644
--- a/tests/fate/filter-audio.mak
+++ b/tests/fate/filter-audio.mak
@@ -89,6 +89,11 @@ fate-filter-asetnsamples: tests/data/asynth-44100-2.wav
 fate-filter-asetnsamples: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
 fate-filter-asetnsamples: CMD = framecrc -i $(SRC) -af asetnsamples=512:p=1

+FATE_AFILTER-$(call FILTERDEMDECENCMUX, ASETRATE, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-asetrate
+fate-filter-asetrate: tests/data/asynth-44100-2.wav
+fate-filter-asetrate: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
+fate-filter-asetrate: CMD = framecrc -i $(SRC) -af asetrate=20000
+



This is not the first patch like this, but I don't think you need to
decode the whole file. 20-30 frames should be more than enough IMO

Regards,



How can I do that?

Thanks,
Petru Rares.


_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org<mailto:ffmpeg-devel at ffmpeg.org>
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel




More information about the ffmpeg-devel mailing list