From patchwork Tue Aug 6 11:50:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gaullier Nicolas X-Patchwork-Id: 14267 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id DFA8944A215 for ; Tue, 6 Aug 2019 14:51:01 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C96A668AACE; Tue, 6 Aug 2019 14:51:01 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from smtp-2.arkena.net (smtp-2.arkena.net [95.81.173.75]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F392568A882 for ; Tue, 6 Aug 2019 14:50:56 +0300 (EEST) Received: from secu2 (unknown [10.180.103.10]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-2.arkena.net (Postfix) with ESMTPSA id 462tHv1Mc3zHh9k; Tue, 6 Aug 2019 11:50:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arkena.com; s=20150421; t=1565092251; bh=u982L0vN3mPt6tP75Smohv2drGoAd8zu+iH9samdoWk=; h=From:To:Cc:Subject:Date:Message-Id; b=qdDsPy4EVm+W1h4XdQyd2HkiMiXFJh2jO9hdGW7PjijCFlsOlKznvp3WXFw771OZ2 awscU8mMHnAz/4qz0pmoS84BvzKlCvbK78qstyJy2En+krqPLVNyjq8mzTyqo5hyjm SgPAh3xrYZ3pU5205zCEmufZ92RBKsb4ZeDqBnRM= Received: from arkena.com (unknown [172.16.3.159]) by secu2 (Postfix) with ESMTP id BE5583FA71; Tue, 6 Aug 2019 13:28:02 +0200 (CEST) From: Nicolas Gaullier To: ffmpeg-devel@ffmpeg.org Date: Tue, 6 Aug 2019 13:50:44 +0200 Message-Id: <20190806115044.4116-6-nicolas.gaullier@arkena.com> X-Mailer: git-send-email 2.14.1.windows.1 In-Reply-To: <20190806115044.4116-1-nicolas.gaullier@arkena.com> References: <20190806115044.4116-1-nicolas.gaullier@arkena.com> Subject: [FFmpeg-devel] [PATCH v2 5/5] avformat/s337m: Test wav subdemux X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Nicolas Gaullier MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" incl. 24bits 5.1+2 dolby_e decoding --- tests/Makefile | 1 + tests/fate-run.sh | 4 ++++ tests/fate/audio.mak | 5 +++++ 3 files changed, 10 insertions(+) diff --git a/tests/Makefile b/tests/Makefile index 0ef571b067..ebaa465597 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -75,6 +75,7 @@ ENCDEC2 = $(call ALLYES, $(firstword $(1))_ENCODER $(lastword $(1))_DECODER \ $(firstword $(3))_MUXER $(lastword $(3))_DEMUXER) DEMDEC = $(call ALLYES, $(1)_DEMUXER $(2:%=%_DECODER)) +DEMDEMDEC = $(call ALLYES, $(1)_DEMUXER $(2)_DEMUXER $(3:%=%_DECODER)) ENCMUX = $(call ALLYES, $(1:%=%_ENCODER) $(2)_MUXER) DEMMUX = $(call ALLYES, $(1)_DEMUXER $(2)_MUXER) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 2f1991da52..8ecb2b6cfa 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -162,6 +162,10 @@ pcm(){ ffmpeg "$@" -vn -f s16le - } +dolbye2pcm16(){ + ffmpeg -dolbyeprobe 1 "$@" -vn -f s16le - +} + fmtstdout(){ fmt=$1 shift 1 diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak index c41958ea2d..0e56d401ea 100644 --- a/tests/fate/audio.mak +++ b/tests/fate/audio.mak @@ -24,6 +24,11 @@ fate-dolby-e: CMD = pcm -i $(TARGET_SAMPLES)/dolby_e/16-11 fate-dolby-e: CMP = oneoff fate-dolby-e: REF = $(SAMPLES)/dolby_e/16-11.pcm +FATE_SAMPLES_AUDIO-$(call DEMDEMDEC, WAV, S337M, DOLBY_E) += fate-dolby-e-wav +fate-dolby-e-wav: CMD = dolbye2pcm16 -i $(TARGET_SAMPLES)/dolby_e/512.wav +fate-dolby-e-wav: CMP = oneoff +fate-dolby-e-wav: REF = $(SAMPLES)/dolby_e/512.wav.pcm + FATE_SAMPLES_AUDIO-$(call DEMDEC, DSS, DSS_SP) += fate-dss-lp fate-dss-sp fate-dss-lp: CMD = framecrc -i $(TARGET_SAMPLES)/dss/lp.dss -frames 30 fate-dss-sp: CMD = framecrc -i $(TARGET_SAMPLES)/dss/sp.dss -frames 30