mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[BUG] VLC displays captions, ccextractorwin not finding captions #471
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?
Originally created by @DHLgh on GitHub (Jan 1, 2019).
CCExtractor version (using the --version parameter preferably) : 0.87
Necessary information
0.77 reports that CC is type 1 (field 2 closed captions).
**Video links (replace text below with your links) **
FS2_sample.zip
@navimakarov commented on GitHub (Jan 1, 2019):
I'm on it
@saurabh18213 commented on GitHub (Feb 1, 2019):
I am also unable to extract captions in Ubuntu 18.04.
The command which I used from ccextractor/linux directory.
./ccextractor FS2_sample.ts -2 -out=ttxt@thelastpolaris commented on GitHub (Apr 25, 2019):
@saurabh18213 I also tried it with -2 flag but for some reason, it doesn't work, though CCExtractors seems to be extracting the second CC type.
Total frames time: 00:00:45:945 (1377 frames at 29,97fps) CC type 0: 0 (NTSC line 21 field 1 closed captions) CC type 1: 1360 (NTSC line 21 field 2 closed captions) CC type 2: 0 (DTVCC Channel Packet Data) CC type 3: 0 (DTVCC Channel Packet Start)I'm currently looking into this issue.
@thelastpolaris commented on GitHub (Apr 28, 2019):
So for some reason CCExtractor treats Program name, which is given by XDS, as subtitles track. If you convert the given sample to .mp4 or even .mkv CCExtractor extracts subtitles without any problem. I will dive deeper into write_cc_buffer function to solve this problem.
@cfsmp3 commented on GitHub (Jan 25, 2020):
@DHLgh Is this still happening in current master?
@cfsmp3 commented on GitHub (Dec 14, 2025):
Investigation Results
I've thoroughly analyzed the sample file
FS2_sample.tsand found that this file does not contain actual CC3/CC4 caption text.What the file contains
However, examining the field 2 data reveals:
14 2C(EDM - EraseDisplayedMemory) at the very endXDS metadata found in the file
Why VLC might "show captions"
VLC can display XDS metadata (program names, network info) in its OSD or caption area, which might appear as "captions" but is actually just program metadata - not spoken dialogue captions.
FFmpeg confirmation
FFmpeg also cannot extract captions from this file, reporting:
(repeated 714 times)
Conclusion
CCExtractor is working correctly - there simply are no CC3/CC4 closed captions to extract from this file. The field 2 data consists entirely of XDS metadata plus one screen-clear command.
Closing as "not a bug" - the sample file doesn't contain the caption content that was expected.
@cfsmp3 commented on GitHub (Dec 14, 2025):
Closing as the sample file does not contain actual closed captions - only XDS metadata.