mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-10 21:22:24 +00:00
[PR #1822] fix(ts): Add fallback for TS files without PAT/PMT tables #2575
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?
Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1822
State: closed
Merged: Yes
Summary
Problem
Some DVR recordings (e.g., Channel Master DVR+) create transport stream files that contain valid video and audio data with embedded CEA-608/708 captions, but lack PAT (Program Association Table) and PMT (Program Map Table).
Without these tables, CCExtractor couldn't identify which PIDs contain video streams, resulting in "No captions were found in input" even though tools like VLC could display the captions.
Solution
The fix adds a fallback mechanism that:
update_capinfo()for caption extractionThis allows CCExtractor to extract captions from TS files without PAT/PMT, matching the behavior when FFmpeg is enabled as a fallback parser.
Test plan
Fixes #805
🤖 Generated with Claude Code