CCExtractor / CCExtractor/ccextractor

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

未關閉
#2,278 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C
星號
903
分支
589
平均合併
3 天 2 小時
30 天內合併 PR
10

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。