mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
[BUG] subtitles extract but no delay added #332
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 @tjmorris11 on GitHub (Sep 26, 2017).
Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].
CCExtractor version (using the --version parameter preferably) : X.X
In raising this issue, I confirm the following (please check boxes, eg [X]):
My familiarity with the project is as follows (check one, eg [X]):
Necessary information
Video links
https://www.dropbox.com/s/omar8vkh6ncgeq1/Judge%20Judy%29.ts?dl=0
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.
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.
Additional information
--version .85b , even happens with CCExtractorGUI --- subtitles extract OK.... but options not working -- when using the GUI, i set a delay but there is no change in the timings of the srt...
have uploaded .TS file that I used
PS: Make sure you set an alert in GitHub so you get notifications about your ticket. We may need to ask questions and we do everything inside GitHub's system.
@Hallikas commented on GitHub (Dec 3, 2017):
I can confirm this. Delay parameter does not seem to work.
$ ccextractor -delay 1400 -gt -utf8 -dvblang fin -noteletext -nocodec teletext -nodvbcolor --nofontcolor --notypesetting -trim -srt ts-stream-with-single-subs.ts -o output.srt
CCExtractor 0.85, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
Input: ts-stream-with-single-subs.ts
[Extract: 1] [Stream mode: Autodetect]
[Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto]
[Timing mode: GOP (forced)] [Debug: No] [Buffer input: No]
[Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No]
[Target format: .srt] [Encoding: UTF-8] [Delay: 1400] [Trim lines: Yes]
[Add font color data: No] [Add font typesetting: No]
[Convert case: No] [Video-edit join: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
[Live stream: No] [Clock frequency: 90000]
[Teletext page: Autodetect]
[Start credits text: None]
Opening file: ts-stream-with-single-subs.ts
File seems to be a transport stream, enabling TS mode
Analyzing data in general mode
Creating output.srt
1% | 00:33^C
$ head -2 *.srt
1
00:00:00,124 --> 00:00:03,569
$
I think that start time should be 00:00:01,524 instead of 0,124 ? ... This is same value as I do without delay parameter. Also I have tried with way bigger values, and I have tried to put -delay just before input file.
@cfsmp3 commented on GitHub (Dec 5, 2017):
Fixed, reopen if the issue appears again.
@tjmorris11 commented on GitHub (Dec 5, 2017):
@saurabhshri commented on GitHub (Dec 5, 2017):
@tjmorris11 I just tested with the sample you've attached, and the delay parameter just worked fine. Here are the outputs :
./ccextractor Judge\ Judy\).ts./ccextractor Judge\ Judy\).ts -delay 1111Could you please tell the exact parameters you are using to set the delay?
@Hallikas commented on GitHub (Dec 5, 2017):
I have that same problem. I have TS file with subtitles, that TS has delay itself, but ccextractor does not see that. That's why I need to add manual delay.
$ ffprobe Outlander_-Matkantekijä(16)20171129_2135.subs.ts
ffprobe version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2007-2017 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
Input #0, mpegts, from 'Outlander-Matkantekijä(16)_20171129_2135.subs.ts':
Duration: 00:53:34.20, start: 144.786122, bitrate: 10 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:00x403: Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
$ mediainfo Outlander_-Matkantekijä(16)20171129_2135.subs.ts
General
ID : 1 (0x1)
Complete name : Outlander-Matkantekijä(16)_20171129_2135.subs.ts
Format : MPEG-TS
File size : 4.14 MiB
Duration : 53mn 34s
Overall bit rate mode : Variable
Overall bit rate : 10.8 Kbps
Text
ID : 1027 (0x403)
Menu ID : 1 (0x1)
Format : DVB Subtitle
Codec ID : 6
Duration : 53mn 34s
Language : Finnish
Menu
ID : 4096 (0x1000)
Menu ID : 1 (0x1)
Duration : 53mn 34s
List : 1027 (0x403) (DVB Subtitle, Finnish)
Language : Finnish
Service name : Service01
Service provider : FFmpeg
Service type : digital television
$ ccextractor -debug -delay 14478 -gt -utf8 -dvblang fin -noteletext -nocodec teletext -nodvbcolor --nofontcolor --notypesetting -trim -srt Outlander_-Matkantekijä(16)_20171129_2135.subs.ts -o _subs -debugdvbsub CCExtractor 0.85, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
Input: Outlander_-Matkantekijä(16)_20171129_2135.subs.ts
[Extract: 1] [Stream mode: Autodetect]
[Program : Auto ] [Hauppage mode: No] [Use MythTV code: Auto]
[Timing mode: GOP (forced)] [Debug: Yes] [Buffer input: No]
[Use pic_order_cnt_lsb for H.264: No] [Print CC decoder traces: No]
[Target format: .srt] [Encoding: UTF-8] [Delay: 14478] [Trim lines: Yes]
[Add font color data: No] [Add font typesetting: No]
[Convert case: No] [Video-edit join: No]
[Extraction start time: not set (from start)]
[Extraction end time: not set (to end)]
[Live stream: No] [Clock frequency: 90000]
[Teletext page: Autodetect]
[Start credits text: None]
Opening file: Outlander_-Matkantekijä(16)_20171129_2135.subs.ts
File seems to be a transport stream, enabling TS mode
Analyzing data in general mode
1027 | 6 ( 6) | MPEG-2 private data
DVBSUB - LANGUAGE "fin" FOUND
MPEG-2 private data stream [0x06] - PID: 1027
PES header length: 14 (14 verified) Data length: 11
DVBSUB - PTS: 13030751, FTS: 0, SEGMENT TYPE: 16, SEGMENT LENGTH: 2, PAGE STATE 1
0% | 00:01
PES header length: 14 (14 verified) Data length: 2827
DVBSUB - PTS: 13149587, FTS: 1320, SEGMENT TYPE: 16, SEGMENT LENGTH: 8, PAGE STATE 2, REGION 0 ADDED
DVBSUB - PTS: 13149587, FTS: 1320, SEGMENT TYPE: 17, SEGMENT LENGTH: 16, REGION 0 WIDTH: 270, REGION 0 HEIGHT: 54
^C
$ head _subs
1
00:00:01,320 --> 00:00:01,599
Aiemmin... - Isä!
2
00:00:01,600 --> 00:00:04,039
Kuka tuo nainen on?
... And it does not matter what ever value I put on -delay
ccextractor --version
CCExtractor 0.85, Carlos Fernandez Sanz, Volker Quetschke.
Teletext portions taken from Petr Kutalek's telxcc
CCExtractor detailed version info
Version: 0.85
Git commit:
c78db1dd24Compilation date: 2017-12-05
File SHA256: 93b86ab0dd11ab239ae3243e7cf35d36506a5354382b4216e2ecd4f743387d60
@cfsmp3 commented on GitHub (Dec 5, 2017):
@harrynull can you check it out? Most likely the delay needs to be added to a different branch of code as well - specifically, the DVB (that's European subtitles) one.
@harrynull commented on GitHub (Dec 5, 2017):
@cfsmp3 I'll check.
@tjmorris11 commented on GitHub (Dec 6, 2017):
00:31:37,120 --> 00:31:39,439
You'll notice when you do this that
the texture of the onions changes
00:31:38,231 --> 00:31:40,550
You'll notice when you do this that
the texture of the onions changes
@tjmorris11 commented on GitHub (Dec 6, 2017):
of my Tv recording(including Judge judy --testing purposes)
does not work for ccextractor cli and gui
@cfsmp3 commented on GitHub (Dec 8, 2017):
Yes, please open a new ticket if it's a different issue, thanks.
On Tue, Dec 5, 2017 at 11:23 PM, tjmorris11 notifications@github.com
wrote: