From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 3287A42B88 for ; Wed, 12 Jan 2022 04:51:34 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B7C1268ADAB; Wed, 12 Jan 2022 06:51:32 +0200 (EET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CD07E68A637 for ; Wed, 12 Jan 2022 06:51:25 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641963091; x=1673499091; h=from:to:cc:subject:date:message-id; bh=K5MTl427akcCeTjHV5UhOnKzUI/nlRfdIh+TR/m3q4A=; b=kJE+uJNFAtcOCWTKs2lh5UI+doL3Jt1ZXpj+IcuyWhJYW499zB2mtiiR 622hK3zN+ZUI6uWjWNLgUDAEX9bdlD507x+Jx2u1IM03XgPloKLGBTNjL vPx4KAryoWSstzCXDSJyfUNAfrEBwcHjSY71g2gtAIb/i402Q36JZYdde AsvY5C/f7lwwykNmRzHYyRh5sEn5s+FDskQ/SygUV6pYia87dwPMcFS4x DJzX4ZZ/Uf2N6ywveklHzr9FKfJ9OIxFe8Gj2ngyef/HR2JV553qwRc5w ZwaUzpjIOs4LhTxQi8h9OWpiwqku0bpRxY8UQGC8fcrsehgYV66Zzh9YD g==; X-IronPort-AV: E=McAfee;i="6200,9189,10224"; a="243613983" X-IronPort-AV: E=Sophos;i="5.88,282,1635231600"; d="scan'208";a="243613983" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2022 20:51:23 -0800 X-IronPort-AV: E=Sophos;i="5.88,282,1635231600"; d="scan'208";a="670038554" Received: from xhh-dg164.sh.intel.com ([10.239.159.167]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2022 20:51:11 -0800 From: Haihao Xiang To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 12:50:31 +0800 Message-Id: <20220112045031.8996-1-haihao.xiang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [FFmpeg-devel] [PATCH v2] lavc/qsvenc_hevc: add -pic_timing_sei option X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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: Haihao Xiang MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: The SDK may insert picture timing SEI for hevc and the code to set mfx parameter has been added in qsvenc, however the corresponding option is missing in the hevc option array Reviewed-by: Limin Wang Signed-off-by: Haihao Xiang --- v2: added option description in the doc doc/encoders.texi | 3 +++ libavcodec/qsvenc_hevc.c | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index 7cc8be1209..1679f389d7 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -3432,6 +3432,9 @@ Number of rows for tiled encoding. @item @var{aud} Insert the Access Unit Delimiter NAL. + +@item @var{pic_timing_sei} +Insert picture timing SEI with pic_struct_syntax element. @end table @subsection MPEG2 Options diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c index 08aba3011d..342b6bdea7 100644 --- a/libavcodec/qsvenc_hevc.c +++ b/libavcodec/qsvenc_hevc.c @@ -251,6 +251,7 @@ static const AVOption options[] = { { "tile_rows", "Number of rows for tiled encoding", OFFSET(qsv.tile_rows), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, UINT16_MAX, VE }, { "recovery_point_sei", "Insert recovery point SEI messages", OFFSET(qsv.recovery_point_sei), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, VE }, { "aud", "Insert the Access Unit Delimiter NAL", OFFSET(qsv.aud), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE}, + { "pic_timing_sei", "Insert picture timing SEI with pic_struct_syntax element", OFFSET(qsv.pic_timing_sei), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, VE }, { NULL }, }; -- 2.17.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".