mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
[PR #1876] [MERGED] fix(mp4/mkv): Add HEVC/H.265 caption extraction for MP4 and Matroska containers #2654
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1876
Author: @cfsmp3
Created: 12/21/2025
Status: ✅ Merged
Merged: 12/22/2025
Merged by: @cfsmp3
Base:
master← Head:fix/hevc-mp4-caption-extraction📝 Commits (2)
701271efix(mp4): Add HEVC/H.265 caption extraction for MP4 containers44363c0fix(mkv): Add HEVC/H.265 caption extraction for Matroska containers📊 Changes
3 files changed (+357 additions, -11 deletions)
View changed files
📝
src/lib_ccx/matroska.c(+127 -8)📝
src/lib_ccx/matroska.h(+4 -1)📝
src/lib_ccx/mp4.c(+226 -2)📄 Description
Summary
store_hdcc()call to flush buffered CC data after each sample/frameMP4 Changes (mp4.c)
process_hevc_sample()to parse HEVC NAL units and extract CCprocess_hevc_track()to iterate through HEVC track samplesprocessmp4()MKV Changes (matroska.c/h)
hevc_codec_idconstant for V_MPEGH/ISO/HEVChevc_track_numberfield to track HEVC video tracksprocess_hevc_frame_mkv()with HEVC-specific NAL parsingparse_simple_block()Test plan
Closes #1690
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.