mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-14 05:25:44 +00:00
[BUG] Two output files produced when using sects option and ttxt output format #710
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dcwar on GitHub (Aug 3, 2022).
CCExtractor version: {0.94}
In raising this issue, I confirm the following:
Necessary information
ccextractor INPUT.ts -in=ts -out=ttxt -sects -o OUTPUT.txtVideo links
Additional information
When making timed text transcripts with the -sects option from ATSC 1.0 broadcasts, CCextractor will not only produce an OUTPUT.txt file, it will also produce an OUTPUT.pX.svcYY file, where X and YY are numbers derived from the input file. That second transcript contains the same source information, but expressed in a different output format / presentation.
In this respect, CCextractor's unexpected production of a second, non-specified file has changed between 0.88 and 0.94, and seems neither expected or correct.
@PunitLodha commented on GitHub (Aug 22, 2022):
The file with
.pX.svcYYextension is for CEA 708 subtitles, and the other one is for CEA 608 subtitles.Earlier, 708 subs were extracted only if the
-svcflag was passed. In 0.94, this behavior was changed and both 708 and 608 subs are extracted by default, as mentioned in the change log here, https://github.com/CCExtractor/ccextractor/blob/master/docs/CHANGES.TXT#L14Though I can understand, the changelog isn't clear that 2 files will be produced by default.
@PunitLodha commented on GitHub (Aug 22, 2022):
This is how it works now,
-svcand field 1(i.e. 608)-1are enabled by defaultI'll add this information maybe in the changelog, or the
ccextractor --helpcommand@dcwar commented on GitHub (Aug 22, 2022):
Thank you for the clarifications about the changes in ccextractor's operation. I greatly appreciate it.
Since extracting both 608 and 708 by default is a fundamental change to how ccextractor operates, and is completely unexpected behavior when compared to the operation of previous versions, it would seem wise to add this information to the usage information (both in the --help output, and elsewhere). The single line in the changelog doesn't really address the full extent and magnitude of this set of changes.
@cfsmp3 commented on GitHub (Dec 31, 2025):
Closing this there's no action pending here.