From patchwork Wed Sep 11 18:56:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aman Karmani X-Patchwork-Id: 15028 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 E7CE84492F5 for ; Wed, 11 Sep 2019 22:04:15 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D417A687FA2; Wed, 11 Sep 2019 22:04:15 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ot1-f65.google.com (mail-ot1-f65.google.com [209.85.210.65]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EE847687F9D for ; Wed, 11 Sep 2019 22:04:08 +0300 (EEST) Received: by mail-ot1-f65.google.com with SMTP id s28so23626661otd.4 for ; Wed, 11 Sep 2019 12:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tmm1-net.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VkSSk2xi5r5udHXGrNGuZzcQwbYOKLoSeVS4JlYK/m8=; b=RBZ5rsMcifWN1dKMliKgtp8qhY/Y5BNTw6HEhjGLrdl3hVwoX7A1h/WTlyrsVAfcw4 /LIdWpXTdiVQtsju5KWOy5NYHnQgHV8jcoY+No5VlyIlDpMhbCGF7Aw4gExn9YWLms2p mrKcNgaHUXFSmLHIrIbNhsxrcPRk/QJv9vMEPPI3XoI53f5Gwx/gc0PsLTUHc6fClACD 2wKiPKtqxTfyAMK+ylZ7UC68777RNV9gnTYAtSnaPEveuIIPK4qxFjfOh7+SHEa0OET/ Rgs+8dPPy2rHHkCFyB+qT5Lw9qZTuA1Cx2sUYIyTrVAvhMC8Wkjsg44DdpHEbWIuEST2 PEFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=VkSSk2xi5r5udHXGrNGuZzcQwbYOKLoSeVS4JlYK/m8=; b=LeAKpNpxBYbJ+eqgPw6YvCPlc0VJczoWS19oJ5L3AbBGFWndjiLxHQeQ6nckdv9yJU hQUcoQnZ4WyGMRxuSADOs/h695r3bmDYNKT2o9gTqttu90+oaEbpomZMJy92OXzbe9+k erTxx4qTZrIuGTMyKyXkN8EqmEG1u16Sll5jFcNiSGbGydb+nB7aJHK+CH89qinCEAuf vLZkqrIaJkgB3ma4FVcpkWtT4VsHlvxNZwVZheWnVSqqejJy8ZDeNVEBQSzhHsl5RNzn uCc1WXqN+pWVspH2qT5YfjL3rSfWmuO/HxsZPesz4wsI2272Q9S581njnfAMekoO3PTn lSjw== X-Gm-Message-State: APjAAAXfwXYJ9D40Xvdl5+l2sHqTmgI9RDQS2tCW0GkzIehnCRO3QsjU Kp0GEnTYHCfB+lln3Gl2d31BzGeaGYduHg== X-Google-Smtp-Source: APXvYqzDJyxHTZuXB6uC+frVWyS3EmieSdaF318PnmyitHduDxQ07qlIiQqiUm7T4KNsjxtYSby9CQ== X-Received: by 2002:a9d:7a90:: with SMTP id l16mr34408596otn.151.1568228179509; Wed, 11 Sep 2019 11:56:19 -0700 (PDT) Received: from tmm1-imac.lan (ip184-189-221-177.sb.sd.cox.net. [184.189.221.177]) by smtp.gmail.com with ESMTPSA id 34sm1487924otf.55.2019.09.11.11.56.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Sep 2019 11:56:18 -0700 (PDT) From: Aman Gupta To: ffmpeg-devel@ffmpeg.org Date: Wed, 11 Sep 2019 11:56:09 -0700 Message-Id: <20190911185610.87081-3-ffmpeg@tmm1.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190911185610.87081-1-ffmpeg@tmm1.net> References: <20190911185610.87081-1-ffmpeg@tmm1.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/4] h264_metadata: Update documentation 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: sw@jkqxz.net, andreas.rheinhardt@gmail.com Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Mark Thompson Improve documentation for the delete_filler option, and add the display_orientation and a53_cc options. --- doc/bitstream_filters.texi | 51 +++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index 50a1679fc7..8e957ae4a8 100644 --- a/doc/bitstream_filters.texi +++ b/doc/bitstream_filters.texi @@ -274,7 +274,56 @@ For example, @samp{086f3693-b7b3-4f2c-9653-21492feee5b8+hello} will insert the string ``hello'' associated with the given UUID. @item delete_filler -Deletes both filler NAL units and filler SEI messages. +Delete all filler in the stream: both filler data NAL units and +filler payload SEI messages. + +Filler zero bytes between NAL units in Annex B format (leading_zero_8bits +and trailing_zero_8bits) will be discarded from the stream with or +without this option - as such, HRD parameters are not expected to be +accurate after any rewriting transformation made by this filter. + +@item display_orientation +Modify display orientation SEI messages. + +@table @samp +@item insert +Insert new display orientation messages, overwriting any currently in +the stream. The new value is taken from the packet side data, modified +by the @option{rotate} and @option{flip} options. + +@item remove +Remove all display orientation messages from the stream. + +@item extract +Extract display orientation messages so that they are available as +packet side data. +@end table + +@item rotate +Set the rotation angle in the display orientation data. This is an +anticlockwise rotation angle in degrees. +@item flip +Set the flip fields in the display orientation data. This can be any +combination of the flags: +@table @samp +@item horizontal +@item vertical +@end table + +@item a53_cc +Modify A/53 closed caption data in SEI messages. + +@table @samp +@item insert +Insert closed captions taken from packet side data into the stream. + +@item remove +Remove all closed caption data from the stream. + +@item extract +Extract closed captions from the stream so that they are available as +as packet side data. +@end table @item level Set the level in the SPS. Refer to H.264 section A.3 and tables A-1