From patchwork Fri Jul 5 05:25:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marth64 X-Patchwork-Id: 35150 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:cc64:0:b0:482:c625:d099 with SMTP id k4csp4087033vqv; Thu, 4 Jul 2024 22:26:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUVhmau57WuJzOviipWiB1u85oWXXXYdtnGN/VXvAzP5dT+9msjEyVfD2uvNS4zFsDnFwvpu2YHXX/YzuImXypk/9IdzrLnJxqeXg== X-Google-Smtp-Source: AGHT+IGV8tFk/1DND6XQIuIKr/dOWbtzwCUZ6VC71E6BIMuj5YbHvacJF0LKfeheX0f2gEyzueKX X-Received: by 2002:a17:907:97c8:b0:a77:a58f:7f6a with SMTP id a640c23a62f3a-a77ba70e417mr345363366b.38.1720157170811; Thu, 04 Jul 2024 22:26:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720157170; cv=none; d=google.com; s=arc-20160816; b=cg5HjldPxkwqDgs+G4fqfCT5crE8Uk7Frxdn046rqcAQQ1n+Eul0nWgFOQtNbMfcUE D4JjbXwPgTpOiahGM4MiEQfGuyrTAN3ObutuI7+U3SQcYPMW8PdindMUdEcSrxFTILva WlPOpCsEYJJu+FJGM+5ae0cvcGCidXQ+snKlI8fuE7Rj0HdzlOFUdKwTk0r18FlqVMy6 itKtC8Jj+6cAizKZcQIKJ3MWooiJ1Sno0G3DmJP7/Nj7Ot7QdINZzT5hL2mHKpCOmyEK qcrczcKbfC1P+qt+AhmLvVVL3l46X+5CCrPXcY9TBghEY/vZWn/8Zrctch7RqdCph7wb 0ioQ== 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:message-id:date:to:from :dkim-signature:delivered-to; bh=Joq0/SpRAW/OFVbKc8/XOt7QVpNiiqFHNtV8GRLEmTE=; fh=PlWMzmI9LD2qGS7ipLrQl8z0iaQTLQLHzoGuXcBzpCg=; b=ZLSytNyLG+crG99WcmJeAu8sluhM4N1akMiCq46pTnZ9BcVzX1dwR8oyXdUF9mDYee md2rCvAaGJOqa1I/ZFs5ZYDR6KrmV+O81zPSAG7msj7UWcxUyIRlOuhkQktlGePSUtIH 4j1mHncsppWR3drXHGoaYFqghKCi/YGhMKy3CNmQg+a9CSHEpJvt1J38LmDWT2dwUb79 CdfgoLYrs5NbE49//FLUwIgwwza61pRMqY4DkdxvjjAPLTlum4Q7pv0k8iZHOrYiMxz5 os+tzCFDzuU1Pt5Oq/lwceC4O5TumHevukon0fkacuvyCo8s5SO8piAGQSFG83/Zd86g jH0A==; 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="AYtv6/B7"; 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-a77bf6b5c29si127290866b.256.2024.07.04.22.26.10; Thu, 04 Jul 2024 22:26:10 -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="AYtv6/B7"; 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 9388468DA6C; Fri, 5 Jul 2024 08:26:07 +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 4AEA768CDA6 for ; Fri, 5 Jul 2024 08:26:00 +0300 (EEST) Received: by mail-oa1-f99.google.com with SMTP id 586e51a60fabf-25d75d35ffdso902728fac.0 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:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HuurC8W8c3W1Ha6dxATW7JUx88DItyXQf0xuK59jyEY=; b=AYtv6/B7EOjrCCRLMj9tX+TaOBtKJsaeBMjWyfnMVEidGJK7De8QDpduJtoNPEnf40 V96AUFtV97IKM4mfPr0vwwJBCso+ZjdPMOxHemnrD6iAVxXXDkQiv4gpaHB9gN+CCtEd S+AaAdfxX/XYVt+gDMVpHX5Slo2btuogLteg6keptZKspWizAW1H4STctOqvvF3JSTYi naR67XC0NNMXZZIAGAizxCcoe4AEnNbdQSPYKqk8TemgmyF+oqiWZe403+EAZ4GiYZhp BGhmFAMpil656BSBS2CBnNuitgriDTu/0ojswDKsfa+rfiacVdomFXWcalVC0r7XOWBK FzuQ== 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:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HuurC8W8c3W1Ha6dxATW7JUx88DItyXQf0xuK59jyEY=; b=ur0cP92pMetYIJzO0XG4gGSK1NZKB6xK1j66p6s565YLWjwrtTFBuFU22tcoa4KFNQ R99W1vZbzPlg4MBpE/ajIe/xyIBgdjtgvuHwmLOPoyKMI8iMzGoVSnUBmryvkJqk9yz4 NqEA0a0xEXahUDC8+BAJwds588DWyI8OdCQvh4uLKeYNXRNwBZ+cQMRLRXuGda3L8vYw AMT7AKBTIPUmh5R7s6DQMtdnNouEaTJ4GViq1kQoir+0p+ME5/7dBZYOsEA6bj9h513e N4CBRReuGTX3k4V6o0C5mcd7KpwfazZRWXITD/z38oymEXGhiP7svCO0FRaH4dKClKO/ nryA== X-Gm-Message-State: AOJu0YyB1c8Elcq8xybd31GdjEtGpIl8kMVcLmpbSMaGDHIAQRIhOWx4 BQB+q5S1pmhbyWQ+9BbzB8KRQ7u4QzpcYMSORteirZCFqBpzz2Q/c70z/4kQwWitB1cYqJCAWGo 6VgQO+EnV0TNh/xwHHUtwOMWd/zJ/f2J1zd6A5Kt9 X-Received: by 2002:a05:6871:24d5:b0:254:befc:393 with SMTP id 586e51a60fabf-25e2f3b3b82mr1624167fac.3.1720157158829; Thu, 04 Jul 2024 22:25:58 -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:58 -0700 (PDT) X-Relaying-Domain: proxyid.net From: Marth64 To: ffmpeg-devel@ffmpeg.org Date: Fri, 5 Jul 2024 00:25:50 -0500 Message-Id: <20240705052555.402920-1-marth64@proxyid.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/5] Fix probing display of stream codec 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: Vr3OvZaxaXCf At some point after 4.4.2, the internal properties of AVCodecContext which revealed useful information (Closed Captions, Film Grain, etc.) stopped being printed in av_dump_format() and was fixed to its default value (0) in ffprobe. For example, ffprobe emits a stream level field "closed_captions" which simply does not work anymore. This was a useful method to detect Closed Captions given the correct probe/analyze parameters for the source file. This patchset aims to restore the functionality.