From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 12B8D4CD9B for ; Tue, 25 Feb 2025 22:01:54 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 165A768CA6C; Wed, 26 Feb 2025 00:01:52 +0200 (EET) Received: from mail-yw1-f176.google.com (mail-yw1-f176.google.com [209.85.128.176]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5A2EF68C594 for ; Wed, 26 Feb 2025 00:01:46 +0200 (EET) Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-6f9625c0fccso54379647b3.1 for ; Tue, 25 Feb 2025 14:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740520904; x=1741125704; 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=eKe+W6XJLapAxMX1cGEDU06Q96SfQtJxkmu7BYp5t18=; b=knl8PAc1JLxcY7pb7ihciau/9jIeliurryR0+NL0QDQovLrHN/AYyTz3+V/4PTd0wL By3IYfPUa27SkILcMiHN4LSoa6onuS+VMrToPdr/V+rMll1QTpj8NA3pbxjXczURTs57 cwIHM0VznkN8o9j6OYUP9fZj7BqPehssRUUUcc9Ixn2X8KNE1IXIvP9yGT/dEwe1w/5Y aEoZrWvBbAvE+V2E4oyMN9Kfj4+TResI31BdJYKdxsiTY9+BRqe6Eznc1Z4WPrGKXB3Q ZD+9VUMwBgb+wZXrQp1qWVdn9gDez06fMN0brreaBn25kTydBUSTtpumsP0TdrGsrLOQ sujw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740520904; x=1741125704; 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=eKe+W6XJLapAxMX1cGEDU06Q96SfQtJxkmu7BYp5t18=; b=cJWcLqBgtwCEWYOOdygDYhCLzLuRzuuFuA/zvr1VIYhDwACoZMzbd0PZ2CdeTXQEzM yAncs1BJSp35mgyK9A5EqS54TZvl16TFR07dEZcTeWcEkveywPzx1XtlN6Bnse/o4UHK iokoAAXRbgsVRv5rE6DqpVcWJp4TAe7qOPtXvBOjfw2EdiqjCA58h4sGJZ9hArkfF6HT BLX44yoYCcoeBsWOXJm0sGBKwnWAUgT4FFO9mvNXrdha9kdMMbTpGGSKmLJz0e2t4ld8 1vwY3KsV+SGRMNK8yWzbE8IsInKtDxMAz3Y+l1cthHbXrjJKBMJXoyH6kRJWsZq14HrI qE1g== X-Gm-Message-State: AOJu0YxnCRWsIyvcE2jvR2uJJvYFxX9y8YnQkph736eELiJd9u+DOq5a 8lC3fH3v6js8Pzk+aVo53KOaE4JsSMi8CWNEw+dCVC7XRvtsPWwljbYNFZ3/ X-Gm-Gg: ASbGncuwL2BdDBx3MecV8cy9Gr0nMitioXrBSiZ9fqn9KUP2Oo19R4hhN2ehUz2zL/I hZ7kDtORrqv+KKhF7WD8lSUDlh8JFtih29dac9lNUXaiHn0sb8P86m6rv7qjFc3tqexU8QSe45H AgYhii3ffVUsv764inIxCNoNsW1jZ2FgzZ+vHWhNufROkznpYtrn4AjzppS2OunIr/Cm5xp9Lw0 E+cQyxpkpnshOQAKdtH8wOHZTFc5MM64W+RyhxiXfaul+zRe+vRoS+0/NGl2blsC+38QCF3qrzX R4DDC9BcVmIEdZLhBIeM2OLCeMnKmjdUHFYTbb5qVcHy1m1b/TpXJTjNDwhpAL2yMnk= X-Google-Smtp-Source: AGHT+IH2B4JxPEUp9qITuxIj/PVtkIUl2LYFYZEFctytbBIuBs5sp2oy5t9Iudp+Qz0YGy4M8WzUQQ== X-Received: by 2002:a05:690c:48c5:b0:6fb:2980:b0bd with SMTP id 00721157ae682-6fd109ed1c9mr51062437b3.11.1740520903951; Tue, 25 Feb 2025 14:01:43 -0800 (PST) Received: from localhost.localdomain ([2607:fb90:e333:5b39:2036:1eaa:d627:4a51]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6fd117dd70csm6487767b3.83.2025.02.25.14.01.42 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 25 Feb 2025 14:01:43 -0800 (PST) From: Romain Beauxis To: ffmpeg-devel@ffmpeg.org Date: Tue, 25 Feb 2025 16:01:13 -0600 Message-Id: <20250225220121.98449-1-romain.beauxis@gmail.com> X-Mailer: git-send-email 2.39.5 (Apple Git-154) MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v7 0/8] Properly decode ogg metadata in ogg/{vorbis, flac, opus} chained bitstreams 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: Romain Beauxis Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: This is a series of patches to allow proper decoding of ogg metadata in chained `ogg/vorbis, `ogg/flac` and `ogg/opus` streams. ## Changes since last version: * Cleaned up patch series * Reverted changes in how multiple fields are parsed in vorbis comments. Full discussion: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/6 Romain Beauxis (8): libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame. tests: Add stream dump test API util. tests: Add chained ogg/vorbis stream dump test. libavformat/oggdec.h, libavformat/oggparsevorbis.c: Factor out vorbis metadata update mechanism. libavformat/oggparseflac.c: Parse ogg/flac comments in new ogg packets, add them to ogg stream new_metadata. tests: Add chained ogg/flac stream dump test. libavformat/oggparseopus.c: Parse comments from secondary chained streams header packet. tests: Add chained ogg/opus stream dump test. libavcodec/decode.c | 20 +++ libavformat/oggdec.h | 14 +++ libavformat/oggparseflac.c | 21 ++++ libavformat/oggparseopus.c | 13 +- libavformat/oggparsevorbis.c | 25 ++-- tests/Makefile | 4 + tests/api/Makefile | 2 +- tests/api/api-dump-stream-meta-test.c | 175 ++++++++++++++++++++++++++ tests/fate/ogg-flac.mak | 11 ++ tests/fate/ogg-opus.mak | 11 ++ tests/fate/ogg-vorbis.mak | 11 ++ 11 files changed, 297 insertions(+), 10 deletions(-) create mode 100644 tests/api/api-dump-stream-meta-test.c create mode 100644 tests/fate/ogg-flac.mak create mode 100644 tests/fate/ogg-opus.mak create mode 100644 tests/fate/ogg-vorbis.mak -- 2.39.5 (Apple Git-154) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".