mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-16 13:35:45 +00:00
How to keep metadata when exporting to SRT files? #701
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 @vega69-ux on GitHub (Apr 25, 2022).
Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].
To get the version of CCExtractor, you can use
--version.If this issue is related to the flutter GUI, please make the issue on the GUI repo here
Please check all that apply and remove the ones that do not.
In the necessary information section, if this is a regression (something that used to work does not work anymore), make sure to specify the last known working version.
Only specify the minimum number of arguments needed to reproduce the issue.
In the additional information section, describe your problem.
Please make the affected input file available for us (no screenshots, those don't help!). Public links to Dropbox, Google Drive, etc, are all fine. If it is not possible to make it available publicly, send us a private invitation (both Dropbox and Google Drive allow that). In this case we will download the file and upload it to the private developer repository. Methods to send the private invitation to us can be found here.
Do not upload your file to any location that will require us to sign up or endure a wait list, slow downloads, etc. If your upload expires make sure you keep it active somehow (replace links if needed). Keep in mind that while we go over all tickets some may take a few days, and it's important we have the file available when we actually need it.
Make sure to enable notifications in GitHub so you get notifications about your ticket. We may need to ask questions and we do everything inside GitHub's system.
Once you have read all of the instructions delete all the text from here to the top.
CCExtractor version: {replace with the version}
In raising this issue, I confirm the following:
Necessary information
Not sure.
Windows
{replace with the arguments}None
Video links
Additional information
{issue content here, replace this line with your issue content}
I have a mp4 file with many different languages. I believe they're TTML subtitles remuxed into a mp4 file. Is there a way for ccextrator to extract to srt files but be able to keep the metadata of the different languages in the srt files? In VLC, instead of saying "English" or "Spanish" it says "Track 1" or "Track 2". I would like to have the names of the different languages instead of "Track 1" or "Track 2". Is this possible?
@cfsmp3 commented on GitHub (Dec 26, 2025):
SRT format doesn't support embedded language metadata - it's a plain text format with just timing and text.
Options for handling multi-language files:
--autoprogramto let CCExtractor automatically select programs-pn <program_number>and name your output files accordingly (e.g.,output_english.srt,output_spanish.srt)--out=ttmlif you need to preserve the original TTML metadata--out=reportfirst to see what tracks/languages are detectedThe "Track 1"/"Track 2" issue in VLC is typically because the source file doesn't have proper language tags in its metadata - that's not something CCExtractor can fix during extraction.
If you need language-aware output with metadata, consider using TTML or WebVTT output formats instead of SRT.
Closing as this is a limitation of the SRT format itself, not a CCExtractor issue.