mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #2058] [CLOSED] feat: implement DVB subtitle splitting (--split-dvb-subs) #2865
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/2058
Author: @Rahul-2k4
Created: 1/24/2026
Status: ❌ Closed
Base:
master← Head:dvb-split-fresh📝 Commits (8)
49b1e54feat: implement DVB subtitle splitting (--split-dvb-subs)047c953ci(windows): add GPAC install fallback for Chocolatey failures14d290bfix(ci): correct GPAC fallback download URL for Windows builds8d077fefix(windows): add strcasecmp compatibility for MSVC builds68a3dc7docs: add bug fixes to CHANGES.TXT39646daFix flaky Rust test test_buffersize by avoiding race conditiona10e402fix(dvb-split): prevent Rust panic during DVB subtitle pipeline cleanupebf6ad0fix(dvb): suppress misleading messages and simplify split file naming📊 Changes
32 files changed (+1717 additions, -273 deletions)
View changed files
📝
.github/workflows/build_windows.yml(+25 -2)📝
docs/CHANGES.TXT(+7 -1)📝
linux/Makefile.am(+4 -2)📝
mac/Makefile.am(+2 -0)📝
src/CMakeLists.txt(+1 -10)📝
src/ccextractor.c(+3 -1)📝
src/lib_ccx/CMakeLists.txt(+13 -6)📝
src/lib_ccx/ccx_common_option.c(+3 -0)📝
src/lib_ccx/ccx_common_option.h(+2 -0)📝
src/lib_ccx/ccx_decoders_structs.h(+2 -0)📝
src/lib_ccx/ccx_demuxer.c(+8 -0)📝
src/lib_ccx/ccx_demuxer.h(+25 -0)📝
src/lib_ccx/ccx_encoders_common.c(+11 -10)➕
src/lib_ccx/dvb_dedup.c(+48 -0)➕
src/lib_ccx/dvb_dedup.h(+34 -0)📝
src/lib_ccx/dvb_subtitle_decoder.c(+449 -150)📝
src/lib_ccx/dvb_subtitle_decoder.h(+17 -0)📝
src/lib_ccx/general_loop.c(+247 -14)📝
src/lib_ccx/lib_ccx.c(+403 -1)📝
src/lib_ccx/lib_ccx.h(+43 -0)...and 12 more files
📄 Description
In raising this pull request, I confirm the following (please check boxes):
I have read and understood the contributors guide
.
.
My familiarity with the project is as follows (check one):
Summary
This PR completes verification of Issue #447 and applies a few small but necessary fixes identified during review. The --split-dvb-subs feature is confirmed to work correctly with real DVB broadcast samples.
Features
--split-dvb-subs: Extract each DVB stream to separate files (e.g.,output_eng_0x0000.srt,output_spa_0x006F.srt)--no-dvb-dedup: Disable ring buffer deduplication to retain all subtitles (useful for debugging)Bug Fix: GPAC fallback URL
Fixed Windows CI failures when Chocolatey returns 503 errors. Corrected the fallback download URL from:
release/2.4.0/gpac-2.4.0-rev0-gc05db8ba-master-x64.exe(404)release/2.4/gpac-2.4-rev0-g5d70253a-master-x64.exe(200 OK)Test Results
Coverage: Split, deduplication (on/off), multi-pipeline, Windows CI, Linux CI
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.