Вы находитесь на странице: 1из 31

New JavaTM Digital TV

Standard goes Brazil

M. Lagally, J. Pätzold
Sun Microsystems
D. Campelo, H. Perrone
TQTVD
Agenda

> Java and Interactive TV


> TV Market in Brazil
> SBTVD Forum
> Java DTV Use Cases in Brazil
> Specification Overview
> Selected TV specific APIs
> Ginga-J
> JavaDTV Demo

2
Java and Interactive TV

> Interactive TV = TV + applications


> Java applications:
● augment audio/video content
● can control media playback
● can control display hardware and tuning
● can start other applications
● can overlay other media content
● can select new program service

3
Java and Interactive TV

> Interactive Java TV Applications are available


today:
● BluRay
● Tru2way (OCAP)
● MHP, GEM-IPTV
> Used for Games, Menus, News ticker, EPG, ...

4
TV Market in Brazil

> Brazilian Digital Terrestrial & Mobile TV


● Free to Air TV. Revenue based on advertising.
● 180M+ people, 55M+ TV
● World's largest dual terrestrial/mobile TV
deployment
● World's 4th largest TV network (80M viewers/day)
> Brazilian standards body: SBTVD
> SBTVD teamed up with Sun to create royalty free
DTV specification

5
SBTVD Forum
Sistema Brasileiro de Televisao Digital
> Founded 2006
> Brazil's standardization organization
> Aim: defining standard and regulations for
successful implementation of the digital TV
infrastructure in Brazil
> Aligned interests between broadcasters,
industry, government and universities
> Timeline
● Dec 2007 digital broadcast started
● End of 2009 Java DTV available in devices
6
Java DTV Use Cases in Brazil
> Online purchase of Audio & Video content
> Interactive Advertising
> Sport Statistics
> Clips Download
> Real-time voting
> Quiz / Game Applications (also with external devices)
> Localized Information (such as Weather or Traffic)
> Portal Applications
> E-Government

7
Java DTV benefits

> Designed to fulfill the requirements of Brazilian


market
> Open Source
> Royalty free
> Java allows for rich media experience
> Large Java developer community in Brazil
● developer experience, low learning curve

8
Java DTV Specification

> Feature parity with other Java specifications in


TV space
> Resides on mature standardized JavaME
specifications
● CDC, FP, PBP, JavaTV (latest versions)
> Integrates LWUIT widgets for a compelling user
experience

9
Java DTV Specification

> Integrates with the other components on the set-top box

DTV Middleware Specification


Ginga-J
SBTVD APIs Ginga-
Bridge NCL
Java DTV Specification

Common Core

10
Media APIs
Application Management
Error Reporting
Broadcast Filesystem
MPEG Concepts
MPEG Section Filtering
Tuning
Networking Extensions
Java DTV Architecture

User Settings & Prefs

JavaTV 1.1
Applications

Events
SBTVD Extensions

Inter-Appl Communication
CDC 1.1 / FP 1.1 / PBP 1.1
Content Security
Resource Management
Persistent Storage
TV Graphics
UI Widget Set
11
MPEG Concepts
MPEG2 Transport Streams
> Are multiplexed streams delivered over the
broadcast channel
> Defined in ISO13818-1
> Multiplexed streams may contain
● Elementary streams (video, audio, subtitles)
● Service information (directory of the transmission
network, electronic program guide, etc.)
● Applications and additional resources
● IP packets
● Conditional Access Messages
12
MPEG Concepts
MPEG2 Transport Streams
Networks Transport Streams Elementary Streams

Video

Audio

Subtitle

Service Information

13
MPEG Concepts
Locators
> Identify transport stream identities
> URL based
> Entities
● Networks
● Transport streams
● Services
● Elementary streams
> Example
● dtv://<original_network_id>.<transport_stream_id>.<service_id>
● dtv://1016.34.6
14
Application Model

> DTV applications are PBP Xlets


> Apps are transmitted as part of the broadcast
stream
> Packaged into signed JAR files
> Authentication of signed applications to enable
different security domains
> Lifecycle is controlled via broadcast signaling
(AIT) → synchronization with TV program
● start, stop, pause, resume at specific times in the
stream
15
Application Model
Signaling
> Applications can be started automatically at
channel switch

App 1 App 3

App 2 App 2
resume
pause

App 4
start

start

start
stop

stop
TV channel 1 Implicit start/stop TV channel 2
due to channel change

time

16
Application Model
Security
> Multiple applications can execute
simultaneously
● Shielded from each other
● Can communicate with inter-Xlet communication
> Protected file system:
● Each application has it's own area in the
persistent file system
● Not accessible to other applications (unless
explicitly granted)

17
Application Model
Security
> Java sandbox ensures system integrity
> Java 2 SE security model
> Access to sensitive APIs is restricted to signed
applications:
> Protected APIs: file system, application mgmt,
network, tuning, smartcard, service selection,
preferences, interXlet communcation, persistent
files
> Permissions are requested with a per
application policy file (PAP)

18
Broadcast Carousel
> Problem:
● unidirectional and unreliable transmission not
suitable for file transfer
● Arbitrary service selection
> Solved by repetitive transmission of files over
the broadcast channel

Transmission

Broadcaster
Set-top Box 19
Broadcast Carousel

> Applications, sounds, images, etc. can be


embedded into transport stream
> For Java:
● applications and their data resources are
transmitted over broadcast carousel
> Broadcast files will be available via local virtual
filesystem
> Events generated whenever new files appear,
updated or deleted

20
TV Graphics: Display Model

> TV display model and


desktop model are

Fr
different

on
t
> Multiple screen planes
are overlayed with
Subtitles
alpha blending
Graphics and Text
> Selection plane Picture/video selection
choses between Static pictures
video and static Video
picture plane
(Source: Draft Standard SBTVD forum N06-1)

21
Display model on ISDB-T

> Screen planes can be reserved exclusively by


applications
> Each plane can be individually scaled
> UI widgets, text and graphics are displayed on
the graphics plane
> Display of static picture or video is selected with
switching control plane at pixel level
> Subtitles are superimposed on other planes

22
Media Handling

> Java Media framework (JMF) is part of Java TV


(JSR 927)
> JMF player handles time-based media streams
> DTV spec provides additional controls for:
● Audio language
● Closed captions / subtitles
● Video format, clipping, aspect ratio and
presentation
● Video timeline
● Dripfeed (progressive I- and P-frames)
23
Ginga-J Specification

> Brazil's standard for procedural middleware


> Completely based on JavaDTV
> Extends JavaDTV for the DTV Brazilian system:
● System Specific Service Information API
● Definitions for System Specific Locators
● Bridge API for integrating with the Ginga-NCL
engine
● Interaction devices API
● Asynchronous messaging API

24
Sample Use Case Screenshot

25
Sample Use Case Screenshot

26
Sample Use Case Screenshot

27
JavaDTV Demo
> AstroTV is the DTV Middleware from TQTVD,
compliant with Ginga Standard and JavaDTV
Spec.
> Demo Set Top Box Footprint:
● CPU clock: 300 Mhz
● 64 MB RAM (system memory)
● 32 MB FLASH

28
JavaDTV Demo
> JavaDTV features used in the Demo Application:
● Application Model
● LWUIT framework:
● Animation, Transition, Container, Widgets
(Label, Button, Image, List, etc)
● Forms, Customized Layout, Painters and
Themes (i18n)
● Broadcast File System access (DSMCC OC)
● Return Channel
● UI Events
29
Status
> Specification published on sun.com in December
2008

http://java.sun.com/javame/technology/javatv/index.jsp
> Specification now in public consultation, SBTVD
forum approval expected in July
> First commercial implementations on terrestrial
TV settop boxes expected by end of 2009
> Java DTV is on Air: Major Brazilian Broadcasters
are already transmitting Java applications in their
production signal

30
M. Lagally, J. Pätzold,
H. Perrone, D. Campelo
michael.lagally@sun.com
jens.paetzold@sun.com
hernan.perrone@tqtvd.com
david.campelo@tqtvd.com

Вам также может понравиться