CCExtractor / CCExtractor/ccextractor

[BUG] Rust panic in CEA-708 decoder at service_decoder.rs:264 on broadcast MPEG-2 transport streams

Aperta
#2,278 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
903
Fork
589
Merge medio
3g 2h
PR unite (30g)
10

Descrizione

Environment:

CCExtractor 0.96.5 / 0.96.6 (Homebrew, macOS arm64)
macOS 15.7.7 (Sequoia), Apple Silicon
Input: MPEG-2 transport stream captured from ATSC 1.0 OTA broadcast (1920×1080i 29.97, CEA-708)

Description:
CCExtractor consistently panics at approximately 91% through processing certain broadcast MPEG-2 files with the following error:
thread '' panicked at src/decoder/service_decoder.rs:264:40:
index out of bounds: the len is 0 but the index is 0
The panic occurs in _ccxr_process_cc_data → _process_hdcc → ccx_rust::es::pic::read_pic_info. The -noru flag does not prevent the crash, suggesting the Rust decoder is invoked regardless.
Impact:
The SRT output is truncated — approximately the last 9% of captions are lost. The process exits with a non-zero return code.
Workaround:
None known. The output SRT before the crash is usable but incomplete.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.