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

[QUESTION] Subtitle Extract #1471

Open
duffxp opened this issue Jan 5, 2023 · 10 comments
Open

[QUESTION] Subtitle Extract #1471

duffxp opened this issue Jan 5, 2023 · 10 comments

Comments

@duffxp
Copy link

duffxp commented Jan 5, 2023

CCExtractor version: 0.88

In raising this issue, I confirm the following:

  • [ X ] I have read and understood the contributors guide.
  • [ X ] I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • [ X ] I have checked that the issue I'm posting isn't already reported.
  • [ X ] I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • [ X ] I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.
  • [ X ] I have used the latest available version of CCExtractor to verify this issue exists.
  • [ X I have ticked all the boxes in this section and to prove it I'm deleting the section completely to remove boilerplate text.

Necessary information

  • What platform did you use? GNU/Linux
  • What were the used arguments? ccextractor "test.ts" -datapid 0x25 -dvblang por -o a.txt

Additional information

Hi.

I have a ".ts" file with the below specs:

    Stream #0:0[0x1e1]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x22](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:2[0x23](por): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:3[0x24](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:4[0x25](por): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)

I want to extract the subtitle content of stream 0:4 (0x25) to a ".txt" file only. However, when I tried to use -datapid 0x25, I can't see anything:

Opening file: test.ts
File seems to be a transport stream, enabling TS mode
Analyzing data in general mode
Ignoring stream language 'eng' not equal to dvblang 'por'
Segmentation fault

But, when I use the -pn 1 option, I can see the rows normally:

1
00:00:00,000 --> 00:00:04,523
No princípio...</font>

2
00:00:04,725 --> 00:00:08,648
<font color="#ffffff">antes das seis singularidades</font>
<font color="#ffffff">e da alvorada da criação,</font>

3
00:00:08,649 --> 00:00:08,848
antes das seis singularidades
e da alvorada da criação,

4
00:00:08,849 --> 00:00:11,851
<font color="#ffffff">vieram os CELESTIAIS.</font>
<font color="#ffffff">Arishem, o Celestial Primordial,</font>

I would like to know the reason for this. I can be forgetting something, and sorry if I did.

Thank you.

@Darkcoder011
Copy link

Can i Work on this Project

@cfsmp3
Copy link
Contributor

cfsmp3 commented Apr 17, 2023

Can i Work on this Project

Sure.

@duffxp
Copy link
Author

duffxp commented Apr 17, 2023

If you need anything more, just let me know.

@Darkcoder011
Copy link

ok i will try to solve this issue can you please assign it to me @cfsmp3 @quintanaplaca

@cfsmp3
Copy link
Contributor

cfsmp3 commented Apr 18, 2023

ok i will try to solve this issue can you please assign it to me @cfsmp3 @quintanaplaca

You can just start working on it. Consider it assigned.

@Darkcoder011
Copy link

ok i will Start Work on it

@duffxp
Copy link
Author

duffxp commented Apr 18, 2023

Let me know if you need any examples or a TS file.

@cfsmp3
Copy link
Contributor

cfsmp3 commented Apr 18, 2023

We always need the input file to reproduce the error

@duffxp
Copy link
Author

duffxp commented Apr 18, 2023

https://we.tl/t-hJmzjQinAf

@Darkcoder011
Copy link

I will first understand it and then solve it

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

3 participants