From patchwork Thu Jul 28 18:03:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petru Rares Sincraian X-Patchwork-Id: 23 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.140.67 with SMTP id o64csp925879vsd; Thu, 28 Jul 2016 11:03:37 -0700 (PDT) X-Received: by 10.194.7.100 with SMTP id i4mr38185652wja.154.1469729017773; Thu, 28 Jul 2016 11:03:37 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id m5si42463300wmi.65.2016.07.28.11.03.37; Thu, 28 Jul 2016 11:03:37 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@outlook.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5E9B368A274; Thu, 28 Jul 2016 21:03:26 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from BAY004-OMC4S23.hotmail.com (bay004-omc4s23.hotmail.com [65.54.190.225]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AF519689C9B for ; Thu, 28 Jul 2016 21:03:16 +0300 (EEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com ([65.54.190.200]) by BAY004-OMC4S23.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Thu, 28 Jul 2016 11:03:19 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Nn+/Hl759ZSZ0zUGxFAbztcXrtGCs3r8/FYdRIHghJA=; b=CtxRETchl98kcPGEYud9wsSbu1M5gDzX0RyPR/ykIwwqSmtX4k4PBnxIV9bJhAwJ/dAvQ7YBLwGAWa3B2ixvsYV5soYOwVFs8XsGDZfL6i/ct4nSxGE3ccYEj9vxU5Fgm1lN1e6Zt6WmmJg57vOBAskuVgnympQmh8yXBshJzAjy4bvZRGou1GuArkytjDD9yRaLqpt7sCmofoKra2TJBLbECU5BFfkHgYJPkvpCJC+wQ4p2h5wt05zsQxuSmg5C7E94mwTiJPA/fJ6ueS5B7MbrrswcnQYurJ0qPEsQShb2rTCfaNRDm4gTv2JC90N68hrQDJcc3A30wsbHz9LvhQ== Received: from HE1EUR01FT027.eop-EUR01.prod.protection.outlook.com (10.152.0.57) by HE1EUR01HT147.eop-EUR01.prod.protection.outlook.com (10.152.0.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.5; Thu, 28 Jul 2016 18:03:12 +0000 Received: from HE1PR1001MB0827.EURPRD10.PROD.OUTLOOK.COM (10.152.0.55) by HE1EUR01FT027.mail.protection.outlook.com (10.152.0.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.5 via Frontend Transport; Thu, 28 Jul 2016 18:03:11 +0000 Received: from HE1PR1001MB0827.EURPRD10.PROD.OUTLOOK.COM ([10.167.192.145]) by HE1PR1001MB0827.EURPRD10.PROD.OUTLOOK.COM ([10.167.192.145]) with mapi id 15.01.0549.016; Thu, 28 Jul 2016 18:03:10 +0000 From: Petru Rares Sincraian To: FFmpeg development discussions and patches Thread-Topic: [PATCH] fate: add test for stereotools filter Thread-Index: AQHR6Po6hiBlYngK40id9SKroD7KvA== Date: Thu, 28 Jul 2016 18:03:10 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: spf=softfail (sender IP is 10.152.0.55) smtp.mailfrom=outlook.com; ffmpeg.org; dkim=none (message not signed) header.d=none; ffmpeg.org; dmarc=fail action=none header.from=outlook.com; received-spf: SoftFail (protection.outlook.com: domain of transitioning outlook.com discourages use of 10.152.0.55 as permitted sender) x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [kaVyESDxAkOllT6NnzUu6sIvKWGOaIvQ] x-eopattributedmessage: 0 x-forefront-antispam-report: CIP:10.152.0.55; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1EUR01HT147; H:HE1PR1001MB0827.EURPRD10.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; x-microsoft-exchange-diagnostics: 1; HE1EUR01HT147; 5:l6vEBC0HJou9JijZH2gFYtABQgLMibDJbCBFk1HBu73pGtIsL/cNUVKnyAOTsUpPDw617D/7mONsoFfkoIpvq1tLBBF42LsE3TDcMBPayEW55qwKqNTnpPzLTYiq8y5JPURNrmlHUrrjAgMPhLywew==; 24:yP2E5dw5QaKBoM2p+hjsch5UHdHBtIcEf9NgDARjqISXl1ayY/XIXbF0ofTPZdUfZERx+clpWwVe4RolopivWfiaxvXq0KeehbmJgtM96I4=; 7:8TS1m0HvyXjjyLjARoKVo7TeQBsMFykW1TATA/C1zFzKSTN0pv96p4gMjLC8lO1QwpD1X+AEOy0mptuzxSyjRuVGXl5zz2EBn1/cmfqnUe5ZGzjOnmkZE3v+omt0bxoClVoX6VBYBE/yPzFCj5TLhgMghGpQmX68UyT+3Su4v4I0zqYAuSWvmkUwL0Y+dmy8dmZ9SZkfiF88YZGoWdxw8LDYVDvGR1E/wunxoVILvu4e+v2qmNW2SVWTgVM4g2wH x-ms-office365-filtering-correlation-id: 241d26cb-9e69-4064-82b3-08d3b7116f7a x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(1601125047); SRVR:HE1EUR01HT147; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(102415321)(82015046); SRVR:HE1EUR01HT147; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR01HT147; x-forefront-prvs: 00179089FD spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2016 18:03:10.0057 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT147 X-OriginalArrivalTime: 28 Jul 2016 18:03:19.0241 (UTC) FILETIME=[52671390:01D1E8FA] Subject: [FFmpeg-devel] [PATCH] fate: add test for stereotools filter 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Hi there, Here is a test for stereotools filter. Regards, Petru :D From fae8038c19ec162179d7606f74c698a0f6de61c2 Mon Sep 17 00:00:00 2001 From: Petru Rares Sincraian Date: Thu, 28 Jul 2016 20:01:40 +0200 Subject: [PATCH] fate: add test for stereotools filter --- tests/fate/filter-audio.mak | 4 ++++ tests/ref/fate/filter-stereotools | 25 +++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 tests/ref/fate/filter-stereotools diff --git a/tests/fate/filter-audio.mak b/tests/fate/filter-audio.mak index 32787a7..cb278c8 100644 --- a/tests/fate/filter-audio.mak +++ b/tests/fate/filter-audio.mak @@ -114,6 +114,10 @@ fate-filter-extrastereo: tests/data/asynth-44100-2.wav fate-filter-extrastereo: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav fate-filter-extrastereo: CMD = framecrc -i $(SRC) -aframes 20 -af extrastereo=m=2 +FATE_AFILTER_SAMPLES-$(call FILTERDEMDECENCMUX, STEREOTOOLS, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-stereotools +fate-filter-stereotools: SRC = $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav +fate-filter-stereotools: CMD = framecrc -i $(SRC) -aframes 20 -af stereotools=mlev=0.015625 + tests/data/hls-list.m3u8: TAG = GEN tests/data/hls-list.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \ diff --git a/tests/ref/fate/filter-stereotools b/tests/ref/fate/filter-stereotools new file mode 100644 index 0000000..89babd6 --- /dev/null +++ b/tests/ref/fate/filter-stereotools @@ -0,0 +1,25 @@ +#tb 0: 1/44100 +#media_type 0: audio +#codec_id 0: pcm_s16le +#sample_rate 0: 44100 +#channel_layout 0: 3 +0, 0, 0, 1024, 4096, 0x48b6d241 +0, 1024, 1024, 1024, 4096, 0xe0c4ca9a +0, 2048, 2048, 1024, 4096, 0x6dd8e26c +0, 3072, 3072, 1024, 4096, 0x047cce1c +0, 4096, 4096, 1024, 4096, 0x0b7bc8e4 +0, 5120, 5120, 1024, 4096, 0xf0c9d037 +0, 6144, 6144, 1024, 4096, 0x6f23c83d +0, 7168, 7168, 1024, 4096, 0xe6d8c099 +0, 8192, 8192, 1024, 4096, 0xcca3cb25 +0, 9216, 9216, 1024, 4096, 0xefced25b +0, 10240, 10240, 1024, 4096, 0x8614cdcb +0, 11264, 11264, 1024, 4096, 0x06d1eb3f +0, 12288, 12288, 1024, 4096, 0x7afbcffd +0, 13312, 13312, 1024, 4096, 0x6371dcd8 +0, 14336, 14336, 1024, 4096, 0xdd8f90d9 +0, 15360, 15360, 1024, 4096, 0x448c08f4 +0, 16384, 16384, 1024, 4096, 0x4d9b2d26 +0, 17408, 17408, 1024, 4096, 0x735a05da +0, 18432, 18432, 1024, 4096, 0x8651bf40 +0, 19456, 19456, 1024, 4096, 0xbf98c4e7 -- 1.9.1