mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
[BUG] X-TIMESTAMP-MAP doesn't show up with DVB subs #542
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 @NilsIrl on GitHub (Jan 1, 2020).
CCExtractor version: 0.88
My familiarity with the project is as follows (check one, eg [X] - and delete unchecked ones):
Necessary information
arguments:
Video link: http://akini.mbnet.fi/videos/test1_dvbsub.ts
Related to #1127 in goal though they have different "symptoms" and arise in different cases.
@NilsIrl commented on GitHub (Jan 1, 2020):
Info for some who wants to fix it:
This is the line that calls the function that adds the header (as well as the subtitles) when the input file isn't dvb:
3a1815163f/src/lib_ccx/ccx_encoders_common.c (L1160)This is the line that calls the function that doesn't do that:
3a1815163f/src/lib_ccx/ccx_encoders_common.c (L1220)So you basically want to second line to the the same thing as the first line. Feel free to ask more information if my instructions are unclear.
@NilsIrl commented on GitHub (Jan 1, 2020):
This is the line in
write_cc_buffer_as_webvttthat adds the header:3a1815163f/src/lib_ccx/ccx_encoders_webvtt.c (L281)You want this line to be called in
write_cc_bitmap_as_webvtt@karansdoshi commented on GitHub (Jan 8, 2020):
Hello I am a newbie and I'm interested in solving this issue.Both the functions have the line write_webvtt_header(context) with the same context.What exactly is the issue?Can you elaborate about buffer and bitmap at bit.
tess.log
test1_dvbsub.zip
This TS file has more than one program. These are the program numbers found:
1501
1502
1503
fin.traineddata not found! Switching to English
VBI/teletext stream ID 5100 (0x13ec) for SID 1503 (0x5df)
Premature end of file - Transport Stream packet is incomplete (expected 188 bytes, got 92).
100% | 03:41
Number of NAL_type_7: 0
Number of VCL_HRD: 0
Number of NAL HRD: 0
Number of jump-in-frames: 0
Number of num_unexpected_sei_length: 0
Min PTS: 21:54:50:849
Max PTS: 21:58:32:650
Length: 00:03:41:801
Done, processing time = 35 seconds
I am not getting the reason behind premature end.Thanks
@NilsIrl commented on GitHub (Jan 22, 2020):
Looking back at the code, I think this might be solved by #1137 (if it ever gets merged).
@anshravalll commented on GitHub (Apr 2, 2024):
I believe this issue has been resolved due to the introduction of #1464. Anybody can easily attach the X-TIMESTAMP-MAP by utilizing the --timestamp-map option.
@AbHash-RixE commented on GitHub (Aug 17, 2025):
@NilsIrl — this issue appears to be resolved by #1464, as @anshravalll pointed out.
To include the X-TIMESTAMP-MAP in the generated WebVTT file, you can use the following command:
Here, 0x69 is the PID (Packet Identifier) for the DVB subtitle stream in File_name.ts
@jnakaigen commented on GitHub (Dec 20, 2025):
Hi, I wanted to verify if this is still reproducible, but the sample link (akini.mbnet.fi) is dead (NXDOMAIN). Does anyone have a backup of test1_dvbsub.ts or should we check if this sample exists on the Sample Platform? If the sample is lost, can we close this as 'cannot reproduce'?
@cfsmp3 commented on GitHub (Dec 21, 2025):
I don't think it's exist on the SP - let's close the ticket since it sounds like it might be solved already anyway.