imscED is an editor for the subtitles and caption format IMSC. It shows how imscJS from Pierre Lemieux can be used to manipulate style attributes from an parsed IMSC document and how to export it back to XML.
Note that this project is a pre-alpha release for developer review. It is a prototype in development and can change at any time. The code does not represent a public API.
Therefore it is not ready for production and use it at your own risk.
You can trial the latest build at:
http://subtitling.irt.de/imsced/
See below for some of the important restrictions.
It is possible to add and remove a <p>
element
(refered to as subtitle block).
It is possible to add and remove subtitle lines by
inserting a <br>
element and a new <span>
element.
It is not possible to add an additional <span>
element
on a subtitle line.
p
elements.ttp:timeBase
, ttp:frameRate
etc.) cannot be changed.tts:origin
and tts:extent
are specified for a <region>
.tts:position
is used instead of tts:origin
dynamic positioning and resizing will not work.See below for the current style attribute support:
Style Attribute |
---|
backgroundColor |
color |
direction |
display |
displayAlign |
extent |
forcedDisplay |
fillLineGap |
fontFamily |
fontSize |
fontStyle |
fontWeight |
lineHeight |
multiRowAlign |
opacity |
origin |
ruby |
rubyAlign |
rubyPosition |
shear |
showBackground |
textAlign |
textShadow |
unicodeBidi |
visibility |
wrapOption |
writingMode |
The Subtitling Conversion Framework (SCF) is used as a REST service to import SRT and EBU STL files. At the moment a public URL for this REST service is configured. See the Service README of the SCF project how to setup your own SCF service.
The Video Image Burner (VIB) is used as a REST service to "burn in" IMSC subtitles. This option is deactivated by default. You need to setup your own VIB service, before activating this option in the configuration menu of the editor. See the README of the VIB project for more information.
To be used by imscED, the service needs to available at http://localhost:9010.
A custom settings file can be added to the build process. This file is separated from the imscED repository. It is stored in a "custom" folder. This folder is ignored by this git repository. This way custom settings and other files can be maintained by the user in a seperate, user-specific repository.
To enable this customization feature the file .env.local
needs to be added to the root directory.
touch .env.local
The content of the file needs to be as follows:
VUE_APP_CUSTOMSETTINGS = true
Note: It is possible to use the
.env
file in the root directory as blueprint and to rename it into.env.local
Then a custom folder needs to be added to the root directory with a file named customSettings.json
.
mkdir custom
touch custom/customSettings.json
The custom settings file need to have the following structure:
{
"charsPerLine": 37,
"lang": "de",
"maxLinesPerST": 2,
"minStDuration": 1,
"readingSpeed": 14,
"showHints": "show",
"showVisualization": "show"
}
Values can be adapted to the user requirements.
Currently, only the following settings can be changed:
To get the settings into effect the project need to be rebuild (i.e. the development server needs to be restarted).
If you want to ...
... then we are looking forward to your comments on the project's issue tracker.
Note that imscEd is in pre-alpha status and not stable. Therefore we do not expect any pull requests or code contribution yet.
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run serve
# build for production with minification
npm run build
# You need to copy the content of the dist directory
# to your production environment
Maintainer: Andreas Tai (IRT)
Development: Michaela Finger (IRT), Yury Lungantsov (IRT), Andreas Tai (IRT)
UI Concept: Laura Ehlis (IRT), Michaela Finger (IRT)
Requirements: Laura Ehlis (IRT), Andreas Tai (IRT) and Rico Zimmermann (IRT)
Parts of imscED were developed in the project dwerft - linked metadata for media (www.dwerft.de).
dwerft - linked metadata for media is a research and development project for innovative media tech solutions by different media and IT companies located at the renowned area of Babelsberg.
The project is funded by Bundesministerium für Bildung und Forschung and Innovative regionale Wachstumskerne PLUS.