From patchwork Fri Jul 5 05:25:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marth64 X-Patchwork-Id: 50364 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:cc64:0:b0:482:c625:d099 with SMTP id k4csp4098715vqv; Thu, 4 Jul 2024 23:04:06 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUh0UQ8EEZs0uz1h7XNaV/JQvw7jxdThkoTvcX/O2xMWBAM06VHJlqPy2FcmZ4431YoFSoRETP2EU4rMWYaSx11bOeojXxvp/dlTg== X-Google-Smtp-Source: AGHT+IHppF0PVf2Uc0GqRa30OpsO3YYW0oNx2c+4VrRVSZ1P+SgNAQK0LWoTAAtiDvJrTVB/OPGN X-Received: by 2002:a17:906:13db:b0:a77:cca9:b21c with SMTP id a640c23a62f3a-a77cca9b865mr42877866b.34.1720159446626; Thu, 04 Jul 2024 23:04:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720159446; cv=none; d=google.com; s=arc-20160816; b=jRpZio+oCnssrZqDP0mZWAkRlp1auFMAjefwYCk+0cl8fo3E5JaLhg3yfGjom1ZV0K SLuPeekleNiFpmRaNhJ0eyZvDL9IDRuIAXg474jWL6p+MAl0v7tB+OWbGxYb8N/FOzYW Pd1ZH+lMz8toGT7v7+5VBS5HkvtvxLUJK8WHJsEk6OXyJ6FSwiK7PykYaUl/7rqRO71T 9ME9RD95CT7j6xPUUVwlwdFGmdx6+0KwIjEvzJVRivPn6nZZvJSd6vzkS9zjmsreT8CN 1gZikYl3ReSuWEhXxtBp/wWg6W4el0Un+cB+zVZUpAqx/JojIi4UNOKxGtuGERzsGF7K 3uWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=j98I4cEKSd3q8F7fdTebcacutmdtMBZK953zqDjWqq4=; fh=PlWMzmI9LD2qGS7ipLrQl8z0iaQTLQLHzoGuXcBzpCg=; b=qURa3JGZOL1jY95tUJuiAGfoWoFpJ5cNcjl+SjOOuzese2CryLClE4abbjnR8k+Y2B 2dXR/5aWR6Yph9aE1uNDBRueDMX/5xP/tF6NzYrafh0P7XJ0Mv6AEi/XJrQxuYOqTE10 E6zIHnUc8oGmu9gIJ3nT+/9AKFlrkbI1owq2+TMYLAXzyO0ulCmVBWNDezRi9GdUYHgW UHjmkRycFvRLvdqZA5iIDfMADZL0uxlOWx9HtjivX0zy3GyFztu/0qo34YvEWgSJiJ3a xdrjikho/vc/QyKjYV1tUPmXxZUunWZurUsy6//4JUizlMRNUZqbmlJPxo//3KAkMlzF DGJA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@proxyid.net header.s=google header.b=IJpJHg5i; 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 a640c23a62f3a-a77bfa866c8si135761366b.554.2024.07.04.23.04.06; Thu, 04 Jul 2024 23:04:06 -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=@proxyid.net header.s=google header.b=IJpJHg5i; 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 92A3E68DADC; Fri, 5 Jul 2024 08:26:09 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-oa1-f99.google.com (mail-oa1-f99.google.com [209.85.160.99]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8225D68CDA6 for ; Fri, 5 Jul 2024 08:26:00 +0300 (EEST) Received: by mail-oa1-f99.google.com with SMTP id 586e51a60fabf-25e3bc751daso383587fac.3 for ; Thu, 04 Jul 2024 22:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxyid.net; s=google; t=1720157159; x=1720761959; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8/AZk+2kjVw/cGT0CRs5Xort/xMsxgzmGWIJsAISf1Q=; b=IJpJHg5iN6iiftCkG1kabJrRusZVfiU4B835EiEdSZ+iXUDSdTNGMiblHY8/khtpHP i5hBEfS4Pipm/r6MnviaBdEBdJmg2enne5IG5g+4oqD8Y2Wse30UgwVsKTn1y/jk+KQH YAkYc8roeeyAmjdd73ZTzdCCGMM3QRlBuHyrExkxITvkyGTl6tUJfjKOHJXM1b/k4KGn Jm7C4URyVie5BJs7EXKBVOuV3cl+1wvPW4JAY21swSr2YJpvPvIvdsRudHZhtAuS4QMc mSWaK8CyEE5FGcXTa28DJqzqjIZpLQm7XcjACHOSYuDJlptrG9+jjKJJZgUhIWFryGTf 1G6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720157159; x=1720761959; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8/AZk+2kjVw/cGT0CRs5Xort/xMsxgzmGWIJsAISf1Q=; b=kjv15+lTbpADHlGP2Ft/yPWgFmYjHfKBvCIRY8EzqrwQCvgOXKBTPCsIPuyXY5KQiE LMVJd2DHcjeD49hqMsEEiDm9SFBr6q2eV8EdelF4RE2VsxntKmdBj+UtoFsHj1bx+Sx6 NrOyo+zf91FmhXu8npGrex+G1XPKXCtux+VJ3NQnAGH+OYhqTl/kfcvokzvhqrCrOAzU fSfgR3BlOknZM/95buiF2JOO8JkT1P9RC7xrIGrXq+k0ax68LlTfQt89ubavfyGkzYJB nrvabCLairVDjDB2w/mV4iyF1N/1WfTIvYOt51SPafaXKGYG2gBW6U5kZou90HXExoRu BK/w== X-Gm-Message-State: AOJu0YwkIYDVO6LqSxCZC7hLh1ttG490SSQ11PPZ6Zms1Zg8HIoWTbZS rb9YS36xTscrv+XTOSnFZ2O1PiTHOO5GiU1ZhHTbWUSQo+dOkJ8tiO1zMOMQMBb6xQAEcfFxGen XsXlMoomQsyxfJ7UPWl7e9yq26V8fK4K/lXapxyno X-Received: by 2002:a05:6870:5ba7:b0:254:bd24:de83 with SMTP id 586e51a60fabf-25e2b8cee7amr3116736fac.12.1720157159264; Thu, 04 Jul 2024 22:25:59 -0700 (PDT) Received: from wsx-cc1-001.. (c-76-136-218-80.hsd1.il.comcast.net. [76.136.218.80]) by smtp-relay.gmail.com with ESMTPS id 586e51a60fabf-25e45059c6bsm33887fac.2.2024.07.04.22.25.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 22:25:59 -0700 (PDT) X-Relaying-Domain: proxyid.net From: Marth64 To: ffmpeg-devel@ffmpeg.org Date: Fri, 5 Jul 2024 00:25:51 -0500 Message-Id: <20240705052555.402920-2-marth64@proxyid.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240705052555.402920-1-marth64@proxyid.net> References: <20240705052555.402920-1-marth64@proxyid.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/5] avformat/demux: Copy AVCodecContext properties in codec_close() 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: Marth64 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: 89pHsze+qZfs After avformat_find_stream_info() calls codec_close(), the properties are not copied in the newly created skeleton context returned by codec_close(). This breaks display of the properties when viewing stream information afterward e.g. via av_dump_format(). Copy the old properties over, thus fixing printing of the properties (such as Closed Captions) in av_dump_format() that broke sometime after 4.4.2. Signed-off-by: Marth64 --- libavformat/demux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/demux.c b/libavformat/demux.c index dc65f9ad91..72d4ae7593 100644 --- a/libavformat/demux.c +++ b/libavformat/demux.c @@ -1298,6 +1298,7 @@ static int codec_close(FFStream *sti) if (ret < 0) goto fail; + avctx_new->properties = sti->avctx->properties; avctx_new->pkt_timebase = sti->avctx->pkt_timebase; #if FF_API_TICKS_PER_FRAME From patchwork Fri Jul 5 05:25:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marth64 X-Patchwork-Id: 50359 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:cc64:0:b0:482:c625:d099 with SMTP id k4csp4089527vqv; Thu, 4 Jul 2024 22:34:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXgcTOCXZpL9OF3TijYZG/3BNMrH7SpaOFdu/7dCuyJaByNLFhUDF5bph+JEaaMWbpIbc6/BHXjJMfZJqz15AdU06mKMLFD79A49w== X-Google-Smtp-Source: AGHT+IGtBy7E3yM+PbNTdIaBGop1FANQ/tniw3XyX3UE+s9GpO2WcuPaAnirW914eLholAcKdOhL X-Received: by 2002:a05:6402:268b:b0:586:e6e3:ea18 with SMTP id 4fb4d7f45d1cf-58e59d3d166mr2398708a12.23.1720157651216; Thu, 04 Jul 2024 22:34:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720157651; cv=none; d=google.com; s=arc-20160816; b=XwqSRKzzIoE5G35nAguFpMU0Ze5frDlsc0A5yZlVLAq/nwemURDiuMBGuHjWWuDqbd 56Ybk5Z5ZsGsPQp/YlmO4a52LKn63iw0zAtDjPU4OXJfg8Zp2yYRoBVg/bKTDkwIcACE 990GCzRkVUKJoWW2+ZP4wE8l8zRnXytJNHmYD1aqiX9ESBm7xwFQZSKSZD/ZLZ1gOS1I gnp5ljqJsZ9mAen5lsuUBRmRdMmAS+tlwHKLXfH3Nfni/pBl/Z7Gpdp/4J7u+4p763N0 stIsD+KP5FO7CmRdzBHmmQcfZ6HLJvUI0kpEKH24UFrNSBeip9kBnSet0BbfWFW83ay6 mJPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=1LcpnLfArNGT+A5bGimaCHMRlZWhUg67vdnDG2+S9mY=; fh=PlWMzmI9LD2qGS7ipLrQl8z0iaQTLQLHzoGuXcBzpCg=; b=nYKzlYSoJd7uLXYanZ8IeoLRa0m4UkyCtz74o2nOAKQlyE3Kk5d5C8vhnQfqMX6o7L gxJsGJDl/rKah1cA5DVY27G2D6kXwYS9+oW3n+Iwmt4+34h9v2y/5px7PElZJijsJjWI yEUxGqYXGE577J9LVmyTDIr1H05iEy2cCH2y+bFQ+bcuTR4kWQO81mRoefiqb7I83UXf 5BHymg01OVpeh1H2fsHRz19byEYzK4m4sHB1SqFGJhqy72ATR9VgXBTdRQbP2Wxk/8ZC TdnCVGnKmCdXNkM3mpyxpWXhSyCH3vHt+rKWACG/FmDmPhQXMOeWDaUrhMPW47wkUQLK V5dA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@proxyid.net header.s=google header.b=Cyth+q1I; 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 4fb4d7f45d1cf-58bf1c212ffsi3156981a12.101.2024.07.04.22.34.10; Thu, 04 Jul 2024 22:34:11 -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=@proxyid.net header.s=google header.b=Cyth+q1I; 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 8D5B768DAFB; Fri, 5 Jul 2024 08:26:10 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-oa1-f98.google.com (mail-oa1-f98.google.com [209.85.160.98]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0CC5C68D85B for ; Fri, 5 Jul 2024 08:26:01 +0300 (EEST) Received: by mail-oa1-f98.google.com with SMTP id 586e51a60fabf-25e0971ab06so599126fac.1 for ; Thu, 04 Jul 2024 22:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxyid.net; s=google; t=1720157159; x=1720761959; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EhujUbSDFBL6L3MRAdNsIiI3Nf9mu1fDwcxIgwpkUaQ=; b=Cyth+q1I8h4JmkJMghLWLS1IWoTt4wvDi/XmIQpc9u+ZgwPV5taap3S6e9DjAySBHs as8Rf7c+gEpDUpw8RRIZ2Tivz6ekXroN+NpiR0VnfbpwdoFiMDyrMaHj6R7PYl8dUoO4 DHfr6HusINCFWuRbPKXpZDy1YLoyjPemM+Bpw/J4tFFteTqq10C5SRcnDwqbjV/IRLIc fnZNCLuPmQseXk41HPs7mp/4Fz+gufBxnqv74kS7UYvrTOq5B5Fkde8sBpK3iqIwg7sw 4M4pj3defFZfkLNf/58ADITOiGwfVMQy4eexPzHOX4pn4xSY7Jul2PBFvW4pzrZZ1AmP FPtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720157159; x=1720761959; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EhujUbSDFBL6L3MRAdNsIiI3Nf9mu1fDwcxIgwpkUaQ=; b=ukmonDIaVkQJwaFgXstzz2YYBieZC/CfwXI2vQ2HQmlUC1eGhV7UO5DIrkcwUQP9u6 FOOWW5CTnKvyng/qT/kZzhDKXP7i1KemaudIl2OWjw7RmLjVh1V23Rv5B/IWLD2lOSHj v4hZGMjlkVzrsA8sTSDEK6bUQ+kSQs0Rm8D+F3f4oCrW4Eq7QzwrgkIfoJI0GD48wNL3 4RPmq70zpIQXHL2f1IGrB4vLDpnQdM3kOPeBiyozYYayd35Oxu/y5PJ8oxCTkXfnD4NI pyE5kwkLnF5VEYp/U0no9i7GA4cF9sEPijSh+SsqM2W2zqZx84APgN6xO5TvvwuePAwx si5A== X-Gm-Message-State: AOJu0Yw7xh/A0icjGaUrtv1y6IPPA7QnW+augJJ0/5tO1k/FCUtFbo/X wBHM7gnYEtcGHCKIDT/gRY0ymLi44/KWx+SLpMJ4xZNaRgOPSFUZivENEOCpZnHnsiHV8bjkRxr gAqqeLbivsQMUDIdZTzciI5oEj/C0keEnZu9VH/vE X-Received: by 2002:a05:6870:e0ce:b0:25e:d32:83e2 with SMTP id 586e51a60fabf-25e2f671186mr1551913fac.23.1720157159675; Thu, 04 Jul 2024 22:25:59 -0700 (PDT) Received: from wsx-cc1-001.. (c-76-136-218-80.hsd1.il.comcast.net. [76.136.218.80]) by smtp-relay.gmail.com with ESMTPS id 586e51a60fabf-25e45059c6bsm33887fac.2.2024.07.04.22.25.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 22:25:59 -0700 (PDT) X-Relaying-Domain: proxyid.net From: Marth64 To: ffmpeg-devel@ffmpeg.org Date: Fri, 5 Jul 2024 00:25:52 -0500 Message-Id: <20240705052555.402920-3-marth64@proxyid.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240705052555.402920-1-marth64@proxyid.net> References: <20240705052555.402920-1-marth64@proxyid.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/5] avformat/avformat: Add av_stream_get_codec_properties() to expose internal properties 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: Marth64 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: trDMX+OzX5BJ Signed-off-by: Marth64 --- libavformat/avformat.c | 5 +++++ libavformat/avformat.h | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/libavformat/avformat.c b/libavformat/avformat.c index 140fb5b6aa..35eb0f3b62 100644 --- a/libavformat/avformat.c +++ b/libavformat/avformat.c @@ -850,6 +850,11 @@ AVRational av_stream_get_codec_timebase(const AVStream *st) return cffstream(st)->avctx ? cffstream(st)->avctx->time_base : cffstream(st)->transferred_mux_tb; } +unsigned av_stream_get_codec_properties(const AVStream *st) +{ + return cffstream(st)->avctx ? cffstream(st)->avctx->properties : 0; +} + void avpriv_set_pts_info(AVStream *st, int pts_wrap_bits, unsigned int pts_num, unsigned int pts_den) { diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 8afdcd9fd0..f611f7a4a4 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -3072,6 +3072,13 @@ int avformat_transfer_internal_stream_timing_info(const AVOutputFormat *ofmt, */ AVRational av_stream_get_codec_timebase(const AVStream *st); +/** + * Get the internal codec properties from a stream. + * + * @param st input stream to extract the properties from + */ +unsigned av_stream_get_codec_properties(const AVStream *st); + /** * @} */ From patchwork Fri Jul 5 05:25:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marth64 X-Patchwork-Id: 50360 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:cc64:0:b0:482:c625:d099 with SMTP id k4csp4087214vqv; Thu, 4 Jul 2024 22:26:48 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXHAcz2A8QHo2uycm7yOCf8AzvL6upPTGTAkaw8yN3n7cV6B/Zc/4eCeR7XNL3Scw6x7Um2NU+6DEMtaPX+6QEBoG/ZrJ1P1rhIIg== X-Google-Smtp-Source: AGHT+IFUTzBXUUrMmNPACMttLkCcly6in7UlTS8UOIaxskoy+9kC0JbJYC9Phy/UbsW3BQShbET7 X-Received: by 2002:a17:907:94d0:b0:a77:a403:f260 with SMTP id a640c23a62f3a-a77ba44c776mr268981166b.4.1720157207747; Thu, 04 Jul 2024 22:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720157207; cv=none; d=google.com; s=arc-20160816; b=QDc1W+uruveuqjrGhO0Pcx54j1/jsnlqisoEu4rW1zmnMn9QKnVdbPxSomefn457XD z9lrjsvw/qrSGfPdR2nygJ8SVJ+jKux1diriP+lhn00dJFd2q4MISTi++1KQc/V2I4cb 6WGdcqr5vfOp/yb4g9sb5VKBdsxywVtFlyrU4AIAlaZzfzPzusn3J8ZRMSPWcN/uOhxA 0MXis9RNwI+MOx1Ot+EzaSQnfnvbc+HnWGAbO/7mtkev4pQ54mZnbFCRwmpk+ANd0Ecz z/NBxW8L4+dygGpM6aY1bzVmn3Zwem0ScAB7JQe93Kwu99OVTk4akBE05pZ+GHxKN6Qy QkWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=Llc0A75g4/NJcENSJwXJn28vY00/IrlVGQvRpN+utgw=; fh=PlWMzmI9LD2qGS7ipLrQl8z0iaQTLQLHzoGuXcBzpCg=; b=XOiOP9vW64KRXHn4Ehv4rCTbihhYttljzL+KwbgbwJ/FUC5y926kNkZzYiGhwjCQSg bM+0STMtn/y5/pic6IPgRu7rVYvQaT20jFTpGAmAhhq/kkfyo911VQn0Bqkkzp/Go+2W cCJX6QDJx5UeoPlOV7fqGhWDtPubQYI6dZJDOgpDc6PZun8SNaw701fy0YyJFTMkHKw/ +0l+QTTIndD/Cu3N5l2IttESplfQQT726GY6CdL4SZ6JRE1xHHsUaehqkfRNUT2H+KzL JovaeHwc3HojI4ES2KRANcXOjTjpxn6mkL5Bz3USf5Ydseb7QBBLulO425EKWAP/RqJ2 cHxw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@proxyid.net header.s=google header.b=Pwjr7bbD; 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 a640c23a62f3a-a77c9017242si58786866b.36.2024.07.04.22.26.46; Thu, 04 Jul 2024 22:26:47 -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=@proxyid.net header.s=google header.b=Pwjr7bbD; 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 32A9768DB0F; Fri, 5 Jul 2024 08:26:13 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-oa1-f98.google.com (mail-oa1-f98.google.com [209.85.160.98]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EE2AD68DA78 for ; Fri, 5 Jul 2024 08:26:01 +0300 (EEST) Received: by mail-oa1-f98.google.com with SMTP id 586e51a60fabf-25957dfd971so502843fac.0 for ; Thu, 04 Jul 2024 22:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxyid.net; s=google; t=1720157160; x=1720761960; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=T+m7vnonHYr1Bw5xdcsz6ygr/DbT5mT//kM3wmqELbA=; b=Pwjr7bbDOv8xhgWPKRB8tW7ynmiDDe1uhSkzUWcH0KmiOjSy/Tuy8Ys5p9KbmF5Ozu aahLPalM/+v9hTJ5ZWYHUt/FUcsAj3PLXqRGpCEPJcT4L68PV0gw+gkK3K+NYBvfqQeZ dASw/6A2CCZ7fcgTPNmOaiEZudpXxNH0GdQnp37Fg5DpmUrgbLY2sZopTtPQsEL4hyDX 2T8OrjYD4A5sR049TQmuTAJQ4yj0cTttiO/rO03t83s5YeaXyL4v91kfVl8kU1B09BfU n88NEAKRT25JnIcJwpeFKZ23Sl3qW4Z/e2f2EHUQRjRt5NioWY7hUjK+MxXQppXHW+IR QMKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720157160; x=1720761960; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T+m7vnonHYr1Bw5xdcsz6ygr/DbT5mT//kM3wmqELbA=; b=XjB9KV2e5tubvtcrb7CO2SZ0ZklymJ1mNMhHLDHDr61kxlE6ooU9KCdZBKJlI7Xkw/ AYpabOX0GXtDhAynwRWu8GfxLIGOkUpecH1HMDzlbIMjWQ1YMUvphnjo2SzqrbgdXqMD 9Q95kHEAdP9xpaTFt6ZyC825gxN37aKFjNYrVALKzXcBLg+1AbL/D/DB6AiqF2UGXFvA A6DoTWir1/qVDzmnbxwaY4ylPSope6frMygYeYC78hQqYra79iMNGxzJz26Z2MBoH5Hb fJdOxJSW3Mp7ot/zSpKakYv6pLaw6F+XQECPtOp1i+7sJ9Z0IdsoeUB07LGoyM9h8kjR kAXQ== X-Gm-Message-State: AOJu0YwfgCNktT5CCEqGdeaEIJw4VDwtNx+fXIkcjzIpntkrhnDTWf1t vuDTlx8lc1qKzRZF31uGkaadGuGmZCnWG5QwE41zhX+0/EqOm1jpM1hO+EWXHyBUUneO7RFDByj pwXNW1LaPjEvoqD/XpyeAqZKeQzw7pjhPuYhcwpVo X-Received: by 2002:a05:6870:9122:b0:254:c08d:cb54 with SMTP id 586e51a60fabf-25e2b9de835mr3360778fac.1.1720157160558; Thu, 04 Jul 2024 22:26:00 -0700 (PDT) Received: from wsx-cc1-001.. (c-76-136-218-80.hsd1.il.comcast.net. [76.136.218.80]) by smtp-relay.gmail.com with ESMTPS id 586e51a60fabf-25e45059c6bsm33887fac.2.2024.07.04.22.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 22:26:00 -0700 (PDT) X-Relaying-Domain: proxyid.net From: Marth64 To: ffmpeg-devel@ffmpeg.org Date: Fri, 5 Jul 2024 00:25:54 -0500 Message-Id: <20240705052555.402920-5-marth64@proxyid.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240705052555.402920-1-marth64@proxyid.net> References: <20240705052555.402920-1-marth64@proxyid.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/5] fftools/ffprobe: Copy codec properties when creating the ffprobe InputStream 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: Marth64 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: ouuPRd+zWExu Fixes the closed_captions and other properties fields emitted via ffprobe's outputs. Signed-off-by: Marth64 --- fftools/ffprobe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 71d1ffc21f..ed2edcd638 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -3948,6 +3948,7 @@ static int open_input_file(InputFile *ifile, const char *filename, av_dict_set(&opts, "flags", "+copy_opaque", AV_DICT_MULTIKEY); + ist->dec_ctx->properties = av_stream_get_codec_properties(stream); ist->dec_ctx->pkt_timebase = stream->time_base; if (avcodec_open2(ist->dec_ctx, codec, &opts) < 0) { From patchwork Fri Jul 5 05:25:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marth64 X-Patchwork-Id: 50361 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:cc64:0:b0:482:c625:d099 with SMTP id k4csp4089533vqv; Thu, 4 Jul 2024 22:34:12 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX2vaqUmht+FRUHbzZkp1vgofLgu+R00Zqo5b7OKdjsIGk4Oa3IJBBEvGMSJHDfuDYeO0KfyGKPpaSRj1xMtnrvvTwojGLcQWs1Nw== X-Google-Smtp-Source: AGHT+IHYFxSsv5pP5H73skc1Hn9oa2bNjktS53Zqh/Xp3S++DspD49zmPGBsUIw84kR+G7tOlmkU X-Received: by 2002:a05:6402:42c7:b0:57c:5874:4f74 with SMTP id 4fb4d7f45d1cf-58e5c73076cmr2437488a12.28.1720157651761; Thu, 04 Jul 2024 22:34:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720157651; cv=none; d=google.com; s=arc-20160816; b=o5aZchZ1P7deo8jcCjOq64SAZ6f7C7GybCMZ1Q1u7ZoIRJu6W5omgPKKvtFLXM2q+L y4v1NULMeG1wJyT7she+hIliyDpztRXnbcYPyz3PW1IPUihcAW81jcRI9aLLCbilTN2l khOARatM/hU349ySMAv75evN5XQbv8n1L6a+tlDJaB3xAm/XkO9VyuOKDY8oEJrcGhWz 3NlCpk/ZwxIzpBjK3ylBsrwqR1REHfeQ7PRp8sCHeEwh00/QKvobsT1L7w8pGiSOSQW0 L3hwzm5tHd0JZMSzao5vYsWKOv9fltF0fd98gGmPPnFiCME/ZB2T0itSJuy2zpXdFx97 vO3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=yKBYUQdCN8fh37HaELIyrrSUULoiFA2yPcRxASKG+m4=; fh=PlWMzmI9LD2qGS7ipLrQl8z0iaQTLQLHzoGuXcBzpCg=; b=kIVrtfbAJtNjPjjjcqKQXlyzw7moe7Ap7sum5QHkfSxG6bpiJ1ELew7Pk4fHLAcN7u vF1VS74pxiHINkvy9YaGdUNne2N0kPdVtP5P7uubBUHA/fdDbP2QIpBxzwqYUOWb8Vcq bTFMqBLu5h/U8ssmS4iQRIxpkKaDhTotXxevD2OUtx/ZFaKEJGiQeOwjytI8hi4VS8MD YwUo3JFRfwsYapMiWqmc9HwYteIZmqfkzU5oL7QfICvVCSbD8nnhOapMg3DGYN17Nl6i xMKb5SM3dBUyIxnfkz629S/BEbqVn6mYXF2V9uxg+cZMkQvJekDFknetBavIK9Te4hQJ ty2Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@proxyid.net header.s=google header.b="KQ7/ACZW"; 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 4fb4d7f45d1cf-58b5cb23bfdsi3826178a12.38.2024.07.04.22.34.11; Thu, 04 Jul 2024 22:34:11 -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=@proxyid.net header.s=google header.b="KQ7/ACZW"; 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 4870568DB1A; Fri, 5 Jul 2024 08:26:14 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-oi1-f228.google.com (mail-oi1-f228.google.com [209.85.167.228]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C235C68DAC1 for ; Fri, 5 Jul 2024 08:26:02 +0300 (EEST) Received: by mail-oi1-f228.google.com with SMTP id 5614622812f47-3d91e390601so28823b6e.1 for ; Thu, 04 Jul 2024 22:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxyid.net; s=google; t=1720157161; x=1720761961; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tXR7UJMSDL3gtRQpOlmdQ2BOVxGZs7OOmdefMJKBRro=; b=KQ7/ACZW6NbgoSxC7+tuj58W7G8b9jhhczoDyRvHQ8t0qe4SqOBP00X++xi3bHsFj8 xhaFdWL5UWqwGXqdQ7WwXrluLCjF/oXR45vn9FbEbrog+oMOVMtTiflBDctnPnsJsx5n nAGiFmvGcpUwL85UzHczi728shfOhrzHo44+N7aYrjp3zBbWZHqyUBfOC8s0Ie7NkmpU RiXXbbd09MPajuomz44zWN9OJzHItr1qsjczgARYDZTeRUpLGtF+R98ITGs0PdwlTDHM GmRXKaR1zPWUEwdiQNZ4aBjxJ3DdAJQhDFIurhkI+qJQPWcxmaqJf80bAZ+Lc5lf5gX2 rFww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720157161; x=1720761961; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tXR7UJMSDL3gtRQpOlmdQ2BOVxGZs7OOmdefMJKBRro=; b=HWPn+ouQz/Pz35jxit3tE7ulI2zlv+aEtvRkZExM9Nd+i0ZqGd4yaORyE92NDiQP5w rBlregKBS2S9V4siRzxO57oFRP5MqgbuMy86/iCrLPT/Ro5iQXjQ+EhoXWFy6CQf6OJ6 VIvKRtrC7JJBcEwqt36etInreRsROD/RFDIcAwXhfSHKMS3si3CxQQ6XDsxo8totBHn7 tJmoXsGQfA70mli0Et1T4TwwISgfAJvtwlVVvzjOHrKUNsbJOkQu+Stf8+yowI9EPvss 98XenUgK/bCDL5Asc1mp7P/ERTZdMPrCxBQhP+JzjIPa2fGfrG63ulvdVZGl6hd1HfLp w5lg== X-Gm-Message-State: AOJu0YzHoiCq1FvFxDBcll0civPTYkTz8gCa3pgQhJVXBfo9ZKUeIerW OPPZBnJIp+PZdNSzdTFnLq5LFj2D2w4g74QeA2BFcJPWTrMad6ZaFtiVVQLLsuGJhRCym7KF0Gt SB35VhCmlfYT3fRiGGfpm/v4rUMutluiczl94/SL8 X-Received: by 2002:a05:6871:24cd:b0:24f:d159:ea2 with SMTP id 586e51a60fabf-25e2bb76dc5mr3097267fac.28.1720157161058; Thu, 04 Jul 2024 22:26:01 -0700 (PDT) Received: from wsx-cc1-001.. (c-76-136-218-80.hsd1.il.comcast.net. [76.136.218.80]) by smtp-relay.gmail.com with ESMTPS id 586e51a60fabf-25e45059c6bsm33887fac.2.2024.07.04.22.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 22:26:01 -0700 (PDT) X-Relaying-Domain: proxyid.net From: Marth64 To: ffmpeg-devel@ffmpeg.org Date: Fri, 5 Jul 2024 00:25:55 -0500 Message-Id: <20240705052555.402920-6-marth64@proxyid.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240705052555.402920-1-marth64@proxyid.net> References: <20240705052555.402920-1-marth64@proxyid.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 5/5] tests/ref/fate/ts-demux: Update the expectation to expect closed_captions 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: Marth64 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: a0mhidoL0BeZ With the patchset and with RCWT demuxer as validation, the source mp3ac325-4864-small.ts is confirmed to have eia_608 bytes. Signed-off-by: Marth64 --- tests/ref/fate/ts-demux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) stream|index=2|codec_name=ac3|profile=unknown|codec_type=audio|codec_tag_string=[4][0][0][0]|codec_tag=0x0004|sample_fmt=fltp|sample_rate=48000|channels=2|channel_layout=stereo|bits_per_sample=0|initial_padding=0|ts_id=32776|ts_packetsize=188|id=0x35|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/90000|start_pts=3912634060|start_time=43473.711778|duration_ts=14400|duration=0.160000|bit_rate=192000|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=5|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0|tag:language=es format|filename=mp3ac325-4864-small.ts|nb_streams=3|nb_programs=1|nb_stream_groups=0|format_name=mpegts|start_time=43473.703389|duration=0.622889|size=512000|bit_rate=6575810|probe_score=50 diff --git a/tests/ref/fate/ts-demux b/tests/ref/fate/ts-demux index ec4aeb2034..745c3cffec 100644 --- a/tests/ref/fate/ts-demux +++ b/tests/ref/fate/ts-demux @@ -23,7 +23,7 @@ packet|codec_type=audio|stream_index=2|pts=3912642700|pts_time=43473.807778|dts= packet|codec_type=video|stream_index=0|pts=3912686363|pts_time=43474.292922|dts=3912686363|dts_time=43474.292922|duration=1501|duration_time=0.016678|size=4944|pos=506660|flags=___|data_hash=CRC32:54a86cbb packet|codec_type=audio|stream_index=1|pts=3912644825|pts_time=43473.831389|dts=3912644825|dts_time=43473.831389|duration=2880|duration_time=0.032000|size=906|pos=474888|flags=K__|data_hash=CRC32:0893d398 packet|codec_type=audio|stream_index=2|pts=3912645580|pts_time=43473.839778|dts=3912645580|dts_time=43473.839778|duration=2880|duration_time=0.032000|size=354|pos=491808|flags=K__|data_hash=CRC32:f5963fa6 -stream|index=0|codec_name=mpeg2video|profile=4|codec_type=video|codec_tag_string=[2][0][0][0]|codec_tag=0x0002|width=1280|height=720|coded_width=0|coded_height=0|closed_captions=0|film_grain=0|has_b_frames=1|sample_aspect_ratio=1:1|display_aspect_ratio=16:9|pix_fmt=yuv420p|level=4|color_range=tv|color_space=unknown|color_transfer=unknown|color_primaries=unknown|chroma_location=left|field_order=progressive|refs=1|ts_id=32776|ts_packetsize=188|id=0x31|r_frame_rate=60000/1001|avg_frame_rate=60000/1001|time_base=1/90000|start_pts=3912669846|start_time=43474.109400|duration_ts=19519|duration=0.216878|bit_rate=15000000|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=15|extradata_size=150|extradata_hash=CRC32:53134fa8|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effect s=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0|side_datum/cpb_properties:side_data_type=CPB properties|side_datum/cpb_properties:max_bitrate=15000000|side_datum/cpb_properties:min_bitrate=0|side_datum/cpb_properties:avg_bitrate=0|side_datum/cpb_properties:buffer_size=9781248|side_datum/cpb_properties:vbv_delay=-1 +stream|index=0|codec_name=mpeg2video|profile=4|codec_type=video|codec_tag_string=[2][0][0][0]|codec_tag=0x0002|width=1280|height=720|coded_width=0|coded_height=0|closed_captions=1|film_grain=0|has_b_frames=1|sample_aspect_ratio=1:1|display_aspect_ratio=16:9|pix_fmt=yuv420p|level=4|color_range=tv|color_space=unknown|color_transfer=unknown|color_primaries=unknown|chroma_location=left|field_order=progressive|refs=1|ts_id=32776|ts_packetsize=188|id=0x31|r_frame_rate=60000/1001|avg_frame_rate=60000/1001|time_base=1/90000|start_pts=3912669846|start_time=43474.109400|duration_ts=19519|duration=0.216878|bit_rate=15000000|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=15|extradata_size=150|extradata_hash=CRC32:53134fa8|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effect s=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0|side_datum/cpb_properties:side_data_type=CPB properties|side_datum/cpb_properties:max_bitrate=15000000|side_datum/cpb_properties:min_bitrate=0|side_datum/cpb_properties:avg_bitrate=0|side_datum/cpb_properties:buffer_size=9781248|side_datum/cpb_properties:vbv_delay=-1 stream|index=1|codec_name=ac3|profile=unknown|codec_type=audio|codec_tag_string=[4][0][0][0]|codec_tag=0x0004|sample_fmt=fltp|sample_rate=48000|channels=6|channel_layout=5.1(side)|bits_per_sample=0|initial_padding=0|ts_id=32776|ts_packetsize=188|id=0x34|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/90000|start_pts=3912633305|start_time=43473.703389|duration_ts=14400|duration=0.160000|bit_rate=384000|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=5|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0|tag:language=eng