CCExtractor / CCExtractor/ccextractor

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

Aberta
#2,278 2 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C
Estrelas
903
Forks
589
Merge médio
3d 2h
PRs com merge (30d)
10

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.