[PR #57] [MERGED] Custom transcript settings #947

Open
opened 2026-01-29 16:57:34 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/57
Author: @canihavesomecoffee
Created: 7/1/2014
Status: Merged
Merged: 7/1/2014
Merged by: @cfsmp3

Base: masterHead: clean-custom-ttxt


📝 Commits (8)

📊 Changes

8 files changed (+499 additions, -369 deletions)

View changed files

📝 docs/CHANGES.TXT (+1 -0)
📝 src/608.c (+66 -64)
📝 src/ccextractor.c (+16 -4)
📝 src/ccextractor.h (+18 -4)
📝 src/params.c (+69 -4)
📝 src/telxcc.c (+14 -6)
📝 src/xds.c (+53 -43)
📝 windows/ccextractor.vcxproj.filters (+262 -244)

📄 Description

This adds support for a custom transcript saving.

Users can now use -customtxt {format} to obtain a customised transcript. Format is a 7 digit (e.g. 1100100) string, representing (in order):

  • Display start time
  • Display end time
  • Display caption mode
  • Display caption channel
  • Use a relative timestamp ( relative to the sample)
  • Display XDS info
  • Use colors

Default settings are:
0000101 for plain transcripts (only text)
1110101 for timed transcripts (times, mode + text at relative timestamp)
1111001 for the UCLA project (times, mode, channel + text at absolute timestamp)

Some examples of the output:
ss 2014-07-01 at 09 54 06
ss 2014-07-01 at 09 54 47
ss 2014-07-01 at 09 55 16
ss 2014-07-01 at 09 55 41
ss 2014-07-01 at 09 56 14

Fixes #15


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/57 **Author:** [@canihavesomecoffee](https://github.com/canihavesomecoffee) **Created:** 7/1/2014 **Status:** ✅ Merged **Merged:** 7/1/2014 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `clean-custom-ttxt` --- ### 📝 Commits (8) - [`f4f006c`](https://github.com/CCExtractor/ccextractor/commit/f4f006c0e81433e8d2f5ba15623aa7a9dc2289d5) Project filter - [`6a7e5b4`](https://github.com/CCExtractor/ccextractor/commit/6a7e5b4a34bb7bd2103140d8aec7011f04b0f52c) Merge pull request #3 from wforums/mp4 - [`8204108`](https://github.com/CCExtractor/ccextractor/commit/82041086b4092cd9ef97a1f22c0e3e26c1e099fe) First attempt - [`0d46334`](https://github.com/CCExtractor/ccextractor/commit/0d463342f3a487949af1a069ed19c1e98d5dfe6d) ttxt cont - [`a0f9387`](https://github.com/CCExtractor/ccextractor/commit/a0f938788972a540ce06a9f946777422d99d3f63) Custom TTXT - [`c258207`](https://github.com/CCExtractor/ccextractor/commit/c258207e4fa83be13b17adfd26d77ad92b8bc2e3) Finished Custom TTXT - [`4619344`](https://github.com/CCExtractor/ccextractor/commit/46193445c34f0b8eef9a067ac7197ba909fa8208) Small change - [`d1add49`](https://github.com/CCExtractor/ccextractor/commit/d1add49b9d0818c5b5f74fe5cfd6deea430fff16) Changes.txt updated ### 📊 Changes **8 files changed** (+499 additions, -369 deletions) <details> <summary>View changed files</summary> 📝 `docs/CHANGES.TXT` (+1 -0) 📝 `src/608.c` (+66 -64) 📝 `src/ccextractor.c` (+16 -4) 📝 `src/ccextractor.h` (+18 -4) 📝 `src/params.c` (+69 -4) 📝 `src/telxcc.c` (+14 -6) 📝 `src/xds.c` (+53 -43) 📝 `windows/ccextractor.vcxproj.filters` (+262 -244) </details> ### 📄 Description This adds support for a custom transcript saving. Users can now use -customtxt {format} to obtain a customised transcript. Format is a 7 digit (e.g. 1100100) string, representing (in order): - Display start time - Display end time - Display caption mode - Display caption channel - Use a relative timestamp ( relative to the sample) - Display XDS info - Use colors Default settings are: 0000101 for plain transcripts (only text) 1110101 for timed transcripts (times, mode + text at relative timestamp) 1111001 for the UCLA project (times, mode, channel + text at absolute timestamp) Some examples of the output: ![ss 2014-07-01 at 09 54 06](https://cloud.githubusercontent.com/assets/7365586/3440360/368af936-00f6-11e4-8bb6-1edcc816ab6a.png) ![ss 2014-07-01 at 09 54 47](https://cloud.githubusercontent.com/assets/7365586/3440361/3695e6ac-00f6-11e4-86af-2dcf1f89b49a.png) ![ss 2014-07-01 at 09 55 16](https://cloud.githubusercontent.com/assets/7365586/3440362/36987746-00f6-11e4-8de4-5fceb5895de9.png) ![ss 2014-07-01 at 09 55 41](https://cloud.githubusercontent.com/assets/7365586/3440364/369c2210-00f6-11e4-84d0-a33bcb725121.png) ![ss 2014-07-01 at 09 56 14](https://cloud.githubusercontent.com/assets/7365586/3440363/369a12f4-00f6-11e4-8d40-f40dc1d66d48.png) Fixes #15 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 16:57:34 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#947