ccextractor icon indicating copy to clipboard operation
ccextractor copied to clipboard

[BUG] Extracting from .ts files results in empty .srt

Open colemank1 opened this issue 1 year ago • 3 comments

CCExtractor version: 0.94

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

  • Is this a regression (i.e. did it work before)? {YES/NO} Supposedly it was fixed in 2017. I do not know what the version would have been at that time.
  • What platform did you use? {Window/Linux/Mac} Windows
  • What were the used arguments? ccextractor -autoprogram + [input file]

Video links

Sending privately via email.

Additional information

Hello,

I am using version 0.94 to try and extract embedded captions from a .ts file.

Here is what happens in the Log when I attempt to extract the captions:

CCExtractor 0.94, Carlos Fernandez Sanz, Volker Quetschke.

Teletext portions taken from Petr Katulek's telxcc


Input: [redacted]\video.ts [Extract: 1] [Stream mode: Autodetect] [Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto] [CEA-708: 63 decoders active] [CEA-708: using charset "none" for all services] [Timing mode: Auto] [Debug: No] [Buffer input: Yes] [Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No] [Target format: .srt] [Encoding: UTF-8] [Delay: 0] [Trim lines: No] [Add font color data: Yes] [Add font typesetting: Yes] [Convert case: No][Filter profanity: No] [Video-edit join: No] [Extraction start time: not set (from start)] [Extraction end time: not set (to end)] [Live stream: No] [Clock frequency: 90000] [Teletext page: Autodetect] [Start credits text: None] [Quantisation-mode: CCExtractor's internal function]


Opening file: [redacted]\video.ts

File seems to be a transport stream, enabling TS mode

Analyzing data in general mode

Found large gap(3438144) in PTS! Tring to recover ...

Found large gap(3438145) in PTS! Tring to recover ...

Found large gap(3438152) in PTS! Tring to recover ...

Found large gap(3438153) in PTS! Tring to recover ...

Found large gap(3438148) in PTS! Tring to recover ...

Found large gap(3438149) in PTS! Tring to recover ...

Found large gap(3438146) in PTS! Tring to recover ...

Found large gap(3438147) in PTS! Tring to recover ...

Found large gap(3438150) in PTS! Tring to recover ...

Found large gap(3438151) in PTS! Tring to recover ...


This issue looks very similar to issue #752. I can load with video with VLC and get captions to show up without any problems.

I will be sending the input file to you privately.

Thank you, Coleman

colemank1 avatar Apr 13 '23 23:04 colemank1