From patchwork Fri Sep 20 02:59:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: martin schitter X-Patchwork-Id: 51668 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:d154:0:b0:48e:c0f8:d0de with SMTP id bt20csp706264vqb; Thu, 19 Sep 2024 20:09:53 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVi0++gI3flgHFpgMwNcqN/KrKsrxtRmlfHWuitU1IMJWQrYj8szWypXGdfzeiL4udBkgZtkMPH5svJ40gmc8Vz@gmail.com X-Google-Smtp-Source: AGHT+IHS4gp97KTjG1RoVdNS4whz7fThx/8SAO8wHVnC6gWRZ7tRP1jut6yhN0m0JNF/uzqHxk0M X-Received: by 2002:a2e:b8ce:0:b0:2f7:c7f3:1d2f with SMTP id 38308e7fff4ca-2f7cb364462mr5445291fa.18.1726801792832; Thu, 19 Sep 2024 20:09:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726801792; cv=none; d=google.com; s=arc-20240605; b=BRUSMD9UDo0zZezPMFi3ZUfr4mI97umgwHfCR3OUIPkm/ghgzTnZeow3IHPu7Os/gS DExN0UJdRJSwC11iuvZBmOMqb+8W00s474jVfkcA8mNh8j6hw1s9oC9CLiigasKMyfqS tU8QBf4kNNeOmuNKY84q+CEXfCMIo2CnsN3A/X1zmN4d7tsC5U49Uh4I+8hRWtgzjrOH mYPzFGWOCMjIIYx9maAKpFdYXP5ZufqSMDy1ZBgdiIVCeG4G9YWNmIHiFDcruj5lGm3e yLKohPIdiiMKhys09xlmqTJG8hsQpD5KTq/ogbyWnYa8rPvrGUgVVWgGUNKzYpfbvHdd hNzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=YZOdnPLPkfkSXMeVqVW84bBw3IuRxTT6p2F/e9cfKvY=; fh=igg3JDwkSkAbPTwY6V0OsEq0RUkG4DKWC8fVJg4GhMY=; b=jGOo5lH56b0P8Bz9i7xNz8G1mb+NPhb/nkbXjAGXei9C74cs4Mt2eyIC+yr6mpadx0 4FrNX61sfkBq22CAuOPyq8Z78cs676yuP5sCWDB1hsJfNYHKgqsLBzQKIHsUs7CZIhv8 dbglV0qgguL1uhvAOuhEtDorJbHsDmSlV3hEgqWG62S5tPWy4uOYwC4IYlZiq5ldNkLX u/FQPC/FGwlSg496EurULeySTv5Nxhs/O53tZ9kDm6TfFzysXS22Ikvh/Kg4xjvPhCiH o8CeOs6TnIRmsyjGUOpNba7PBQ6ByaQzzntJJba+o/l+LQuWl5Kj3W2dnvTFaV3f6ahH T7Cg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@mur.at header.s=dkim2 header.b=kq26LOLZ; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mur.at Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id 38308e7fff4ca-2f79d378f76si39397661fa.434.2024.09.19.20.09.52; Thu, 19 Sep 2024 20:09:52 -0700 (PDT) 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; dkim=neutral (body hash did not verify) header.i=@mur.at header.s=dkim2 header.b=kq26LOLZ; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mur.at Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B9B9568DADC; Fri, 20 Sep 2024 06:09:27 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from efeu.mur.at (efeu.mur.at [89.106.208.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A241368D30B for ; Fri, 20 Sep 2024 06:09:18 +0300 (EEST) Received: from localhost.localdomain (lan1.raspi.ma39.ffgraz.net [10.12.1.243]) by efeu.mur.at (Postfix) with ESMTPSA id 3021B4619E; Fri, 20 Sep 2024 05:09:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mur.at; s=dkim2; t=1726801758; bh=y+VYjjloyo7j9r1abvSUPvGbTUbRD2jtBke/UbGwgFE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kq26LOLZXC6nQSpqhR8eLX3wWP6Q5/PxPHFCzXPUf/ci35QXb/COxPjCLrKTsRoql wHMNRbT5ycvVi1KEk3Eh9Gb9rSFfvQoaoWeOaNqteqx/R7oychBdcuWAGyvQRs2vrS 4EKtgY30s5jiJe0Llo1He1YEPwscL7gMqY3aQG2pKe+ra6qO6j1tO1ZszOZ0A1WkaA kNDo9O4fByJztnX+NqhtFT+oQwOFNWop1dDKn9uZffNhMO0CNTM897ZC2xShMm48Zi cYGcq4oALZb+1gixv14F7Jel4RdQw8pLsFApT9plBMr1izT0EyoeSrlx43B566AYfI dVLlCE9Atw2j5yhbi7QniS1sRgVDxhM8jI2JcTd8hgfsPuAQoj+GbiEoml7UtXpCGC MncdeOCJ0Ixij8iLaH5PPXt6/ZUh0j6dOkI02RJuoQBx37OyauZs5pchUK7/YVo4D2 VFh+nGOnAjHbuVL0fWVdT4TeeGH8Yt/N4sRKdw/8mBSwFUX4HFe From: Martin Schitter To: ffmpeg-devel@ffmpeg.org Date: Fri, 20 Sep 2024 04:59:48 +0200 Message-ID: <20240920030849.1976240-3-ms+git@mur.at> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240920030849.1976240-1-ms+git@mur.at> References: <20240920030849.1976240-1-ms+git@mur.at> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v8 2/6] libavformat/mxf: Add ULs for DNxUncompressed 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 Cc: Martin Schitter Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: g5rWtIewukaz --- libavformat/mxf.c | 1 + libavformat/mxfdec.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavformat/mxf.c b/libavformat/mxf.c index a73e40e..b6c1f17 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -61,6 +61,7 @@ const MXFCodecUL ff_mxf_codec_uls[] = { { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x02,0x71,0x00,0x00,0x00 }, 13, AV_CODEC_ID_DNXHD }, /* SMPTE VC-3/DNxHD */ { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x02,0x02,0x03,0x02,0x00,0x00 }, 14, AV_CODEC_ID_DNXHD }, /* SMPTE VC-3/DNxHD */ { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x0E,0x04,0x02,0x01,0x02,0x04,0x01,0x00 }, 16, AV_CODEC_ID_DNXHD }, /* SMPTE VC-3/DNxHD Legacy Avid Media Composer MXF */ + { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x02,0x02,0x03,0x07,0x01,0x00 }, 14, AV_CODEC_ID_DNXUC }, /* DNxUncompressed/SMPTE RDD 50 */ { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x02,0x01,0x32,0x00,0x00 }, 14, AV_CODEC_ID_H264 }, /* H.264/MPEG-4 AVC Intra */ { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x02,0x01,0x31,0x11,0x01 }, 14, AV_CODEC_ID_H264 }, /* H.264/MPEG-4 AVC SPS/PPS in-band */ { { 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0A,0x04,0x01,0x02,0x01,0x01,0x02,0x02,0x01 }, 16, AV_CODEC_ID_V210 }, /* V210 */ diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 24f4ed1..7460799 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -1594,6 +1594,7 @@ static const MXFCodecUL mxf_picture_essence_container_uls[] = { { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x07,0x0d,0x01,0x03,0x01,0x02,0x0c,0x01,0x00 }, 14, AV_CODEC_ID_JPEG2000, NULL, 14, J2KWrap }, { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x02,0x0d,0x01,0x03,0x01,0x02,0x10,0x60,0x01 }, 14, AV_CODEC_ID_H264, NULL, 15 }, /* H.264 */ { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x02,0x0d,0x01,0x03,0x01,0x02,0x11,0x01,0x00 }, 14, AV_CODEC_ID_DNXHD, NULL, 14 }, /* VC-3 */ + { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x0d,0x0d,0x01,0x03,0x01,0x02,0x1e,0x01,0x00 }, 14, AV_CODEC_ID_DNXUC, NULL, 14 }, /* DNxUncompressed / SMPTE RDD 50 */ { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x02,0x0d,0x01,0x03,0x01,0x02,0x12,0x01,0x00 }, 14, AV_CODEC_ID_VC1, NULL, 14 }, /* VC-1 */ { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x02,0x0d,0x01,0x03,0x01,0x02,0x14,0x01,0x00 }, 14, AV_CODEC_ID_TIFF, NULL, 14 }, /* TIFF */ { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x02,0x0d,0x01,0x03,0x01,0x02,0x15,0x01,0x00 }, 14, AV_CODEC_ID_DIRAC, NULL, 14 }, /* VC-2 */