Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

--tpages-all extracts less than --tpage

Open
#2,355 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@SajalDevX is already working on this.

Since Sep 25, 2026.

  • #2356 by @SajalDevX — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
c
Domain
cli, tooling

Research direction

Look at the teletext subtitle extraction logic, particularly the handling of --tpages-all versus --tpage. Start by examining the command-line parsing and teletext processing code. Run the provided test commands to reproduce the issue, then trace through the extraction flow to see where subtitles are being dropped in the all-pages mode.

Written by the indexing model from the issue text.

Description

Hi,
When I extract teletext subtitles from a TS file, --tpages-all extracts less subtitles than --tpage.
Example:

for i in 150 151 888;do ccextractor --teletext --tpage $i test.ts -o subs-$i.srt; done
ccextractor --teletext --tpages-all test.ts -o subs-all.srt
wc -l subs*srt

Output:

  638 subs-150.srt
  412 subs-151.srt
  338 subs-all_p150.srt
  255 subs-all_p151.srt
  186 subs-all_p888.srt

How could I get all subtitles with --tpages-all please?

TIA, Peter

Dominant language
C
Stars
901
Forks
592
Avg merge
7d 23h
Merged PRs (30d)
11

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CCExtractor/ccextractor

All issues in CCExtractor/ccextractor

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.