From patchwork Mon Sep 26 18:42:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasi Inguva X-Patchwork-Id: 737 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.140.66 with SMTP id o63csp2066560vsd; Mon, 26 Sep 2016 11:45:28 -0700 (PDT) X-Received: by 10.194.18.202 with SMTP id y10mr19202815wjd.174.1474915528250; Mon, 26 Sep 2016 11:45:28 -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 fm7si20726326wjc.6.2016.09.26.11.45.26; Mon, 26 Sep 2016 11:45:28 -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=@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 DDBFC689E7B; Mon, 26 Sep 2016 21:45:03 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D809A689E5F for ; Mon, 26 Sep 2016 21:44:55 +0300 (EEST) Received: by mail-pa0-f41.google.com with SMTP id fn2so3301168pad.0 for ; Mon, 26 Sep 2016 11:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YoqYdx4HxjwCQt3YNilN+a4QyQlvkqvqre8qLX2sJyo=; b=guDuGyF+Yn3FtaUPyWt4Z7mmB/wkq2UIglMBoeW/A3v6y6gxWPqAVoY3s+zlorTwtA ef5gN8YHTS3NzdZ+Vdhd7FoL66ZjaGynrXEyp8ijY+DhHJpvMk6nuPdFV5SABfxBUEsr IruAZUn2Ma8NcxNz9Xgi/n0zHmwjNkiPLj201FtftkBrKVeepwpO7fmtn1o9qSH4HtpB gz85hnyDDA77rdOEjvoQ+j2W3XWg8P2lf4nDxDOj4ZJnBSfYrY5C+kfiQeIB2VR+Sson nxd51s8PEYNxCKOSUZZoP0vWT3c/UycduQq6IA4toThEK4LpDNs5btgyi4m2RlHay0GD rf0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YoqYdx4HxjwCQt3YNilN+a4QyQlvkqvqre8qLX2sJyo=; b=T+n3aG4Lt6a31P/YHmz8u9V0fgofunRZlj6U3b0QmXrEf4Fa+g88AOxfdM7NyZUfWa QJsHm1tzoc184yTQLXZmSFQNVnRd8iGSyU/taMvfuGWPhJ5TAd0P5VTuCMR9Q+mLXNem G0hqFvZxEMVFDjroZEtkpEFm/qc/HSJDqYY9lpbiT4bTkqUU7i+7lvFgLTrB78k6YdmB RL/V2aUU9HNvcIpT1F2i1rGaJiVYQRyxc2Yil94185OMXDKqmUl8umw3kRVbr0jjZ5vK 5yDpqw3WY3H/FJW3xe/KDhhwwryNCj7r5i7wQDFDG6pkXPsIly+7C4u272JaRjaGJGfS fafw== X-Gm-Message-State: AE9vXwNyMmUgITIuV/n4eKFx3POZn6zuKWPRL9JPtfleXhw/7+Z8pj4nfTTsJWzC+xBR+cig X-Received: by 10.66.156.129 with SMTP id we1mr40412805pab.149.1474915511143; Mon, 26 Sep 2016 11:45:11 -0700 (PDT) Received: from isasi.mtv.corp.google.com ([172.27.82.89]) by smtp.gmail.com with ESMTPSA id w9sm32811476pfg.34.2016.09.26.11.45.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Sep 2016 11:45:10 -0700 (PDT) From: Sasi Inguva To: ffmpeg-devel@ffmpeg.org Date: Mon, 26 Sep 2016 11:42:52 -0700 Message-Id: <1474915372-25376-3-git-send-email-isasi@google.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1474915372-25376-1-git-send-email-isasi@google.com> References: <20160924015511.GT4975@nb4> <1474915372-25376-1-git-send-email-isasi@google.com> Subject: [FFmpeg-devel] [PATCH 3/3] tests/fate-run.sh: Show packet flags for fate gapless tests. 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: Sasi Inguva MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Sasi Inguva --- tests/fate-run.sh | 2 +- tests/ref/fate/gaplessenc-itunes-to-ipod-aac | 32 ++++++++++++++-------------- tests/ref/fate/gaplessenc-pcm-to-mov-aac | 32 ++++++++++++++-------------- tests/ref/fate/gaplessinfo-itunes1 | 32 ++++++++++++++-------------- tests/ref/fate/gaplessinfo-itunes2 | 32 ++++++++++++++-------------- 5 files changed, 65 insertions(+), 65 deletions(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index c640cc5..cca8fa0 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -107,7 +107,7 @@ probegaplessinfo(){ pktfile1="${outdir}/${test}.pkts" framefile1="${outdir}/${test}.frames" cleanfiles="$cleanfiles $pktfile1 $framefile1" - run ffprobe${PROGSUF} -bitexact -select_streams a -of compact -count_packets -show_entries packet=pts,dts,duration:stream=nb_read_packets -v 0 "$filename" "$@" > "$pktfile1" + run ffprobe${PROGSUF} -bitexact -select_streams a -of compact -count_packets -show_entries packet=pts,dts,duration,flags:stream=nb_read_packets -v 0 "$filename" "$@" > "$pktfile1" head -n 8 "$pktfile1" tail -n 9 "$pktfile1" run ffprobe${PROGSUF} -bitexact -select_streams a -of compact -count_frames -show_entries frame=pkt_pts,pkt_dts,best_effort_timestamp,pkt_duration,nb_samples:stream=nb_read_frames -v 0 "$filename" "$@" > "$framefile1" diff --git a/tests/ref/fate/gaplessenc-itunes-to-ipod-aac b/tests/ref/fate/gaplessenc-itunes-to-ipod-aac index 789681f..ed68487 100644 --- a/tests/ref/fate/gaplessenc-itunes-to-ipod-aac +++ b/tests/ref/fate/gaplessenc-itunes-to-ipod-aac @@ -7,22 +7,22 @@ duration_ts=103326 start_time=0.000000 duration=2.367000 [/FORMAT] -packet|pts=-1024|dts=-1024|duration=1024 -packet|pts=0|dts=0|duration=1024 -packet|pts=1024|dts=1024|duration=1024 -packet|pts=2048|dts=2048|duration=1024 -packet|pts=3072|dts=3072|duration=1024 -packet|pts=4096|dts=4096|duration=1024 -packet|pts=5120|dts=5120|duration=1024 -packet|pts=6144|dts=6144|duration=1024 -packet|pts=95232|dts=95232|duration=1024 -packet|pts=96256|dts=96256|duration=1024 -packet|pts=97280|dts=97280|duration=1024 -packet|pts=98304|dts=98304|duration=1024 -packet|pts=99328|dts=99328|duration=1024 -packet|pts=100352|dts=100352|duration=1024 -packet|pts=101376|dts=101376|duration=1024 -packet|pts=102400|dts=102400|duration=926 +packet|pts=-1024|dts=-1024|duration=1024|flags=KD +packet|pts=0|dts=0|duration=1024|flags=K_ +packet|pts=1024|dts=1024|duration=1024|flags=K_ +packet|pts=2048|dts=2048|duration=1024|flags=K_ +packet|pts=3072|dts=3072|duration=1024|flags=K_ +packet|pts=4096|dts=4096|duration=1024|flags=K_ +packet|pts=5120|dts=5120|duration=1024|flags=K_ +packet|pts=6144|dts=6144|duration=1024|flags=K_ +packet|pts=95232|dts=95232|duration=1024|flags=K_ +packet|pts=96256|dts=96256|duration=1024|flags=K_ +packet|pts=97280|dts=97280|duration=1024|flags=K_ +packet|pts=98304|dts=98304|duration=1024|flags=K_ +packet|pts=99328|dts=99328|duration=1024|flags=K_ +packet|pts=100352|dts=100352|duration=1024|flags=K_ +packet|pts=101376|dts=101376|duration=1024|flags=K_ +packet|pts=102400|dts=102400|duration=926|flags=K_ stream|nb_read_packets=102 frame|pkt_pts=0|pkt_dts=0|best_effort_timestamp=0|pkt_duration=1024|nb_samples=1024 frame|pkt_pts=1024|pkt_dts=1024|best_effort_timestamp=1024|pkt_duration=1024|nb_samples=1024 diff --git a/tests/ref/fate/gaplessenc-pcm-to-mov-aac b/tests/ref/fate/gaplessenc-pcm-to-mov-aac index 8702611..b5f9182 100644 --- a/tests/ref/fate/gaplessenc-pcm-to-mov-aac +++ b/tests/ref/fate/gaplessenc-pcm-to-mov-aac @@ -7,22 +7,22 @@ duration_ts=529200 start_time=0.000000 duration=12.024000 [/FORMAT] -packet|pts=-1024|dts=-1024|duration=1024 -packet|pts=0|dts=0|duration=1024 -packet|pts=1024|dts=1024|duration=1024 -packet|pts=2048|dts=2048|duration=1024 -packet|pts=3072|dts=3072|duration=1024 -packet|pts=4096|dts=4096|duration=1024 -packet|pts=5120|dts=5120|duration=1024 -packet|pts=6144|dts=6144|duration=1024 -packet|pts=521216|dts=521216|duration=1024 -packet|pts=522240|dts=522240|duration=1024 -packet|pts=523264|dts=523264|duration=1024 -packet|pts=524288|dts=524288|duration=1024 -packet|pts=525312|dts=525312|duration=1024 -packet|pts=526336|dts=526336|duration=1024 -packet|pts=527360|dts=527360|duration=1024 -packet|pts=528384|dts=528384|duration=816 +packet|pts=-1024|dts=-1024|duration=1024|flags=KD +packet|pts=0|dts=0|duration=1024|flags=K_ +packet|pts=1024|dts=1024|duration=1024|flags=K_ +packet|pts=2048|dts=2048|duration=1024|flags=K_ +packet|pts=3072|dts=3072|duration=1024|flags=K_ +packet|pts=4096|dts=4096|duration=1024|flags=K_ +packet|pts=5120|dts=5120|duration=1024|flags=K_ +packet|pts=6144|dts=6144|duration=1024|flags=K_ +packet|pts=521216|dts=521216|duration=1024|flags=K_ +packet|pts=522240|dts=522240|duration=1024|flags=K_ +packet|pts=523264|dts=523264|duration=1024|flags=K_ +packet|pts=524288|dts=524288|duration=1024|flags=K_ +packet|pts=525312|dts=525312|duration=1024|flags=K_ +packet|pts=526336|dts=526336|duration=1024|flags=K_ +packet|pts=527360|dts=527360|duration=1024|flags=K_ +packet|pts=528384|dts=528384|duration=816|flags=K_ stream|nb_read_packets=518 frame|pkt_pts=0|pkt_dts=0|best_effort_timestamp=0|pkt_duration=1024|nb_samples=1024 frame|pkt_pts=1024|pkt_dts=1024|best_effort_timestamp=1024|pkt_duration=1024|nb_samples=1024 diff --git a/tests/ref/fate/gaplessinfo-itunes1 b/tests/ref/fate/gaplessinfo-itunes1 index 717a2a8..c2fb316 100644 --- a/tests/ref/fate/gaplessinfo-itunes1 +++ b/tests/ref/fate/gaplessinfo-itunes1 @@ -7,22 +7,22 @@ duration_ts=1294336 start_time=0.047889 duration=29.350023 [/FORMAT] -packet|pts=0|dts=0|duration=1024 -packet|pts=1024|dts=1024|duration=1024 -packet|pts=2048|dts=2048|duration=1024 -packet|pts=3072|dts=3072|duration=1024 -packet|pts=4096|dts=4096|duration=1024 -packet|pts=5120|dts=5120|duration=1024 -packet|pts=6144|dts=6144|duration=1024 -packet|pts=7168|dts=7168|duration=1024 -packet|pts=1286144|dts=1286144|duration=1024 -packet|pts=1287168|dts=1287168|duration=1024 -packet|pts=1288192|dts=1288192|duration=1024 -packet|pts=1289216|dts=1289216|duration=1024 -packet|pts=1290240|dts=1290240|duration=1024 -packet|pts=1291264|dts=1291264|duration=1024 -packet|pts=1292288|dts=1292288|duration=1024 -packet|pts=1293312|dts=1293312|duration=1024 +packet|pts=0|dts=0|duration=1024|flags=K_ +packet|pts=1024|dts=1024|duration=1024|flags=K_ +packet|pts=2048|dts=2048|duration=1024|flags=K_ +packet|pts=3072|dts=3072|duration=1024|flags=K_ +packet|pts=4096|dts=4096|duration=1024|flags=K_ +packet|pts=5120|dts=5120|duration=1024|flags=K_ +packet|pts=6144|dts=6144|duration=1024|flags=K_ +packet|pts=7168|dts=7168|duration=1024|flags=K_ +packet|pts=1286144|dts=1286144|duration=1024|flags=K_ +packet|pts=1287168|dts=1287168|duration=1024|flags=K_ +packet|pts=1288192|dts=1288192|duration=1024|flags=K_ +packet|pts=1289216|dts=1289216|duration=1024|flags=K_ +packet|pts=1290240|dts=1290240|duration=1024|flags=K_ +packet|pts=1291264|dts=1291264|duration=1024|flags=K_ +packet|pts=1292288|dts=1292288|duration=1024|flags=K_ +packet|pts=1293312|dts=1293312|duration=1024|flags=K_ stream|nb_read_packets=1264 frame|pkt_pts=2112|pkt_dts=2112|best_effort_timestamp=2048|pkt_duration=960|nb_samples=960 frame|pkt_pts=3072|pkt_dts=3072|best_effort_timestamp=3072|pkt_duration=1024|nb_samples=1024 diff --git a/tests/ref/fate/gaplessinfo-itunes2 b/tests/ref/fate/gaplessinfo-itunes2 index be15113..073715e 100644 --- a/tests/ref/fate/gaplessinfo-itunes2 +++ b/tests/ref/fate/gaplessinfo-itunes2 @@ -7,22 +7,22 @@ duration_ts=105472 start_time=0.047891 duration=2.391655 [/FORMAT] -packet|pts=0|dts=0|duration=1024 -packet|pts=1024|dts=1024|duration=1024 -packet|pts=2048|dts=2048|duration=1024 -packet|pts=3072|dts=3072|duration=1024 -packet|pts=4096|dts=4096|duration=1024 -packet|pts=5120|dts=5120|duration=1024 -packet|pts=6144|dts=6144|duration=1024 -packet|pts=7168|dts=7168|duration=1024 -packet|pts=97280|dts=97280|duration=1024 -packet|pts=98304|dts=98304|duration=1024 -packet|pts=99328|dts=99328|duration=1024 -packet|pts=100352|dts=100352|duration=1024 -packet|pts=101376|dts=101376|duration=1024 -packet|pts=102400|dts=102400|duration=1024 -packet|pts=103424|dts=103424|duration=1024 -packet|pts=104448|dts=104448|duration=1024 +packet|pts=0|dts=0|duration=1024|flags=K_ +packet|pts=1024|dts=1024|duration=1024|flags=K_ +packet|pts=2048|dts=2048|duration=1024|flags=K_ +packet|pts=3072|dts=3072|duration=1024|flags=K_ +packet|pts=4096|dts=4096|duration=1024|flags=K_ +packet|pts=5120|dts=5120|duration=1024|flags=K_ +packet|pts=6144|dts=6144|duration=1024|flags=K_ +packet|pts=7168|dts=7168|duration=1024|flags=K_ +packet|pts=97280|dts=97280|duration=1024|flags=K_ +packet|pts=98304|dts=98304|duration=1024|flags=K_ +packet|pts=99328|dts=99328|duration=1024|flags=K_ +packet|pts=100352|dts=100352|duration=1024|flags=K_ +packet|pts=101376|dts=101376|duration=1024|flags=K_ +packet|pts=102400|dts=102400|duration=1024|flags=K_ +packet|pts=103424|dts=103424|duration=1024|flags=K_ +packet|pts=104448|dts=104448|duration=1024|flags=K_ stream|nb_read_packets=103 frame|pkt_pts=2112|pkt_dts=2112|best_effort_timestamp=2048|pkt_duration=960|nb_samples=960 frame|pkt_pts=3072|pkt_dts=3072|best_effort_timestamp=3072|pkt_duration=1024|nb_samples=1024