From patchwork Thu May 31 00:05:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marton Balint X-Patchwork-Id: 9167 Delivered-To: ffmpegpatchwork@gmail.com Received: by 2002:a02:11c:0:0:0:0:0 with SMTP id c28-v6csp4929407jad; Wed, 30 May 2018 17:06:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI0mCWKdftfuAVnd/GAmiI8HBRYPKKj53TFR3+T/LOT7UV+0IxikNqqsvXeDBp4Dhkjx+eq X-Received: by 2002:adf:9769:: with SMTP id r96-v6mr3778812wrb.57.1527725160266; Wed, 30 May 2018 17:06:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527725160; cv=none; d=google.com; s=arc-20160816; b=MjFpyfnEd73D3vU0+8gAv6+Gp48ktMsd12DfuP7hAVPXAb5JgXYwizvqo6qQUNXozG RRiBTUu6LrdRleGLEwYEtoBbSxA4qC3jfaIKW0jaUarykPGhm11jezLAklBrG4wJF5eZ KxI43hGcC6TqIco9Ig7L6sTBWudafZ1M7bcvSZ7wxf3Jfk6D87I+oIEO4JeDezTUuH4E nIUssucv8n00RsegzI264DC61OlVSaJfi4WMG3eGCO4aaxC82XxSfnv5lBRg86cpId/B xQXdyvP/qnHwSpo4gesSBWI04Vetw1B/KCl5OPDv+pXksLhGgO1sCls+ZCkply032FP9 XLew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=JYr30+2JFvET0pMTDPI8d4meQat8+VBmoxOz5e9eGWk=; b=f3RZ7joh7Qo8NQTKvknzZB1Jk6Zy5TFhciC0skQBiHBwxCMYDM9jXciXT91nMbAffP BUYpPzOST1hQ4UtwACIsWL6e0cFJC8IV9gtfeEXJw7ewIg4QRRID64qCHdGYpwU/XCuu tcWEo3zA3MfmWS3fUGsxaHe5mEe/FOR5LH8TwXHUL7AqwRGcG7qoCZ/guo4FX8U8CnbD Fq26oQgbJtijNUyZVoGUECNeIz4fNH9Zu1IKoPZRLGqbuW+mNEzXafwW4DUdQ52TEQne NShZZkWrU5sr81HYbmPRu7K1kry8HhvvbTLSZFBqlORPj7uFNTiVuUfsFnymVLvxuoaN EsYg== 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 o198-v6si14462196wmg.131.2018.05.30.17.05.59; Wed, 30 May 2018 17:06:00 -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; 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 968B468A448; Thu, 31 May 2018 03:05:09 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4393668A34C for ; Thu, 31 May 2018 03:05:03 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id F2AADE1157; Thu, 31 May 2018 02:05:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0iNR1PqmbH83; Thu, 31 May 2018 02:05:45 +0200 (CEST) Received: from bluegene.passwd.hu (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 7B3A9E06EA; Thu, 31 May 2018 02:05:45 +0200 (CEST) From: Marton Balint To: ffmpeg-devel@ffmpeg.org Date: Thu, 31 May 2018 02:05:32 +0200 Message-Id: <20180531000536.11482-2-cus@passwd.hu> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180531000536.11482-1-cus@passwd.hu> References: <20180531000536.11482-1-cus@passwd.hu> Subject: [FFmpeg-devel] [PATCH 2/6] avformat/mxfdec: recognize SMPTE 436 VBI data 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: Marton Balint MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 1099616174..3d8c8e204c 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -1278,6 +1278,7 @@ static const MXFCodecUL mxf_sound_essence_container_uls[] = { }; static const MXFCodecUL mxf_data_essence_container_uls[] = { + { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x09,0x0d,0x01,0x03,0x01,0x02,0x0d,0x00,0x00 }, 16, AV_CODEC_ID_NONE, "vbi_smpte_436M" }, { { 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x09,0x0d,0x01,0x03,0x01,0x02,0x0e,0x00,0x00 }, 16, AV_CODEC_ID_NONE, "vbi_vanc_smpte_436M" }, { { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, AV_CODEC_ID_NONE }, }; @@ -2497,6 +2498,7 @@ static const MXFMetadataReadTableEntry mxf_metadata_read_table[] = { { { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x48,0x00 }, mxf_read_generic_descriptor, sizeof(MXFDescriptor), Descriptor }, /* Wave */ { { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x47,0x00 }, mxf_read_generic_descriptor, sizeof(MXFDescriptor), Descriptor }, /* AES3 */ { { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x51,0x00 }, mxf_read_generic_descriptor, sizeof(MXFDescriptor), Descriptor }, /* MPEG2VideoDescriptor */ + { { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x5b,0x00 }, mxf_read_generic_descriptor, sizeof(MXFDescriptor), Descriptor }, /* VBI - SMPTE 436M */ { { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x5c,0x00 }, mxf_read_generic_descriptor, sizeof(MXFDescriptor), Descriptor }, /* VANC/VBI - SMPTE 436M */ { { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x5e,0x00 }, mxf_read_generic_descriptor, sizeof(MXFDescriptor), Descriptor }, /* MPEG2AudioDescriptor */ { { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x3A,0x00 }, mxf_read_track, sizeof(MXFTrack), Track }, /* Static Track */