2. Agenda
• Java and Interactive TV
• TV Market in Brazil
• SBTVD Forum
• Use Cases
• Specification and Architecture
• Selected TV specific APIs
• Benefits
• Status
2
4. Java Technology for TV is Emerging
Java is Everywhere
6 Billion Java-Enabled
Devices
1.8 Billion Java-Enabled
Phones
3.5 Billion Java Cards
25 Million Java TV
Devices
800 Million Java Desktops
180 Operators Deploying
Java Content 4
5. TM
The Java Community Has Created
Tremendous Opportunity
$110B Over 100MOver 2 Billion
$2.2B In Related JDK Java Powered
In Java IT Downloads Phones
$4.5B App Servers Spending
Java Mobile
Game Market
1.25 Billion
Java Cards
4 Million Deployed
Multi-Function 700M Blu-ray Disc Digital TVs &
Printers PCs with Devices Set-Top Boxes
Java
5
6. Worldwide TV Trends
• All TV is going digital
> Cable, satellite, and broadcast undergoing analog
to-digital transition
> IPTV, Blu-ray, and, downloads are inherently digita
• All TV viewing will require a device
> Tuner, DVR, game console, PC, mobile phone, etc
> All devices will have middleware
• Total devices in the home are growing
> One or two set-top boxes on primary TV(s) today
> One or more on every TV tomorrow
6
7. Digital TV Standards Worldwide
ACAP DTMS
DVB-MHP/GEM OCAP Ginga-J
GEM-IPTV ARIB B.23
CDC/FP/PBP/Java TV/JMF
7
8. Java in TV today
• Cable Networks: OCAP / tru2way
(CableLabs)
• Terrestrial/Satellite: ACAP (ATSC), ARIB,
deployments in Europa and Asia
• Packaged Media: BluRay
• IPTV (OpenIPTV Forum)
• Brazil: SBTVD
8
9. Java and Interactive TV
• Interactive Java TV Applications are
available today:
> BluRay
> Tru2way
> MHP
• Used for Games, Menus, News ticker,
EPG
9
10. Java and Interactive TV
• Interactive TV = TV + applications
• Java applications augment Audio/Video
content
• Applications and data are distributed
together with A/V content
• Application lifecycle synchronized with
video timeline
• Simultaneous execution of multiple
applications, can communicate with inter-
Xlet communication
10
11. TV Market in Brazil
• Brazilian Digital Terrestrial & Mobile TV
> 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 requested Sun to create royalty free DTV
specification
11
12. 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
• Ginga-J is the Java based middleware part of the
standard
• SBTVD teamed up with Sun to create royalty free
JavaDTV specification
12
13. Ginga Middleware Specifications
• Ginga-J integrates with the other components on
the set-top box
Middleware Specifications
Ginga-J
SBTVD APIs ARIB B.23 Bridge NCL
(partial)
Java DTV Specification
Common Core
13
14. 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
14
15. Java DTV Specification
• Feature parity with other Java
specifications in TV space
> Allows the same kind of applications
• Resides on mature standardized JavaME
specifications
> CDC, FP, PBP, JavaTV (latest versions)
• Integrates LWUIT widgets for a compelling
user experience
• Extensive API allows access to all aspects
of digital TV settop boxes
15
16. Use Cases
• Online purchase of Audio & Video content
• Interactive Advertising
• Sport Statistics
• Clips Download
• Real-time voting
• Quizes / Games (also with external devices)
• Localized Information (such as Weather or
Traffic)
• Portal Applications
• E-Government
16
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
Broadcaster
Transmission
Set-top Box
18
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
19
20. TV Graphics: Display Model
• TV display model and desktop model are
different
• Multiple screen planes
(Source: Draft Standard SBTVD forum N06-
1) 20
21. Display model
• 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
21
22. Java Media Framework
• Java Media framework (JMF) is part of Java TV
(JSR 927)
> Defines Player and Controls concept
> JMF player is used to control and display time-
based media streams
> Player is typically associated with a (hardware)
media decoder
> Controls are used to query or change the state of
a player
> Asynchronous model - State changes are reported
via events to subscribed listeners
> JMF only offers some basic controls: Audio gain,
Video size, Media select
22
23. Additional JMF controls in DTV
• 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
28. Ginga-J benefits
• Designed to fulfill the requirements of
Brazilian market
• Allows for rich media content and user
experience
• Procedural language
• Interface with the other components on
the settop box
> Ginga-NCL, ISDB transmission system, etc.
• Royality free
28
29. Java DTV Benefits
• Large Java developer community in Brazil
> developer experience, low learning curve
• Java Communities
> User groups (JUG)
• Mature development tools available from
many vendors
> Development Environments
– Netbeans, Eclipse, etc.
> SDKs for JavaME
– Wireless Toolkit, PhoneME, Netbeans Wireless
Plugin
29
30. Deployment Status
• Specification published on sun.com in December
2008
http://java.sun.com/javame/technology/javatv/index.jsp
• Specification approved in April 2009
• Today: Major broadcasters already transmit Ginga
and JavaDTV applications in their signal
• First commercial implementations on terrestrial TV
settop boxes expected by end of 2009
• Strong momentum for the deployment Ginga-J
based boxes as well as applications will make this
joint effort a success
30