From patchwork Tue Jun 26 19:53:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 9516 Delivered-To: ffmpegpatchwork@gmail.com Received: by 2002:a02:104:0:0:0:0:0 with SMTP id c4-v6csp13676jad; Tue, 26 Jun 2018 12:54:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpedJrdbkRAbSDOQrvy9JVIhHzeOQOj/2A1pNpmRTPjid+LjHYUZlpCdxCNRrY+TDojxQz2V X-Received: by 2002:adf:b219:: with SMTP id u25-v6mr2628362wra.1.1530042856343; Tue, 26 Jun 2018 12:54:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530042856; cv=none; d=google.com; s=arc-20160816; b=wZPBxalon5KI6SaVLA+wTnQJ28QjK5ff78zDqG9ZVapFYig4RgF/nJhsvN25OjUJev AMj4UyKY/QrX/O7fm5Pkj6h6kgDQIK14niTLZt1JadvLFmIgxDl5y4oa3kvrbAKSowLH 5H4/g5SSdI12UtGKhxaOPI9QGutZaDDipbzjW9mud7EPgT6KqSP1suZ8VZU+rRl4jvot onz6T6jbESwUg0rfpGWCS4tGZO+zWJ/QaThkIFUiEl1SHsd+RaWKzUqLxdpB7cfzAU5L vi0xyoY1Sr+iHOAEvxDJcTfYJYDlOk40M3soM20XbGVGA4nxAQ9lj1JQLpwIdpQPr1Ub bEOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :arc-authentication-results; bh=PcD/1Vw4S69KFoQMV+DU98RP7mhK9cnVZKzMuc05tGI=; b=QMnaMaXio3vMIn0bezMDmxw7EqaVVZ7L+FaqqWWlB2b3JiXWCFBPXWpJSSbfs2Wq3h jpSTjbYJIPr5QflwSI+SJf8HKS08AdXvkV1rPGH8PhrT8u2XeEM5P4v0aQ9hmeO++Zyb c2nSjts7bDV9X4ULZJ7yPuYlEwStVDz82GIXMK/vXjuKm6+tD+3Phf+06iKdESL59ZWH Z7rYd9hjMRJObFllJjFmaQZ2xB3JIJPcFg9v52Y9/y0CpPsgOGl2/E4AoOBh9SFJMaHe FiDWArEJ5nScZsfvy+g45ork0+5oqX1LGBDXcsbHbAN6R0STJMmuIl4VL1AaTtjVNnJu 34dQ== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id s11-v6si531179wrr.426.2018.06.26.12.54.15; Tue, 26 Jun 2018 12:54:16 -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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9CC3E68A391; Tue, 26 Jun 2018 22:53:17 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-qmta-pe01-3.mx.upcmail.net (vie01a-qmta-pe01-3.mx.upcmail.net [62.179.121.180]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BF4E168A2AA for ; Tue, 26 Jun 2018 22:53:11 +0300 (EEST) Received: from [172.31.218.53] (helo=vie01a-dmta-pe08-2.mx.upcmail.net) by vie01a-pqmta-pe01.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1fXu2R-0007Em-7t for ffmpeg-devel@ffmpeg.org; Tue, 26 Jun 2018 21:54:07 +0200 Received: from [172.31.216.43] (helo=vie01a-pemc-psmtp-pe01) by vie01a-dmta-pe08.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1fXu2L-0006BY-Ks for ffmpeg-devel@ffmpeg.org; Tue, 26 Jun 2018 21:54:01 +0200 Received: from localhost ([213.47.41.20]) by vie01a-pemc-psmtp-pe01 with SMTP @ mailcloud.upcmail.net id 3Xty1y0030S5wYM01XtzKD; Tue, 26 Jun 2018 21:53:59 +0200 X-SourceIP: 213.47.41.20 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Tue, 26 Jun 2018 21:53:15 +0200 Message-Id: <20180626195315.26437-1-michael@niedermayer.cc> X-Mailer: git-send-email 2.18.0 Subject: [FFmpeg-devel] [PATCH] tests/fate/demux: Add test for d25c945247979a88fac6bb3b7a26370262b96ef1 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Sample provided by Thierry for fate Signed-off-by: Michael Niedermayer --- tests/fate/demux.mak | 3 ++ tests/ref/fate/ts-small-demux | 80 +++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 tests/ref/fate/ts-small-demux diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak index ef9e677821..eb8d8c3655 100644 --- a/tests/fate/demux.mak +++ b/tests/fate/demux.mak @@ -76,6 +76,9 @@ fate-mov-mp3-demux: CMD = framecrc -i $(TARGET_SAMPLES)/mpegaudio/packed_maindat FATE_SAMPLES_DEMUX-$(CONFIG_MPEGTS_DEMUXER) += fate-ts-opus-demux fate-ts-opus-demux: CMD = framecrc -i $(TARGET_SAMPLES)/opus/test-8-7.1.opus-small.ts -c copy +FATE_SAMPLES_DEMUX-$(CONFIG_MPEGTS_DEMUXER) += fate-ts-small-demux +fate-ts-small-demux: CMD = framecrc -i $(TARGET_SAMPLES)/mpegts/h264small.ts -c copy + FATE_SAMPLES_DEMUX-$(CONFIG_MTV_DEMUXER) += fate-mtv fate-mtv: CMD = framecrc -i $(TARGET_SAMPLES)/mtv/comedian_auto-partial.mtv -c copy diff --git a/tests/ref/fate/ts-small-demux b/tests/ref/fate/ts-small-demux new file mode 100644 index 0000000000..cdd7c09f27 --- /dev/null +++ b/tests/ref/fate/ts-small-demux @@ -0,0 +1,80 @@ +#extradata 0: 35, 0x83f4073d +#tb 0: 1/90000 +#media_type 0: video +#codec_id 0: h264 +#dimensions 0: 82x144 +#sar 0: 1/1 +0, 0, 0, 6000, 1290, 0x4684e0ab, S=1, 1, 0x00e000e0 +0, 6000, 6000, 6000, 21, 0x267504dc, F=0x0, S=1, 1, 0x00e000e0 +0, 12000, 12000, 6000, 15, 0x0f9402f6, F=0x0, S=1, 1, 0x00e000e0 +0, 18000, 18000, 6000, 15, 0x0ff40316, F=0x0, S=1, 1, 0x00e000e0 +0, 24000, 24000, 6000, 15, 0x10540336, F=0x0, S=1, 1, 0x00e000e0 +0, 30000, 30000, 6000, 15, 0x10b40356, F=0x0, S=1, 1, 0x00e000e0 +0, 36000, 36000, 6000, 15, 0x11140376, F=0x0, S=1, 1, 0x00e000e0 +0, 42000, 42000, 6000, 15, 0x11740396, F=0x0, S=1, 1, 0x00e000e0 +0, 48000, 48000, 6000, 15, 0x0ed802b7, F=0x0, S=1, 1, 0x00e000e0 +0, 54000, 54000, 6000, 15, 0x0f3802d7, F=0x0, S=1, 1, 0x00e000e0 +0, 60000, 60000, 6000, 15, 0x0f9802f7, F=0x0, S=1, 1, 0x00e000e0 +0, 66000, 66000, 6000, 15, 0x0ff80317, F=0x0, S=1, 1, 0x00e000e0 +0, 72000, 72000, 6000, 15, 0x10580337, F=0x0, S=1, 1, 0x00e000e0 +0, 78000, 78000, 6000, 15, 0x10b80357, F=0x0, S=1, 1, 0x00e000e0 +0, 84000, 84000, 6000, 15, 0x11180377, F=0x0, S=1, 1, 0x00e000e0 +0, 90000, 90000, 6000, 15, 0x11780397, F=0x0, S=1, 1, 0x00e000e0 +0, 96000, 96000, 6000, 15, 0x0ed402b6, F=0x0, S=1, 1, 0x00e000e0 +0, 102000, 102000, 6000, 15, 0x0f3402d6, F=0x0, S=1, 1, 0x00e000e0 +0, 108000, 108000, 6000, 15, 0x0f9402f6, F=0x0, S=1, 1, 0x00e000e0 +0, 114000, 114000, 6000, 15, 0x0ff40316, F=0x0, S=1, 1, 0x00e000e0 +0, 120000, 120000, 6000, 15, 0x10540336, F=0x0, S=1, 1, 0x00e000e0 +0, 126000, 126000, 6000, 15, 0x10b40356, F=0x0, S=1, 1, 0x00e000e0 +0, 132000, 132000, 6000, 15, 0x11140376, F=0x0, S=1, 1, 0x00e000e0 +0, 138000, 138000, 6000, 15, 0x11740396, F=0x0, S=1, 1, 0x00e000e0 +0, 144000, 144000, 6000, 15, 0x0ed802b7, F=0x0, S=1, 1, 0x00e000e0 +0, 150000, 150000, 6000, 15, 0x0f3802d7, F=0x0, S=1, 1, 0x00e000e0 +0, 156000, 156000, 6000, 15, 0x0f9802f7, F=0x0, S=1, 1, 0x00e000e0 +0, 162000, 162000, 6000, 15, 0x0ff80317, F=0x0, S=1, 1, 0x00e000e0 +0, 168000, 168000, 6000, 15, 0x10580337, F=0x0, S=1, 1, 0x00e000e0 +0, 174000, 174000, 6000, 15, 0x10b80357, F=0x0, S=1, 1, 0x00e000e0 +0, 180000, 180000, 6000, 15, 0x11180377, F=0x0, S=1, 1, 0x00e000e0 +0, 186000, 186000, 6000, 15, 0x11780397, F=0x0, S=1, 1, 0x00e000e0 +0, 192000, 192000, 6000, 15, 0x0ed402b6, F=0x0, S=1, 1, 0x00e000e0 +0, 198000, 198000, 6000, 15, 0x0f3402d6, F=0x0, S=1, 1, 0x00e000e0 +0, 204000, 204000, 6000, 15, 0x0f9402f6, F=0x0, S=1, 1, 0x00e000e0 +0, 210000, 210000, 6000, 15, 0x0ff40316, F=0x0, S=1, 1, 0x00e000e0 +0, 216000, 216000, 6000, 15, 0x10540336, F=0x0, S=1, 1, 0x00e000e0 +0, 222000, 222000, 6000, 15, 0x10b40356, F=0x0, S=1, 1, 0x00e000e0 +0, 228000, 228000, 6000, 15, 0x11140376, F=0x0, S=1, 1, 0x00e000e0 +0, 234000, 234000, 6000, 15, 0x11740396, F=0x0, S=1, 1, 0x00e000e0 +0, 240000, 240000, 6000, 15, 0x0ed802b7, F=0x0, S=1, 1, 0x00e000e0 +0, 246000, 246000, 6000, 15, 0x0f3802d7, F=0x0, S=1, 1, 0x00e000e0 +0, 252000, 252000, 6000, 15, 0x0f9802f7, F=0x0, S=1, 1, 0x00e000e0 +0, 258000, 258000, 6000, 15, 0x0ff80317, F=0x0, S=1, 1, 0x00e000e0 +0, 264000, 264000, 6000, 15, 0x10580337, F=0x0, S=1, 1, 0x00e000e0 +0, 270000, 270000, 6000, 15, 0x10b80357, F=0x0, S=1, 1, 0x00e000e0 +0, 276000, 276000, 6000, 15, 0x11180377, F=0x0, S=1, 1, 0x00e000e0 +0, 282000, 282000, 6000, 15, 0x11780397, F=0x0, S=1, 1, 0x00e000e0 +0, 288000, 288000, 6000, 15, 0x0ed402b6, F=0x0, S=1, 1, 0x00e000e0 +0, 294000, 294000, 6000, 15, 0x0f3402d6, F=0x0, S=1, 1, 0x00e000e0 +0, 300000, 300000, 6000, 15, 0x0f9402f6, F=0x0, S=1, 1, 0x00e000e0 +0, 306000, 306000, 6000, 15, 0x0ff40316, F=0x0, S=1, 1, 0x00e000e0 +0, 312000, 312000, 6000, 15, 0x10540336, F=0x0, S=1, 1, 0x00e000e0 +0, 318000, 318000, 6000, 15, 0x10b40356, F=0x0, S=1, 1, 0x00e000e0 +0, 324000, 324000, 6000, 15, 0x11140376, F=0x0, S=1, 1, 0x00e000e0 +0, 330000, 330000, 6000, 15, 0x11740396, F=0x0, S=1, 1, 0x00e000e0 +0, 336000, 336000, 6000, 15, 0x0ed802b7, F=0x0, S=1, 1, 0x00e000e0 +0, 342000, 342000, 6000, 15, 0x0f3802d7, F=0x0, S=1, 1, 0x00e000e0 +0, 348000, 348000, 6000, 15, 0x0f9802f7, F=0x0, S=1, 1, 0x00e000e0 +0, 354000, 354000, 6000, 15, 0x0ff80317, F=0x0, S=1, 1, 0x00e000e0 +0, 360000, 360000, 6000, 15, 0x10580337, F=0x0, S=1, 1, 0x00e000e0 +0, 366000, 366000, 6000, 15, 0x10b80357, F=0x0, S=1, 1, 0x00e000e0 +0, 372000, 372000, 6000, 15, 0x11180377, F=0x0, S=1, 1, 0x00e000e0 +0, 378000, 378000, 6000, 15, 0x11780397, F=0x0, S=1, 1, 0x00e000e0 +0, 384000, 384000, 6000, 15, 0x0ed402b6, F=0x0, S=1, 1, 0x00e000e0 +0, 390000, 390000, 6000, 15, 0x0f3402d6, F=0x0, S=1, 1, 0x00e000e0 +0, 396000, 396000, 6000, 15, 0x0f9402f6, F=0x0, S=1, 1, 0x00e000e0 +0, 402000, 402000, 6000, 15, 0x0ff40316, F=0x0, S=1, 1, 0x00e000e0 +0, 408000, 408000, 6000, 15, 0x10540336, F=0x0, S=1, 1, 0x00e000e0 +0, 414000, 414000, 6000, 15, 0x10b40356, F=0x0, S=1, 1, 0x00e000e0 +0, 420000, 420000, 6000, 15, 0x11140376, F=0x0, S=1, 1, 0x00e000e0 +0, 426000, 426000, 6000, 16, 0x15a2042d, F=0x0, S=1, 1, 0x00e000e0 +0, 432000, 432000, 6000, 16, 0x1227034e, F=0x0, S=1, 1, 0x00e000e0 +0, 438000, 438000, 6000, 16, 0x136703ae, F=0x0