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

Closed
opened 2026-01-29 16:53:04 +00:00 by claunia · 4 comments
Owner

Originally created by @colemank1 on GitHub (Apr 14, 2023).

CCExtractor version: 0.94

In raising this issue, I confirm the following:

  • 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)? {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

Originally created by @colemank1 on GitHub (Apr 14, 2023). CCExtractor version: 0.94 # In raising this issue, I confirm the following: - [x] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md). - [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](https://github.com/CCExtractor/ccextractor/issues?q=is%3Aissue+is%3Aclosed) and in [opened issues](https://github.com/CCExtractor/ccextractor/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
Author
Owner

@cfsmp3 commented on GitHub (Apr 14, 2023):

Please share a direct link to the specific file. I got a shared folder that doesn't open (somehow it redirects to my own trash).

@cfsmp3 commented on GitHub (Apr 14, 2023): Please share a direct link to the specific file. I got a shared folder that doesn't open (somehow it redirects to my own trash).
Author
Owner

@colemank1 commented on GitHub (Apr 14, 2023):

Apologies. After sharing the file, I deleted it from the folder. The reason
being that I was continuing to troubleshoot, and I noticed a very
frightening legal warning in the file, stating that it is strictly
prohibited to redistribute the content in any form.

I will attempt to reproduce the error with a different input file - one
that doesn't have such a strict set of restrictions. Once I've verified
that it's reproductible, I will send you the new file.

Thanks,
Coleman Kintop

Jr. IT Administrator

Information Technology | 3Play Media Canada
[image: mobilePhone] 403-286-9696 | 403-880-4958
[image: emailAddress] @.***
[image: website] 3playmedia.ca
[image: address] 1909 10 AVE SW, Calgary, AB T3C 0K3, Canada

On Fri, Apr 14, 2023 at 2:25 PM Carlos Fernandez Sanz <
@.***> wrote:

Please share a direct link to the specific file. I got a shared folder
that doesn't open (somehow it redirects to my own trash).


Reply to this email directly, view it on GitHub
https://github.com/CCExtractor/ccextractor/issues/1532#issuecomment-1509212756,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3C4IH2UFZVD6NBRS43SQT3XBGXDLANCNFSM6AAAAAAW5XGBNY
.
You are receiving this because you authored the thread.Message ID:
@.***>

@colemank1 commented on GitHub (Apr 14, 2023): Apologies. After sharing the file, I deleted it from the folder. The reason being that I was continuing to troubleshoot, and I noticed a very frightening legal warning in the file, stating that it is strictly prohibited to redistribute the content in any form. I will attempt to reproduce the error with a different input file - one that doesn't have such a strict set of restrictions. Once I've verified that it's reproductible, I will send you the new file. Thanks, Coleman Kintop Jr. IT Administrator Information Technology | 3Play Media Canada [image: mobilePhone] 403-286-9696 | 403-880-4958 [image: emailAddress] ***@***.*** [image: website] 3playmedia.ca [image: address] 1909 10 AVE SW, Calgary, AB T3C 0K3, Canada On Fri, Apr 14, 2023 at 2:25 PM Carlos Fernandez Sanz < ***@***.***> wrote: > Please share a direct link to the specific file. I got a shared folder > that doesn't open (somehow it redirects to my own trash). > > — > Reply to this email directly, view it on GitHub > <https://github.com/CCExtractor/ccextractor/issues/1532#issuecomment-1509212756>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/A3C4IH2UFZVD6NBRS43SQT3XBGXDLANCNFSM6AAAAAAW5XGBNY> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@intuol commented on GitHub (May 13, 2023):

This has been a problem for awhile with the newest version. Either get the old GUI "0.89" or a slightly older version "https://github.com/CCExtractor/ccextractor/releases/tag/v0.90"

@intuol commented on GitHub (May 13, 2023): This has been a problem for awhile with the newest version. Either get the old GUI "[0.89](https://github.com/CCExtractor/ccextractor/releases/tag/v0.89)" or a slightly older version "https://github.com/CCExtractor/ccextractor/releases/tag/v0.90"
Author
Owner

@cfsmp3 commented on GitHub (Dec 20, 2025):

Closing because there's no video sample

@cfsmp3 commented on GitHub (Dec 20, 2025): Closing because there's no video sample
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#765