CCExtractor version: 0.94
Necessary information
- Is this a regression (i.e. did it work before)? NO
- What platform did you use? Linux
- What were the used arguments?
./ccextractor --timestamp-map --out=webvtt output_clean.ts
Description
Current Behavior: When there are no subtitles in the .ts file, the tool (CCExtractor) produces an empty .webvtt file ,
i.e no X-TIMESTAMP-MAP header is produced . This is expected behavior, as no subtitles are present.
Desired Behavior: To add a default X-TIMESTAMP-MAP header in the .webvtt file even when no subtitles are present,
i.e X-TIMESTAMP-MAP=MPEGTS:0,LOCAL:00:00:00.000.
This would ensure that the .webvtt file is consistently formatted, even when there are no subtitles present, which is necessary for HLS stream compatibility.