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] Out of order packets / Bad packet / Premature end of file / No captions were found in input #1531

Open
7 tasks done
2V3EvG4LMJFdRe opened this issue Apr 13, 2023 · 0 comments

Comments

@2V3EvG4LMJFdRe
Copy link

CCExtractor version: 0.88

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.
  • I have used the latest available version of CCExtractor to verify this issue exists.
  • 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

  • Is this a regression (i.e. did it work before)? {NO}
  • What platform did you use? {Mac}
  • What were the used arguments? {ccextractor /Users/redacted/Downloads/raster.VOB -o rastersubs.srt -in=ts}

Video links

Additional information

I'm trying to use ccextractor to get DVD raster subs out of files, hopefully into .srt, but it fails with any of the three files I've tried with (all from different sources). Two fail the same way (simplified):

Opening file: /Users/redacted/Downloads/raster.VOB
Analyzing data in general mode
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:7 ctx->ctx->PID_buffers[pid]->ccounter:1
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:7 ctx->ctx->PID_buffers[pid]->ccounter:1
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:7 ctx->ctx->PID_buffers[pid]->ccounter:1
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2

Note: This TS could be a recording from a Hauppage card. If no captions are detected, try --hauppauge

Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Warning: Bad packet, adaptation field too long, skipping.
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:5 ctx->ctx->PID_buffers[pid]->ccounter:1
       ctx->PID_buffers[pid]->prev_ccounter:7 ctx->ctx->PID_buffers[pid]->ccounter:1
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:13 ctx->ctx->PID_buffers[pid]->ccounter:1
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:13 ctx->ctx->PID_buffers[pid]->ccounter:1
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:13 ctx->ctx->PID_buffers[pid]->ccounter:1
Warning: Bad packet, adaptation field too long, skipping.

Premature end of file!
Done, processing time = 11 seconds

No captions were found in input.

The other fails in a similar, but different way (simplified):

Opening file: /Users/redacted/Downloads/raster.VOB
Analyzing data in general mode
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:0 ctx->ctx->PID_buffers[pid]->ccounter:1
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2

Note: This TS could be a recording from a Hauppage card. If no captions are detected, try --hauppauge

       ctx->PID_buffers[pid]->prev_ccounter:10 ctx->ctx->PID_buffers[pid]->ccounter:1
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Warning: Bad packet, adaptation field too long, skipping.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2

This TS file has more than one program. These are the program numbers found: 
1
39358
34641
41385
33771
2456
59912
13194
18293
53
35826
52192
1862
53888
42692
21513
21668
55400
59443
213
1664
11271
24868
41051
44309
6268
51373
53275
34432
35905
2546
34868
3279
28721
50752
18336
16812
28685
53409
14229
34181
345
Warning: Bad packet, adaptation field too long, skipping.
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:14 ctx->ctx->PID_buffers[pid]->ccounter:1
Please Report: Unknown table id in PMT expected 0x02 found 0xB5
Please Report: Unknown table id in PMT expected 0x02 found 0x83
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:14 ctx->ctx->PID_buffers[pid]->ccounter:1
Please Report: Unknown table id in PMT expected 0x02 found 0x75
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:6 ctx->ctx->PID_buffers[pid]->ccounter:1
Please Report: Unknown table id in PMT expected 0x02 found 0xC2
Please Report: Unknown table id in PMT expected 0x02 found 0x44
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Please Report: Unknown table id in PMT expected 0x02 found 0x7A
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Please Report: Unknown table id in PMT expected 0x02 found 0xCD
Please Report: Unknown table id in PMT expected 0x02 found 0x85
Warning: Bad packet, adaptation field too long, skipping.
Warning: Out of order packets detected for PID: 4386.
       ctx->PID_buffers[pid]->prev_ccounter:9 ctx->ctx->PID_buffers[pid]->ccounter:1
Please Report: Unknown table id in PMT expected 0x02 found 0xCD
Warning: Bad packet, adaptation field too long, skipping.
Warning: Out of order packets detected for PID: 5507.
       ctx->PID_buffers[pid]->prev_ccounter:8 ctx->ctx->PID_buffers[pid]->ccounter:1
Please Report: Unknown table id in PMT expected 0x02 found 0x85
Please Report: Unknown table id in PMT expected 0x02 found 0xA6
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:1 ctx->ctx->PID_buffers[pid]->ccounter:2
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:0 ctx->ctx->PID_buffers[pid]->ccounter:1
Warning: Out of order packets detected for PID: 0.
       ctx->PID_buffers[pid]->prev_ccounter:0 ctx->ctx->PID_buffers[pid]->ccounter:1
Please Report: Unknown table id in PMT expected 0x02 found 0x19
Please Report: Unknown table id in PMT expected 0x02 found 0x3B
Warning: Bad packet, adaptation field too long, skipping.
Warning: Out of order packets detected for PID: 4278.
       ctx->PID_buffers[pid]->prev_ccounter:15 ctx->ctx->PID_buffers[pid]->ccounter:1
Please Report: Unknown table id in PMT expected 0x02 found 0x3B
Please Report: Unknown table id in PMT expected 0x02 found 0xCB
Please Report: Unknown table id in PMT expected 0x02 found 0x8A
Please Report: Unknown table id in PMT expected 0x02 found 0x15
Please Report: Unknown table id in PMT expected 0x02 found 0x15
Warning: Bad packet, adaptation field too long, skipping.
Please Report: Unknown table id in PMT expected 0x02 found 0xDC
Warning: Bad packet, adaptation field too long, skipping.
Please Report: Unknown table id in PMT expected 0x02 found 0x0
Warning: Out of order packets detected for PID: 6948.
       ctx->PID_buffers[pid]->prev_ccounter:9 ctx->ctx->PID_buffers[pid]->ccounter:1
Please Report: Unknown table id in PMT expected 0x02 found 0x0
Warning: Out of order packets detected for PID: 1860.
       ctx->PID_buffers[pid]->prev_ccounter:11 ctx->ctx->PID_buffers[pid]->ccounter:1
Please Report: Unknown table id in PMT expected 0x02 found 0x8A
Please Report: Unknown table id in PMT expected 0x02 found 0x19
Segmentation fault: 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant