TV Digital: Interatividade além do NCL

December 10, 2009

Texto publicado originalmente em: O Futuro é Digital

Para quem pretende iniciar os estudos para desenvolver aplicativos interativos para TV Digital, eu digo: Essa é a hora. Apesar do mercado novo, algumas empresas já estão contratando. Uma delas, a Peta5, estava até o final de novembro com duas vagas para estagiar com desenvolvimento de aplicações interativas.

Mas o que eu preciso? Apenas o NCL? Resposta: Não!

O NCL atende perfeitamente bem para o que foi proposto: sincronismo de mídias. Muitas aplicações básicas poderão e deverão ser desenvolvidas apenas em NCL. No entanto, aplicações que exijam uma interface que varie de acordo com as opções selecionadas pelo telespectador, a melhor escolha será Lua e Java.

O Ginga Java ainda não possui o mesmo nível de maturidade que o Ginga NCL/Lua tem com relação à TV Digital. É possível desenvolver interfaces dinâmicas e ricas trabalhando apenas com Lua.


Seria possível criar imagens para serem utilizadas no NCL, pois a quantidade de Regiões existentes no Brasil é fixa. Mas e quando não sabemos ao certo os dados que deverão ser apresentados?

Participo atualmente de um projeto de Educação à Distância para TV Digital. Inicialmente toda a aplicação foi escrita em NCL que chamava algumas mídias Lua que efetivamente executavam os módulos da aplicação. Depois de sete meses e aproximadamente cinco ciclos de desenvolvimento praticamente jogados no lixo, partimos para o desenvolvimento exclusivamente em Lua.

Criamos um simples NCL que seu único trabalho é iniciar uma mídia Lua. A partir deste ponto, desde a simples tarefa da apresentação do menu principal até o controle de entrada de dados a partir do controle remoto passou a ser feito em Lua. Após seis meses, nos impressionamos com os ganhos obtidos. Nossa aplicação que conta com dez módulos, já possui seis desenvolvidos.


Na pesquisa, não sabemos quantas cidades serão retornadas.

Mas é preciso atenção, nem todas as bibliotecas disponíveis para linguagem Lua fazem parte do Ginga NCL/Lua.

A linguagem Lua para TV Digital conta com quatro módulos obrigatórios:
Canvas – Permite desenhar objetos em uma mídia Lua;
Event – Permite que mídias Lua se comuniquem com mídias NCL e outros objetos externos;
Persistent – Permite exportar variáveis de ambiente entre aplicações interativas;
Settings – Permite acesso às variáveis definidas no documento NCL.

Um exemplo de biblioteca Lua que não é obrigatória segundo a norma, é o Lua Socket que da suporte para conexões TCP. Para isso, é necessário utilizar o módulo Event.

Para quem pretende trabalhar com desenvolvimento para TV Digital, está é a dica que deixo: NCL é ótimo quando a idéia é apresentar informações que não varie tanto. Mas quando precisamos apresentar dados que pode variar de acordo com as opções escolhidas pelo telespectador, Lua pode ser uma grata surpresa.

Mais informações podem ser obtidas na comunidade Ginga do portal do Software Público
.

19 Responses to “TV Digital: Interatividade além do NCL”

  1. Gostei do post.
    Muitas informações intereçantes,
    Espero que tenham mais tão explicativos como este…

  2. Hello, i think that i saw you visited my blog thus i came to
    “return the favor”.I’m trying to find things
    to improve my website!I suppose its ok to use a few of your ideas!!

    Feel free to surf to my blog click here (Raina)

  3. Nice blog! Is your theme custom made or did you download it from somewhere?
    A design like yours with a few simple adjustements would really make my blog shine.
    Please let me know where you got your design. With thanks

    Also visit my web blog: Auto Repair

  4. I think the admin of this web site is in fact working hard for his web site, because here every information is quality based material.

    My blog post – Auto Repairs in my area

  5. I know this web page gives quality depending articles or reviews and extra information,
    is there any other site which provides these stuff in quality?

    my web page – pet cemetery

  6. Way cool! Some extremely valid points! I appreciate you penning this article and also the rest of the website is very good.

  7. First off I want to say awesome blog! I had a quick question that I’d like to ask if you don’t mind.

    I was interested to know how you center yourself and clear
    your mind before writing. I have had a hard time clearing my mind in getting
    my ideas out there. I truly do take pleasure
    in writing however it just seems like the first 10 to 15 minutes tend to be wasted simply just trying to figure out
    how to begin. Any suggestions or tips? Thank you!

    Here is my website :: brand new burgundy colored native american pattern rugs

  8. Hi there would you mind letting me know which web host
    you’re working with? I’ve loaded your blog
    in 3 completely different browsers and I must say this blog loads a lot quicker then most.
    Can you recommend a good hosting provider at a reasonable
    price? Kudos, I appreciate it!

    Review my web blog; navajo blanket for sale

  9. Hi there everybody, here every person is sharing these know-how, thus it’s nice to read this website, and I used to pay a visit this blog daily.

    Here is my web-site – southern rugs

  10. I really like it whenever people get together and share opinions. Great website, keep it up!

  11. This site certainly has all the information I wanted concerning this subject and didn’t know who to ask.

  12. An interesting discussion is definitely worth comment. I believe that you should publish more on this subject, it may not be a taboo matter but generally people do not discuss such topics. To the next! All the best!!

  13. This site was… how do you say it? Relevant!! Finally I have found something which helped me. Cheers!

  14. This page certainly has all the information I needed about this subject and didn’t know who to ask.

  15. Aw, this was an incredibly nice post. Spending some time and actual effort to make a great article… but what can I say… I hesitate a lot and never seem to get nearly anything done.

  16. I blog quite often and I truly thank you for your content. This article has truly peaked my interest. I am going to book mark your site and keep checking for new details about once a week. I opted in for your Feed as well.

  17. Hello there! I could have sworn I’ve been to your blog before but after browsing through many of the articles I realized it’s new to me. Anyways, I’m definitely pleased I found it and I’ll be bookmarking it and checking back regularly!

  18. This blog was… how do I say it? Relevant!! Finally I have found something that helped me. Kudos!

  19. Oh my goodness! Amazing article dude! Many thanks, However I am having troubles with your RSS. I don’t understand the reason why I can’t subscribe to it. Is there anybody else having similar RSS issues? Anyone who knows the solution will you kindly respond? Thanks!!

Leave a Reply