Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] VLC displays captions, ccextractorwin not finding captions #1061

Open
DHLgh opened this issue Jan 1, 2019 · 5 comments
Open

[BUG] VLC displays captions, ccextractorwin not finding captions #1061

DHLgh opened this issue Jan 1, 2019 · 5 comments

Comments

@DHLgh
Copy link

DHLgh commented Jan 1, 2019

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) **

FS2_sample.zip

@navimakarov
Copy link
Contributor

I'm on it

@saurabh18213
Copy link

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
Copy link
Contributor

@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
Copy link
Contributor

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
Copy link
Contributor

cfsmp3 commented Jan 25, 2020

@DHLgh Is this still happening in current master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants