Upload
arron-norton
View
214
Download
0
Tags:
Embed Size (px)
Citation preview
Fosdem‘15 31.01.2015 © IRT – Tai
Open source tools for new subtitle standardsFosdem15
Andreas TaiProduction Systems Television
Fosdem‘15 31.01.2015 © IRT – Tai
Fosdem‘15 31.01.2015 © IRT – Tai
2 Academic Institutions
4 Public Broadcasters
2 Research Institutes
4 SMEs
Fosdem‘15 31.01.2015 © IRT – Tai
Fosdem‘15 31.01.2015 © IRT – Tai
Standards (Open Source) Code
Fosdem‘15 31.01.2015 © IRT – Tai
Different Subtitle Standards
TTML
EBU-TT
EBU-STL
WebVTT
Fosdem‘15 31.01.2015 © IRT – Tai
Use case format conversion
EBU-STL, binary based
EBU-TT XML Based
Fosdem‘15 31.01.2015 © IRT – Tai
Why reference implementation are so important….
A standard is only an architectural plan
… not the house!
Lyons Architects
Fosdem‘15 31.01.2015 © IRT – Tai
Why open source?
Commercial Software Open source software
Customer requests Standard conformance higher priority … possible
Attribution:[email protected]
Fosdem‘15 31.01.2015 © IRT – Tai
Subtitle Conversion Framework - SCF
https://github.com/IRT-Open-Source/scf
Fosdem‘15 31.01.2015 © IRT – Tai
SCF - „Non Functional Requirements“
- Integration - different platforms- different programming languages
- Transparency- requirements- source code
Fosdem‘15 31.01.2015 © IRT – Tai
EBU-TT-D
SCF – Functional Requirements
STL EBU-TT EBU-TT-
Basic-DE
Fosdem‘15 31.01.2015 © IRT – Tai
EBU-TT-D
SCF – Implementation
STL EBU-TT EBU-TT-Basic-DE
STL-XML
python
XSLT XSLT
XSLT
Fosdem‘15 31.01.2015 © IRT – Tai
Simple Pipeline
python stl2stlxml.py %1 > STLXML.xml
java -jar saxon9he.jar -s:STLXML.xml -xsl:STLXML2EBU-TT.xslt -o:EBU-TT.xml
java -jar saxon9he.jar -s:EBU-TT.xml -xsl:EBU-TT2EBU-TT-D.xslt offsetInSeconds=36000 o:EBU-TT-D.xml
java -jar saxon9he.jar -s:EBU-TT-D.xml -xsl:EBU-TT-D2EBU-TT-D-Basic-DE.xslt o:EBU-TT-D-Basic-DE.xml
Fosdem‘15 31.01.2015 © IRT – Tai
System Requirements
- Python 2.7 (!)- XSLT 1 Processor (+ EXSLT nodeset func)
- Saxon from 6.5.5- libxslt- Xalan- Web Browser
Fosdem‘15 31.01.2015 © IRT – Tai
Fosdem‘15 31.01.2015 © IRT – Tai
Building up pipeline using XPROC
<input port=„source"> <document href=„StlXml.xml"/> </input>
<xslt> <input port="stylesheet"> <document href="STLXML2EBU-TT.xslt"/> </input></xslt>
<xslt> <input port="stylesheet"> <document href="EBU-TT-D2EBU-TT-D-Basic-DE.xslt"/> </input></xslt>
Fosdem‘15 31.01.2015 © IRT – Tai
XPROC pipeline
From XProc: An XML Pipeline LanguageCopyright © 11.10.2010Word Wide Web Consortium
Fosdem‘15 31.01.2015 © IRT – Tai
Documentation SCF requirements
Fosdem‘15 31.01.2015 © IRT – Tai
SCF – Requirements covered by tests
Fosdem‘15 31.01.2015 © IRT – Tai
SCF Licence
Apache Licence, Version 2.0 Allows: integration in commercial software
Goal:
standard compliance in open source and commercial software
Fosdem‘15 31.01.2015 © IRT – Tai
Big thanks to Yann Coupin
Stl2stlxml module is
derived from
stl2srt from Yann Coupin!
Fosdem‘15 31.01.2015 © IRT – Tai
More…..
Fosdem‘15 31.01.2015 © IRT – Tai
Subtitles in ISOBMFF
- Mux ISOBMFF
- DASH Segmentation
- Different Subtitle formats
- WebVTT, TTML/EBU-TT,
3GPP Timed Text
- Standard Compliance
- ISO/IEC 14496-30
Fosdem‘15 31.01.2015 © IRT – Tai
WebVTT parser and validator (Anne van Kesteren)
Fosdem‘15 31.01.2015 © IRT – Tai
TTML Validator
Fosdem‘15 31.01.2015 © IRT – Tai
VLC + Broadcaster
Image: Jürg Vollmer / maiak.info
Fosdem‘15 31.01.2015 © IRT – Tai
Advanced Subtitle features in VLC
Fosdem‘15 31.01.2015 © IRT – Tai
Summary
Open Source Software is essential for subtitle standards
market adoption
standard compliance
transparent reference
Industry and Broadcaster can help through:
Test content, Test Content, Test Content …..
Fosdem‘15 31.01.2015 © IRT – Tai
Thank you!
Institut für RundfunktechnikFloriansmühlstraße 6080939 München
Tel. +49-(0)89-32399-0Fax +49-(0)89-32399-351E-Mail: [email protected]
Andreas TaiProduction Systems Television