mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[BUG] Output Type webvtt prints styling #486
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 @ggnull35 on GitHub (Feb 22, 2019).
Please prefix your issue with one of the following: [BUG], [PROPOSAL], [QUESTION].
CCExtractor version (using the --version parameter preferably) : git master
In raising this issue, I confirm the following (please check boxes, eg [X] - and delete unchecked ones):
My familiarity with the project is as follows (check one, eg [X] - and delete unchecked ones):
Necessary information
-autoprogram**Video links (replace text below with your links) **
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
{issue content here, replace this line with your issue content}
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.
This command prints styling:
ccextractorwinfull.exe -stdout -ff -webvtt -quant 0 -noru -trim -lf -nots -nobom -nofc -quiet c:\Users\ASUS\Desktop\ScreenHD60sec_ENG.ts
Normally webvtt-full should be printing styling, not webvtt. They have both same output.
C:\Tools\ccextractor\windows\Debug-Full>ccextractorwinfull.exe -stdout -ff -webvtt -quant 0 -noru -trim -lf -nots -nobom -nofc -quiet c:\Users\ASUS\Desktop\ScreenHD60sec_ENG.ts
WEBVTT
STYLE
/* default values /
::cue {
line-height: 5.33vh;
font-size: 4.1vh;
font-family: monospace;
font-style: normal;
font-weight: normal;
background-color: black;
color: white;
}
/ special cue parts /
::cue(c.transparent) {
color: transparent;
}
/ need to set this before changing color, otherwise the color is lost /
::cue(c.semi-transparent) {
color: rgba(0, 0, 0, 0.5);
}
/ need to set this before changing color, otherwise the color is lost /
::cue(c.opaque) {
color: rgba(0, 0, 0, 1);
}
::cue(c.blink) {
text-decoration: blink;
}
::cue(c.white) {
color: white;
}
::cue(c.red) {
color: red;
}
::cue(c.green) {
color: lime;
}
::cue(c.blue) {
color: blue;
}
::cue(c.cyan) {
color: cyan;
}
::cue(c.yellow) {
color: yellow;
}
::cue(c.magenta) {
color: magenta;
}
::cue(c.bg_transparent) {
background-color: transparent;
}
/ need to set this before changing color, otherwise the color is lost /
::cue(c.bg_semi-transparent) {
background-color: rgba(0, 0, 0, 0.5);
}
/ need to set this before changing color, otherwise the color is lost /
::cue(c.bg_opaque) {
background-color: rgba(0, 0, 0, 1);
}
::cue(c.bg_white) {
background-color: white;
}
::cue(c.bg_green) {
background-color: lime;
}
::cue(c.bg_blue) {
background-color: blue;
}
::cue(c.bg_cyan) {
background-color: cyan;
}
::cue(c.bg_red) {
background-color: red;
}
::cue(c.bg_yellow) {
background-color: yellow;
}
::cue(c.bg_magenta) {
background-color: magenta;
}
::cue(c.bg_black) {
background-color: black;
}
/ Examples of combined colors */
::cue(c.bg_white.bg_semi-transparent) {
background-color: rgba(255, 255, 255, 0.5);
}
::cue(c.bg_green.bg_semi-transparent) {
background-color: rgba(0, 256, 0, 0.5);
}
::cue(c.bg_blue.bg_semi-transparent) {
background-color: rgba(0, 0, 255, 0.5);
}
::cue(c.bg_cyan.bg_semi-transparent) {
background-color: rgba(0, 255, 255, 0.5);
}
::cue(c.bg_red.bg_semi-transparent) {
background-color: rgba(255, 0, 0, 0.5);
}
::cue(c.bg_yellow.bg_semi-transparent) {
background-color: rgba(255, 255, 0, 0.5);
}
::cue(c.bg_magenta.bg_semi-transparent) {
background-color: rgba(255, 0, 255, 0.5);
}
::cue(c.bg_black.bg_semi-transparent) {
background-color: rgba(0, 0, 0, 0.5);
}
X-TIMESTAMP-MAP=MPEGTS:65442, LOCAL 00:00:00.000
00:00:10.000 --> 00:00:14.479
You are watching high-quality subtitles
from Screen Subtitling Systems.
00:00:14.600 --> 00:00:19.079
Screen products cover everything from
off-line subtitle preparation systems
00:00:19.200 --> 00:00:22.679
to mu|ti-|anguage, multi-channel,
fully automated transmission solutions.
00:00:22.800 --> 00:00:26.279
Our highly innovative product range
evolves constantly,
00:00:26.400 --> 00:00:30.399
giving our clients
the commercial advantage they need
00:00:30.520 --> 00:00:32.999
in today's highly competitive marketplace.
00:00:33.120 --> 00:00:38.599
Screen is committed to providing
the very best customer service -
00:00:38.720 --> 00:00:44.719
all our products are supported by a
dedicated 24-hour customer support team.