Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH 0/3] avformat/matroska: add ordered-chapter parsing
@ 2025-11-19 13:49 Alexander Westberg-Bladh via ffmpeg-devel
  2025-11-19 13:49 ` [FFmpeg-devel] [PATCH 1/3] avformat/matroska: Add element IDs for ordered chapters Alexander Westberg-Bladh via ffmpeg-devel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexander Westberg-Bladh via ffmpeg-devel @ 2025-11-19 13:49 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Alexander Westberg-Bladh

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-11-19 18:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-19 13:49 [FFmpeg-devel] [PATCH 0/3] avformat/matroska: add ordered-chapter parsing Alexander Westberg-Bladh via ffmpeg-devel
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

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