Skip to content

Add GXF sample file with subtitles for testing#2066

Closed
mohithshuka wants to merge 1 commit intoCCExtractor:masterfrom
mohithshuka:add-gxf-sample
Closed

Add GXF sample file with subtitles for testing#2066
mohithshuka wants to merge 1 commit intoCCExtractor:masterfrom
mohithshuka:add-gxf-sample

Conversation

@mohithshuka
Copy link
Copy Markdown

@mohithshuka mohithshuka commented Jan 27, 2026

  • Added sample_with_subtitles.gxf (SMPTE 360M compliant)
  • Added generator script create_gxf_sample.py
  • Added documentation README.md
  • Sample contains CEA-608 closed captions
  • Addresses issue [REQUEST]GXF Sample #1748

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.
  • I have mentioned this change in the changelog.

My familiarity with the project is as follows (check one):

  • I have never used CCExtractor.
  • I have used CCExtractor just a couple of times.
  • I absolutely love CCExtractor, but have not contributed previously.
  • I am an active contributor to CCExtractor.

{pull request content here}

- Added sample_with_subtitles.gxf (SMPTE 360M compliant)
- Added generator script create_gxf_sample.py
- Added documentation README.md
- Sample contains CEA-608 closed captions
- Addresses issue #1748
@mohithshuka
Copy link
Copy Markdown
Author

Hi! I've added a GXF sample file with embedded CEA-608 subtitles for testing CCExtractor.

Files included:

  • sample_with_subtitles.gxf - A valid SMPTE 360M compliant GXF file (247 KB)
  • create_gxf_sample.py - Python script to generate the sample
  • README.md - Complete documentation

Sample specifications:

  • Format: GXF (SMPTE 360M)
  • Subtitle format: CEA-608 closed captions
  • Caption text: "Hello, World!"
  • Duration: ~2 seconds

The sample can be tested with:
ccextractor docs/samples/gxf/sample_with_subtitles.gxf -o output.srt

This addresses issue #1748. Please let me know if you need any modifications or additional samples!

@cfsmp3
Copy link
Copy Markdown
Contributor

cfsmp3 commented Jan 31, 2026

Closing this PR due to issues:

  1. Empty PR description: No explanation of what this PR does or why it's needed.

  2. Binary file in repo: Adding binary sample files (.gxf) directly to the repository is not the right approach. Sample files should be hosted on the CCExtractor sample platform (https://sampleplatform.ccextractor.org/), not committed to the git repository.

  3. Generated content: The PR includes a Python script to "create" a GXF sample - if the sample is generated/synthetic, it may not represent real-world GXF files with subtitles.

If you have real GXF sample files with subtitles, please upload them to the sample platform instead.

@cfsmp3 cfsmp3 closed this Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants