From patchwork Mon Mar 23 22:11:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lynne X-Patchwork-Id: 18375 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 B049F44994F for ; Tue, 24 Mar 2020 00:11:54 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D649A68B85A; Tue, 24 Mar 2020 00:11:52 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from w4.tutanota.de (w4.tutanota.de [81.3.6.165]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2DA5668A777 for ; Tue, 24 Mar 2020 00:11:45 +0200 (EET) Received: from w3.tutanota.de (unknown [192.168.1.164]) by w4.tutanota.de (Postfix) with ESMTP id BE3C5106019B for ; Mon, 23 Mar 2020 22:11:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1585001504; s=s1; d=lynne.ee; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=lxdoO3L58TvyoejLMzqemZxc5RWWoIImbMslS7ISA2k=; b=dR9B7SFrqxCQo4dPHM4EfO0J3BA84Hz3wWksOhy2IalwmaSiZdpRPOgwDCujxBbI WBi158RkbB4EZuWV2e2XXiTeMpxVueYiyE2nd5prqGsYOJoyygDS9wnG/FqKmVxMs5Y jD89xZxi6wEw4DppxMU/GDGEhBl+eUkA8s7UrkbZ0u6kbXXmUag8quTSg0DyidOQ/Bq yGJOYVfTlXzzWQwSPZn/XxwfGzu0QHEpc6CjjH6OZO802i9riQxgu3QNn8UM8Bfv9jN S7y2CFo3JCWiY8nTOzT7WTs8dAP8qHAL3InOysZpyQ4E0AoT5Abhndnp0EwQa4/9KnQ LtfyKcXb8Q== Date: Mon, 23 Mar 2020 23:11:44 +0100 (CET) From: Lynne To: Ffmpeg Devel Message-ID: MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] movenc: mark Opus encapsulation as stable 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" The specifications are de-facto frozen now as they've already been used in production for years now, the author has indicated reluctance on IRC to change it further, and the only potential changes would, from what I understand, be forward-compatible. Patch attached. From c8d4d5a3d7aeaddabb9e14bcf5816f3b1a7a3290 Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 23 Mar 2020 22:03:24 +0000 Subject: [PATCH] movenc: mark Opus encapsulation as stable The specifications are de-facto frozen now as they've already been used in production for years now, the author has indicated reluctance on IRC to change it further, and the only potential changes would, from what I understand, be forward-compatible. --- libavformat/movenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 85df5d1374..4e56a7df46 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -6500,7 +6500,8 @@ static int mov_init(AVFormatContext *s) av_log(s, AV_LOG_ERROR, "%s only supported in MP4.\n", avcodec_get_name(track->par->codec_id)); return AVERROR(EINVAL); } - if (s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) { + if (track->par->codec_id != AV_CODEC_ID_OPUS && + s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) { av_log(s, AV_LOG_ERROR, "%s in MP4 support is experimental, add " "'-strict %d' if you want to use it.\n", -- 2.26.0.rc2