From patchwork Sat Jun 8 15:04:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Zhao X-Patchwork-Id: 13467 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 89F9E444238 for ; Sat, 8 Jun 2019 18:04:36 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5EE1168AA12; Sat, 8 Jun 2019 18:04:36 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0D62A68AA0C for ; Sat, 8 Jun 2019 18:04:29 +0300 (EEST) Received: by mail-pg1-f193.google.com with SMTP id 20so2700286pgr.4 for ; Sat, 08 Jun 2019 08:04:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=2xgWkzTMKxsp2JjIQanK8OXnn5eds5vyWDR8vq/pY0k=; b=Fvz/eGMKXM4sx+tu0NpyciNi/llXdQ4L0xuTmjcTYz/Tv6rNurVbMwPCedIMstbiFP E6T0b6khGM0lkWmNfs2OW0sEToF0k7GUZcEPw0uCD2ycHmCr+huqYeSV7w/5GUYD5dFg c7uYKaCiWpLACzZqXcvBNyVwxdPYZece2LMlM9OEhyWBjuhguAG7zyenk4iQIr0XHzou ypz6cna1kUQMrmqsvahBU6VrzoYbmhunZqdafQPMYgmprdqoSoWu6SNEAGbjkT5/mOCc rGA6Ixp0cOPk+B7YYcGL55DvzXSVojqU2xKClb0+QV2AW9GWsf4cxFopDbDhguNi7LTa /93w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=2xgWkzTMKxsp2JjIQanK8OXnn5eds5vyWDR8vq/pY0k=; b=tLgQiKAGaFCEZAVy8n7NWCtdZz7WZU7QqJHDxPfeTmVy0AryXEmaHhhNwOXvTYWn+c el8OGWeVWCX8YABUVeomGbyeYQCgx8kdqgYHaWmWjpot2gEj0LuTQDvxlOOfMfP5Hst9 DhJPCY8hwcZwCHF0DvSI0AHB27M86KNhGLrPXgp8lY+Ngvk9/23Msz+4vYS5H0vQfUkS 7exq8H4ZE/uj8P2A3wBF4Wr/5Ad6nkX7w4Ylp2qzYY5roowhYCDxQpbOmtDpHrBBjVYd TcUDJLPiv79eloM/y4T1te9U/Zhb9I1tX4/YGV3pDrmM7QzbX+NVEyj8fldaiWcoYfN1 ttQg== X-Gm-Message-State: APjAAAWjKZuLzUdtBrPM4qe33KhiSBsPCjzhYlEqQGcPtRooZ5lEIPAs ED8RklPm/LWV++ld9H8kFvxkSsJf X-Google-Smtp-Source: APXvYqxAHeKTVLe0ezd0S09w/O8G804DcLjpXb6NUsx48/UQTqswHasIbPT3qrEoLuX7AOBVPGvhmQ== X-Received: by 2002:a63:10d:: with SMTP id 13mr7718094pgb.176.1560006266814; Sat, 08 Jun 2019 08:04:26 -0700 (PDT) Received: from localhost.localdomain ([47.90.47.25]) by smtp.gmail.com with ESMTPSA id 14sm5455622pgp.37.2019.06.08.08.04.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jun 2019 08:04:25 -0700 (PDT) From: Jun Zhao To: ffmpeg-devel@ffmpeg.org Date: Sat, 8 Jun 2019 23:04:20 +0800 Message-Id: <1560006261-27648-1-git-send-email-mypopydev@gmail.com> X-Mailer: git-send-email 1.7.1 Subject: [FFmpeg-devel] [PATCH V1 1/2] doc/formats: document f_strict/strict for AVFormatContext 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: Jun Zhao MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Jun Zhao document f_strict/strict option for AVFormatContext Signed-off-by: Jun Zhao --- doc/formats.texi | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/doc/formats.texi b/doc/formats.texi index a992506..729c77b 100644 --- a/doc/formats.texi +++ b/doc/formats.texi @@ -224,6 +224,28 @@ would require too many resources due to a large number of streams. @item skip_estimate_duration_from_pts @var{bool} (@emph{input}) Skip estimation of input duration when calculated using PTS. At present, applicable for MPEG-PS and MPEG-TS. + +@item strict, f_strict @var{integer} (@emph{input/output}) +Specify how strictly to follow the standards. @code{f_strict} is deprecated and +should be used only via the @command{ffmpeg} tool. + +Possible values: +@table @samp +@item very +strictly conform to an older more strict version of the spec or reference software +@item strict +strictly conform to all the things in the spec no matter what consequences +@item normal + +@item unofficial +allow unofficial extensions +@item experimental +allow non standardized experimental things, experimental +(unfinished/work in progress/not well tested) decoders and encoders. +Note: experimental decoders can pose a security risk, do not use this for +decoding untrusted input. +@end table + @end table @c man end FORMAT OPTIONS