From: Alexander Westberg-Bladh via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: ffmpeg-devel@ffmpeg.org
Cc: Alexander Westberg-Bladh <alexander.bladh@gmail.com>
Subject: [FFmpeg-devel] [PATCH 0/3] avformat/matroska: add ordered-chapter parsing
Date: Wed, 19 Nov 2025 14:49:36 +0100
Message-ID: <cover.1763545906.git.alexander.bladh@gmail.com> (raw)
Hi,
This short series lays the groundwork for ordered-chapter playback
in Matroska, fixing trac ticket #3123.
To start with I added type defs and parsing for editions.
I stay compatible with the existing logic by fetching the chapters from
all editions thereby flattening the structure.
I think It would be a good idea to add an option that only fetches the
default or first edition staying compliant to the matroska spec.
Maybe adding --edition X and --default-edition in a future patch is appropriate.
Next steps would be dealing with external chapter files.
This is my first patch let me know if I can improve anything, my C is a
little rusty. I manually added the video from the ticket as a fate test just to make sure it was read corectly.
make fate-matroska
TEST matroska-prores-zlib
TEST matroska-prores-header-insertion-bz2
TEST matroska-remux
TEST matroska-xiph-lacing
TEST matroska-wavpack-missing-codecprivate
TEST matroska-zlib-decompression
TEST matroska-lzo-decompression
TEST matroska-flac-channel-mapping
TEST matroska-flac-extradata-update
TEST webm-av1-extradata-update
TEST matroska-move-cues-to-front
TEST matroska-avoid-negative-ts
TEST matroska-ms-mode
TEST matroska-qt-mode
TEST matroska-pgs-remux
TEST matroska-pgs-remux-durations
TEST matroska-dvbsub-remux
TEST matroska-spherical-mono
TEST matroska-side-data-pref-codec
TEST matroska-side-data-pref-packet
TEST matroska-alac-remux
TEST webm-dash-chapters
TEST matroska-zero-length-block
TEST matroska-non-rotation-displaymatrix
TEST matroska-crop
TEST matroska-dovi-write-config7
TEST matroska-dovi-write-config8
TEST matroska-spherical-mono-remux
TEST matroska-mastering-display-metadata
TEST matroska-h264-remux
TEST matroska-vp8-alpha-remux
TEST matroska-mpegts-remux
TEST matroska-opus-remux
TEST matroska-ogg-opus-remux
TEST matroska-encoding-delay
TEST matroska-stereo_mode
TEST webm-webvtt-remux
TEST webm-hdr10-plus-remux
TEST matroska-hdr10-plus-remux
Kind regards,
Alexander Westberg-Bladh
Alexander Westberg-Bladh (3):
avformat/matroska: Add element IDs for ordered chapters
avformat/matroskadec: Add data structures for ordered chapters
avformat/matroskadec: Update EBML syntax to parse EditionEntry
libavformat/matroska.h | 2 +
libavformat/matroskadec.c | 99 ++++++++++++++++++++++++---------------
2 files changed, 64 insertions(+), 37 deletions(-)
--
2.51.2
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
next reply other threads:[~2025-11-19 18:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-19 13:49 Alexander Westberg-Bladh via ffmpeg-devel [this message]
2025-11-19 13:49 ` [FFmpeg-devel] [PATCH 1/3] avformat/matroska: Add element IDs for ordered chapters Alexander Westberg-Bladh via ffmpeg-devel
2025-11-19 13:49 ` [FFmpeg-devel] [PATCH 2/3] avformat/matroskadec: Add data structures " Alexander Westberg-Bladh via ffmpeg-devel
2025-11-19 13:49 ` [FFmpeg-devel] [PATCH 3/3] avformat/matroskadec: Update EBML syntax to parse EditionEntry Alexander Westberg-Bladh via ffmpeg-devel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1763545906.git.alexander.bladh@gmail.com \
--to=ffmpeg-devel@ffmpeg.org \
--cc=alexander.bladh@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git