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 CD9F3449DE for ; Mon, 31 Oct 2022 16:58:28 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 613AE68BE32; Mon, 31 Oct 2022 18:58:26 +0200 (EET) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E8DF468BE15 for ; Mon, 31 Oct 2022 18:58:19 +0200 (EET) Received: by mail-wr1-f42.google.com with SMTP id a14so16853998wru.5 for ; Mon, 31 Oct 2022 09:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=U/BngjMwdYGgX+aNppAoaww0GegSOk2JnGIExoZntQE=; b=DCbAC2b9XcuXJm/LprYagDZgw+DphYjw/fkb98IL3rILsboWwT/52jynwe/riQUGMx uEke835qbI/7jT+tE1T2f1DqXVp8WF0jq8KrWvVtawpBcCNRg2KIikK/mPq05Ximm7jw bm3PT+TZjTcY9RYYHRN+AX4ugH0xvVdEViJ9vmic9XNWWLmJcoPnDBfvXpy6Z0tBaMYS ZKEvdY1TuwMKiz0wrghFnMUJmANPRovXMjSNMs2OyQuTL/fz/1M2x07u+Yq2iG2OJQAL 1LKTDKmQnOzqxy3G2jw2iWmIAyMrmGJS5L0yfbxXFOL2HgaKQUYOEyovF65T6oxewf1m mqfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=U/BngjMwdYGgX+aNppAoaww0GegSOk2JnGIExoZntQE=; b=PIg9ISDfWK1QhyCxeuVHSHSdnMRg8Uv1Td4q/H1LKrJJQBl1WlYddi7So/m00jYd8H sbKTISBECtP3/sx7mcGkvvSsm8s/cz/VfmSIxSwyRVp3ydhm3gT5JP53Se0Xsw5XQZEo MzdJyrU58UsGgyOwzyEhTZoAnLGmYs/Q0CN0UhYLYCDmPNY8U4ZHjF4XsM/9p65UwjFR IjgW8Cp6gjmRD7cplekQ+f/Gny1nKpW2bCAUXAM1Qt1d1XKHHfXwM2sM00gsR4rDu4ve cTi9jOH8rx7+Nn6h+5vkZzqB0HwKdKRclBiC2W4eW8Dl3VrxG597zSRrLQ0JBiLP91Sl OMTg== X-Gm-Message-State: ACrzQf1ZxoZphy7yClNk/ps+4cyPJ1Q4mujidmZsNCsum/ZopizbHTWa 2J2PyX1yuMHZlSk7KO77bZ/53A8PDIU= X-Google-Smtp-Source: AMsMyM63RwBG8O6E4pMcuogEnYyl4/UA0MZnu2IrGYhTJ8asTzXPtyWUt4pQk/emX9uhEYk6KLaxwg== X-Received: by 2002:a05:6000:1817:b0:236:77f0:ef60 with SMTP id m23-20020a056000181700b0023677f0ef60mr8539603wrh.343.1667235499066; Mon, 31 Oct 2022 09:58:19 -0700 (PDT) Received: from [192.168.1.106] ([149.12.15.18]) by smtp.googlemail.com with ESMTPSA id cc14-20020a5d5c0e000000b00228d67db06esm7837007wrb.21.2022.10.31.09.58.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Oct 2022 09:58:18 -0700 (PDT) Message-ID: Date: Mon, 31 Oct 2022 16:58:16 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 To: ffmpeg-devel@ffmpeg.org References: <20221031160915.673782-1-mvanb1@gmail.com> From: Derek Buitenhuis In-Reply-To: <20221031160915.673782-1-mvanb1@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH] libavcodec/flacenc: Enable sample rates > 655350 Hz 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 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: On 10/31/2022 4:09 PM, Martijn van Beurden wrote: > Also, make use of the full sample rate code table > --- > libavcodec/flacenc.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) It is interesting that the IETF RFC and the Xiph spec disagree on whether this is allowed. The Xiph spec says: Sample rate in Hz. Though 20 bits are available, the maximum sample rate is limited by the structure of frame headers to 655350Hz. Also, a value of 0 is invalid. The RFC just says: Sample rate in Hz. I see your name on the RFC - can you provide some insight here? - Derek _______________________________________________ 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".