1
O middleware ginga: plataforma aberta que amplia a participação do telespectador
Copyright © 2006 TeleMídia
AgendaAgenda
• Tipos de aplicações para TV digital
• Requisitos do Middleware
• Ginga-NCL
• Desenvolvimento de aplicações no NCL
• Aplicações futuras: interação multimodal e objetos 3D
• Tipos de aplicações para TV digital
• Requisitos do Middleware
• Ginga-NCL
• Desenvolvimento de aplicações no NCL
• Aplicações futuras: interação multimodal e objetos 3D
2
Copyright © 2006 TeleMídia
Copyright © 2006 TeleMídia
3
Copyright © 2006 TeleMídia
Copyright © 2006 TeleMídia
4
Copyright © 2006 TeleMídiaCopyright © 2006 TeleMídia
Copyright © 2006 TeleMídia
5
Copyright © 2006 TeleMídia
Africa do Sul 2010
6
Copyright © 2006 TeleMídia
Tipos de AplicaçãoTipos de Aplicação
• Conteúdo adicional sem qualquer relação semântica
com o programa (vídeo principal)
• Conteúdo adicional relacionado ao programa, mas sem
nenhum sincronismo com o vídeo principal
• Conteúdo adicional relacionado ao programa e
sincronizado com o vídeo principal
• Narrativas interativas
• Conteúdo adicional sem qualquer relação semântica
com o programa (vídeo principal)
• Conteúdo adicional relacionado ao programa, mas sem
nenhum sincronismo com o vídeo principal
• Conteúdo adicional relacionado ao programa e
sincronizado com o vídeo principal
• Narrativas interativas
Suporte AdicionalSuporte Adicional
• Canal de interatividade
• Multiprogramação
• Múltiplos dispositivos de exibição
• Canal de interatividade
• Multiprogramação
• Múltiplos dispositivos de exibição
7
OS
...Apl 2 Apl 3Apl 1 Apl n
Ginga
Ginga-CC
OS
Ginga - NCL
...
Extensions
Apl 2 Apl 3Apl 1 Apl n
Lua
8
Ginga
Protocol Stack
Ginga Common - CoreAdapters
DRM
CA
Tuner
Search Engine
G. Manager
Update ManagerData
Processing
Context Manager
Players
Ginga - NCL Presentation Engine
Formatter
Private Base Manager
NCL Context Manager
PlayerManager Layout Manager
Scheduler
XML Parsers
Converters
Extensions
Protocol Stack
RTP RTCP
TS
HTTP
TCP UDP
IP
Media StreamsSI MPE DSM-CC
Ginga - NCL Presentation Engine
Ginga Common - CoreAdapters
DRM
CA
Tuner
Search Engine
G. Manager
Update ManagerData
Processing
Context Manager
Players
Formatter
Private Base Manager
NCL Context Manager
PlayerManager Layout Manager
Scheduler
XML Parsers
Converters
Ginga-NCL
9
Protocol Stack
RTP RTCP
TS
HTTP
TCP UDP
IP
Media StreamsSI MPE DSM-CC
Ginga - NCL Presentation Engine
Ginga Common - CoreAdapters
DRM
CA
Tuner
Search Engine
G. Manager
Update ManagerData
Processing
Context Manager
Players
Formatter
Private Base Manager
NCL Context Manager
PlayerManager Layout Manager
Scheduler
XML Parsers
Converters
Bridge
Ginga –J Execution Engine
Ginga-J + Ginga-NCL
Broadband TV + Ginga-NCL
Protocol Stack
RTP RTCP
TS
HTTP
TCP UDP
IP
Media StreamsSI MPE DSM-CC
Ginga - NCL Presentation Engine
Ginga Common - CoreAdapters
DRM
CA
Tuner
Search Engine
G. Manager
Update ManagerData
Processing
Context Manager
Players
Formatter
Private Base Manager
NCL Context Manager
PlayerManager Layout Manager
Scheduler
XML Parsers
Converters
10
Broadband TV + Ginga-NCL
Ginga - NCL Presentation Engine
Ginga Common - CoreAdapters
DRM
CA
Tuner
Search Engine
G. Manager
Update ManagerData
Processing
Context Manager
Players
Formatter
Private Base Manager
NCL Context Manager
PlayerManager Layout Manager
Scheduler
XML Parsers
Converters
Protocol Stack
Services / Applications over IPBroadband TV
BridgeGaming
EPG
RSTP RTCP
RTPTS and Others
HTTPFTPIGMP
TCP UDP
IP
Media StreamsSI MPE DSM-CC
Widgets
IPTV + Ginga-NCL
Protocol Stack
Services / Applications over IPIPTV - Broadband TV
PPV VOD
Gaming
VOIP EPG
RSTP RTCP
RTPTS and Others
HTTPFTPIGMP
TCP UDP
IP
Media StreamsSI MPE DSM-CC
Widgets
Ginga - NCL Presentation Engine
Ginga Common - CoreAdapters
DRM
CA
Tuner
Search Engine
G. Manager
Update ManagerData
Processing
Context Manager
Players
Formatter
Private Base Manager
NCL Context Manager
PlayerManager Layout Manager
Scheduler
XML Parsers
Converters
Bridge
11
Hybrid TV
Services / Applications over IPIPTV - Broadband TV
PPV VOD
Gaming
VOIP EPG
Widgets
Protocol Stack
RSTP RTCP
RTPTS and Others
HTTPFTPIGMP
TCP UDP
IP
Media StreamsSI MPE DSM-CC
Ginga - NCL Presentation Engine
Ginga Common - CoreAdapters
DRM
CA
Tuner
Search Engine
G. Manager
Update ManagerData
Processing
Context Manager
Players
Formatter
Private Base Manager
NCL Context Manager
PlayerManager Layout Manager
Scheduler
XML Parsers
Converters
Bridge
Copyright © 2006 TeleMídia
Linguagem de EspecificaçãoLinguagem de Especificação
• Simples de ser entendida e usada
• Leve
• Expressiva
• Linguagem Declarativa de Domínio Específico DSL
• Simples de ser entendida e usada
• Leve
• Expressiva
• Linguagem Declarativa de Domínio Específico DSL
12
Copyright © 2006 TeleMídia
NCLNested Context Language
NCLNested Context Language
• Inovação do Sistema Brasileiro de TV Digital:
– Linguagem declarativa NCL (Nested Context Language)
– Sua linguagem de script Lua
– seu ambiente de execução middleware Ginga-NCL.
• ITU-T H.761 Recommendation for IPTV services
• ITU-R BT 1691-1 Recommendation for Terrestrial DTV
• Inovação do Sistema Brasileiro de TV Digital:
– Linguagem declarativa NCL (Nested Context Language)
– Sua linguagem de script Lua
– seu ambiente de execução middleware Ginga-NCL.
• ITU-T H.761 Recommendation for IPTV services
• ITU-R BT 1691-1 Recommendation for Terrestrial DTV
Funcionalidades – Suporte declarativo a:Funcionalidades – Suporte declarativo a:
• Sincronismo de mídia
– Interatividade como um caso particular
• Adaptabilidade
• Múltiplas redes de distribuição
• Múltiplos dispositivos de exibição
• Edição ao vivo
• Sincronismo de mídia
– Interatividade como um caso particular
• Adaptabilidade
• Múltiplas redes de distribuição
• Múltiplos dispositivos de exibição
• Edição ao vivo
13
TV interactiva se hace con Ginga
Copyright © 2006 TeleMídia
javajava
onBegin
Start
Stop
onBeginStart
Start
onEnd
Stop
Setsize
Start
onSelection Setsize
onBeginStart
Stop
onEnd
Start
Smil
Copyright © 2006 TeleMídia
AutoriaAutoria
14
Copyright © 2006 TeleMídia
NCL EclipseNCL Eclipse
NCL ComposerNCL Composer
O middleware ginga: plataforma aberta que amplia a participação do telespectador
15
Copyright © 2006 TeleMídia
Players Ginga-NCLPlayers Ginga-NCL
Ginga-NCL é software livreGinga-NCL é software livre
16
Comunidades GingaComunidades Ginga
Ecuador
Argentina Bolivia
Brasil
Copyright © 2006 TeleMídia
Implementação de Referência
Ginga-NCL
Implementação de Referência
Ginga-NCL
• C++ Language
• Linux platform
• High performance
• Hard to embed
• C++ Language
• Linux platform
• High performance
• Hard to embed
17
Copyright © 2006 TeleMídia
Ginga –NCL para WindowsGinga –NCL para Windows
Copyright © 2006 TeleMídia
Set-top Box Virtual Ginga-NCL Set-top Box Virtual Ginga-NCL
18
Copyright © 2006 TeleMídia
Ginga -NCL Live CDGinga -NCL Live CD
Copyright © 2006 TeleMídia
• IPTV: Recommendation H.761
– Symbian
– Android
• IPTV: Recommendation H.761
– Symbian
– Android
Ginga –NCL para IPTVGinga –NCL para IPTV
19
Copyright © 2006 TeleMídia
Dispositivos Secundários (Múltiplos Dispositivos)Dispositivos Secundários (Múltiplos Dispositivos)
– iPhone (passive)
– Android (passive e active)
– iPhone (passive)
– Android (passive e active)
Próxima GeraçãoPróxima Geração
20
Pesquisa em Linguagens e PlayersPesquisa em Linguagens e Players
• Interoperabilidade: Liaison ITU-T/W3C
– NCL como linguagem de cola
– NCL como plug-in Web
• Interoperabilidade: Liaison ITU-T/W3C
– NCL como linguagem de cola
– NCL como plug-in Web
Copyright © 2006 TeleMídia
Plug-ins GingaPlug-ins Ginga
TV ConectadaTV Conectada
21
Pesquisa em Linguagens e PlayersPesquisa em Linguagens e Players
• Interoperabilidade: Liaison ITU-T/W3C
– NCL como linguagem de cola
– NCL como plug-in Web
– NCL Raw profile
– Hypermedia Raw Profile
– Sintaxe de transferência
• Interoperabilidade: Liaison ITU-T/W3C
– NCL como linguagem de cola
– NCL como plug-in Web
– NCL Raw profile
– Hypermedia Raw Profile
– Sintaxe de transferência
NCL 4.0NCL 4.0
• NCL 4.0 / Hypermedia Raw Profile
– Abstrações de mais alto nível para definição de relacionamentos
– Melhor suporte a aplicações cientes de contexto
– Suporte a interfaces multimodais
• NCL 4.0 / Hypermedia Raw Profile
– Abstrações de mais alto nível para definição de relacionamentos
– Melhor suporte a aplicações cientes de contexto
– Suporte a interfaces multimodais
22
Africa do Sul 2010Africa do Sul 2010
Copyright © 2006 TeleMídia
EntretenimentoEntretenimento
23
NCL 4.0NCL 4.0
• NCL 4.0 / Hypermedia Raw Profile
– Abstrações de mais alto nível para definição de relacionamentos
– Melhor suporte a aplicações cientes de contexto
– Suporte a interfaces multimodais
– Suporte a objetos 3D
• Múltiplos dispositivos
• Social media
• NCL 4.0 / Hypermedia Raw Profile
– Abstrações de mais alto nível para definição de relacionamentos
– Melhor suporte a aplicações cientes de contexto
– Suporte a interfaces multimodais
– Suporte a objetos 3D
• Múltiplos dispositivos
• Social media
24
Obrigado
http://www.ncl.org.br
http://www.ginga.org.br
http://www.softwarepublico.gov.br
http://clube.ncl.org.br/
http://www.telemidia.puc-rio.br