mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #1864] [CLOSED] Automatic extraction of multiple DVB subtitle streams (--split-dvb-subs) fixes#447 #2638
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/1864
Author: @Rahul-2k4
Created: 12/20/2025
Status: ❌ Closed
Base:
master← Head:feature/split-dvb-subs📝 Commits (10+)
48d633fImplement multi-stream DVB subtitle extraction (--split-dvb-subs)20421f7Initial plan6cd26a6Fix compiler errors in DVB multi-stream structures2b4faa7Initial plane1b0271Apply clang-format and rustfmt formatting fixeseedaf08Merge pull request #7 from Rahul-2k4/copilot/fix-clang-format-issuesb2de438Merge branch 'CCExtractor:master' into master9e816a1Merge branch 'CCExtractor:master' into test7889a41Add --split-dvb-subs validation in Rust parserf62c3e7Merge branch 'CCExtractor:master' into feature/split-dvb-subs📊 Changes
14 files changed (+400 additions, -5 deletions)
View changed files
📝
src/lib_ccx/ccx_common_option.c(+4 -0)📝
src/lib_ccx/ccx_common_option.h(+4 -0)📝
src/lib_ccx/ccx_demuxer.c(+4 -0)📝
src/lib_ccx/ccx_demuxer.h(+20 -0)📝
src/lib_ccx/dvb_subtitle_decoder.c(+65 -0)📝
src/lib_ccx/dvb_subtitle_decoder.h(+38 -0)📝
src/lib_ccx/general_loop.c(+15 -5)📝
src/lib_ccx/lib_ccx.c(+127 -0)📝
src/lib_ccx/lib_ccx.h(+10 -0)📝
src/lib_ccx/ts_tables.c(+73 -0)📝
src/rust/lib_ccxr/src/common/options.rs(+3 -0)📝
src/rust/src/args.rs(+6 -0)📝
src/rust/src/common.rs(+3 -0)📝
src/rust/src/parser.rs(+28 -0)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
This PR adds support for automatic multi-stream DVB subtitle extraction via a new flag:
--split-dvb-subs
When enabled, CCExtractor:
Key Implementation Details
1. Demuxer-Level Stream Discovery
2. Per-Stream Decoder Isolation
3. Correct Buffer Handling
4. Safety & Robustness Fixes
Testing Performed
Sample: arte_multiaudio.ts
PMT advertises two DVB subtitle streams (different PIDs and languages)
--split-dvb-subs correctly:
Observed behavior:
Teletext subtitles extract correctly
DVB subtitle streams produce no output, which appears expected:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.