ccextractor
ccextractor copied to clipboard
[BUG] VLC displays captions, ccextractorwin not finding captions
CCExtractor version (using the --version parameter preferably) : 0.87
- [ X] I have used the latest available version of CCExtractor to verify this issue exists.
- [X ] I absolutely love CCExtractor, but have not contributed previously.
Necessary information
- Is this a regression (did it work before)? [X ] NO | [ ] YES - please specify the last known working version
- What platform did you use? [ X] Windows - [ ] Linux - [ ] Mac
- What were the used arguments? -ttxt -2
0.77 reports that CC is type 1 (field 2 closed captions).
**Video links (replace text below with your links) **
I'm on it
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
@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.
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.
@DHLgh Is this still happening in current master?