From patchwork Thu Feb 1 12:51:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Martinez X-Patchwork-Id: 7471 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.156.27 with SMTP id q27csp3024179jak; Thu, 1 Feb 2018 04:51:24 -0800 (PST) X-Google-Smtp-Source: AH8x227Xas6fgz/IkmR127AlOfNbJSZJQx+ushItE7QRBOByrEBcyYMuOkHjfPCZKi4JGzD5c+Ei X-Received: by 10.223.197.200 with SMTP id v8mr27803282wrg.22.1517489484282; Thu, 01 Feb 2018 04:51:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517489484; cv=none; d=google.com; s=arc-20160816; b=nIivnpUeelspec2I6VOh9e7FgelQBBTxj+3I7GLx7xMmngqcYHIvvlmjVbufHREszR UH3Yn8+5sRgWYTlkab+r4wmySy6h/DApo/SH38ehF/sCcwNJ15KMU9pzZCGGjo+txBXE E5CvSUisGUzI3GvrOT/WeR2TD0064jaANXQ7y/daMca2G0vrxz1Kse8w3aXuNTqB77pb /xawynhq08LokxiCBPnO2qF3IYNjnRRY/Agw7ZmiM46DofqvBdU18hOmc4GUSlYooVCX AvK0Ej2YPYiVUOQU6As9gpilp7rHopmmkm98AAcbJ1bhDJTDdg4kDQdUA8c8CeNcVKqP X4iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:delivered-to :arc-authentication-results; bh=5dcAXRZ4kpXaIkjyf/c8YuShUiGD7oJF8YBI1l0AbYo=; b=Eai4Z6ve1DhlpXd3BpbgyN3llFGNdhWUOs05AOoC9NDxUVeSgX/XsilslDN+dCvQWt UzEGItEIppWQZuJ5I2/uTjY13xIZT+CIV4H5WUDvko6a90i3ELt5l9GR/y/41TkVjkBX DWaM1oAoVdFIyZmbd3MStIXiQ9r8ujjFalG5MvifyOvKpIfslm252xz1+ya58Zcc+AES uXWXRtIbDKn8IvxNTu1OAhlnpPy1vPR/6hebsDqBPMYTnm8cATs1bFtewUnA3x5lGoXi hueweo3TiuU1347KcBfTozrT6jSbTz3VhZCmo7TDyh+1fTWrgHLjVuM2ijhwqOklJoO7 6MQA== 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 o17si16850155wrg.137.2018.02.01.04.51.23; Thu, 01 Feb 2018 04:51:24 -0800 (PST) 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 B702A689B94; Thu, 1 Feb 2018 14:51:16 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from 1.mo5.mail-out.ovh.net (1.mo5.mail-out.ovh.net [188.165.57.91]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 91D78689252 for ; Thu, 1 Feb 2018 14:51:10 +0200 (EET) Received: from player786.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo5.mail-out.ovh.net (Postfix) with ESMTP id DC0171866D8 for ; Thu, 1 Feb 2018 13:51:15 +0100 (CET) Received: from [192.168.2.120] (p5DDB56EF.dip0.t-ipconnect.de [93.219.86.239]) (Authenticated sender: zen-lists@mediaarea.net) by player786.ha.ovh.net (Postfix) with ESMTPSA id B19198008F for ; Thu, 1 Feb 2018 13:51:15 +0100 (CET) To: ffmpeg-devel@ffmpeg.org References: From: Jerome Martinez Message-ID: <0c0199a0-645a-a0f3-36ae-1e652633e3cd@mediaarea.net> Date: Thu, 1 Feb 2018 13:51:17 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-Ovh-Tracer-Id: 955607546293719229 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtfedrtdeggdeglecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecu Subject: Re: [FFmpeg-devel] [PATCH] FFV1: make RGB48 support as non-experimental 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" On 05/01/2018 11:18, Jerome Martinez wrote: > 1 year without RGB48 related patches, tested by a couple of users, > tested with a FFV1 conformance checker, I suggest that FFV1 RGB48 > support in FFmpeg does not mandate anymore the user to add " -strict > experimental" on the command line during encoding. Sorry, I missed the GBRP16 part. I tested the encoding through GBRP16 pix_fmt (instead of RGB48 pix_fmt), and it works fine too. Additional patch for removing the need of " -strict experimental" for GBRP16 too. From 511e036499f716b14fed7ec07d2d8ccf18936444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Martinez?= Date: Thu, 1 Feb 2018 13:15:54 +0100 Subject: [PATCH] avcodec/ffv1enc: mark RGB48 support as non-experimental Remove the 2nd mark, 1st mark was removed in 58e16a4 --- libavcodec/ffv1enc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index c0c1558ffe..0778f84c9b 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -657,10 +657,6 @@ FF_ENABLE_DEPRECATION_WARNINGS s->chroma_planes = 1; if (s->bits_per_raw_sample >= 16) { s->use32bit = 1; - if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) { - av_log(avctx, AV_LOG_ERROR, "16bit RGB is experimental and under development, only use it for experiments\n"); - return AVERROR_INVALIDDATA; - } } s->version = FFMAX(s->version, 1); break;