TV Digital: Interatividade além do NCL
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.
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.
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
.
Gostei do post.
Muitas informações intereçantes,
Espero que tenham mais tão explicativos como este…
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)
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
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
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
Way cool! Some extremely valid points! I appreciate you penning this article and also the rest of the website is very good.
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
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
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
I really like it whenever people get together and share opinions. Great website, keep it up!
This site certainly has all the information I wanted concerning this subject and didn’t know who to ask.
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!!
This site was… how do you say it? Relevant!! Finally I have found something which helped me. Cheers!
This page certainly has all the information I needed about this subject and didn’t know who to ask.
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.
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.
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!
This blog was… how do I say it? Relevant!! Finally I have found something that helped me. Kudos!
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!!
Aw, this was a very good post. Taking the time and actual effort to generate a great article… but what can I say… I put things off a lot and don’t manage to get anything done.
Hi! I could have sworn I’ve been to this website before but after browsing through a few of the articles I realized it’s new to me. Nonetheless, I’m definitely delighted I found it and I’ll be book-marking it and checking back regularly!
This website truly has all the info I needed concerning this subject and didn’t know who to ask.
This is the right site for anybody who really wants to understand this topic. You know so much its almost hard to argue with you (not that I actually would want to…HaHa). You certainly put a brand new spin on a subject that’s been discussed for decades. Wonderful stuff, just great!
Pretty! This was an incredibly wonderful article. Many thanks for providing these details.
Everything is very open with a precise explanation of the issues. It was truly informative. Your website is very useful. Many thanks for sharing!
Nice post. I learn something new and challenging on blogs I stumbleupon on a daily basis. It will always be helpful to read articles from other authors and practice a little something from other sites.
I’m more than happy to discover this page. I need to to thank you for your time for this wonderful read!! I definitely appreciated every part of it and I have you book-marked to look at new things on your blog.
The next time I read a blog, I hope that it won’t fail me as much as this particular one. I mean, Yes, it was my choice to read through, nonetheless I truly thought you’d have something helpful to talk about. All I hear is a bunch of moaning about something that you could possibly fix if you were not too busy searching for attention.
Today, I went to the beachfront with my children. I found
a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed.
There was a hermit crab inside and it pinched her ear.
She never wants to go back! LoL I know this is completely off
topic but I had to tell someone!
Also visit my webpage Mejoras en pisos
I enjoy what you guys are usually up too. This sort of clever work and reporting!
Keep up the very good works guys I’ve added you guys to my own blogroll.
my web-site: https://storage.googleapis.com/blindinstallationsouthernsuburbs/sitemap.html
Thanks for sharing your thoughts on lua. Regards
Feel free to surf to my website: fontaneros profesionales zaragoza
I enjoy what you guys tend to be up too. This sort of clever work and exposure!
Keep up the superb works guys I’ve included you guys to my own blogroll.
Feel free to surf to my web site :: Ginger
I’m gone to inform my little brother, that he should also pay a quick visit this website on regular basis to get updated from most recent news.
Also visit my blog post fontaneros profesionales zaragoza
I always used to read paragraph in news papers but
now as I am a user of internet therefore from now I am using net for content, thanks to
web.
Feel free to surf to my site; instalaciones fontaneria zaragoza
We’re a group of volunteers and starting a new scheme in our community.
Your website offered us with valuable information to work on.
You’ve done a formidable job and our whole community will be grateful to you.
Here is my website; Katherina
Ahaa, its pleasant discussion concerning this paragraph at this place
at this blog, I have read all that, so now me also commenting at this place.
Feel free to visit my web blog – empresa fontaneros economicos zaragoza