Streaming from Globo.com
#1
Hello,

sorry for the noob question, but can anyone help me to find a way to stream to xbmc, video streams like this one:

http://video.globo.com/Videos/Player/Ent...RA,00.html

This link ends in a page with embedded video (is that flash?).

Is there a way to tell some script to fetch that stream? I tried hacking with XOT-UZG and MediaStream scripts without success (although I could configure MediaStream to work quite well with some Podcasts).

The hard thing (I guess) is that there is no direct link for the media stream itself, it being embedded in the html page.

Regards
Ricardo.
Reply
#2
Use wireshark to determine how the media url is resolved then it`s all about urllib2 and regular expressions and correct indentation.

If i get time i`ll look at it.
Reply
#3
Will try wireshark, and thanks for any help you can give.

Regards
Ricardo.
Reply
#4
Voinage, trying to save you some time ...

Out of wireshark, I could get some direct urls for the ads on that video, not for the video itself.

Here a link for one of the ads, looking via the GET statemens
http://201.7.178.23/RealMedia/ads/Creati...a_n20h.swf


Now the real movie is still show or as html page
201.7.178.53 HTTP GET /Videos/Player/Entretenimento/0,,GIM835039-7822-DUAS+CARAS+ULTIMO+CAPITULO+NA+INTEGRA,00.html HTTP/1.1

Or as an embedded Webplayer
180 8.063658 10.209.1.112 201.7.176.110 HTTP GET /webmedia/player/GMCPlayMidia?midiaId=835039&autoStart=true&pp=true&escondeFimVideo=true&ntr=true&nocache=1212407481468 HTTP/1.1

Unluckily my skills with network sniffing are close to nill. So can't get further.

Regards
Ricardo.
Reply
#5
Alright, i really hope that this is for a script you are writing or a plugin.

http://video.globo.com/Videos/Player/Ent...nto/0,,GIM835039-7822-DUAS+CARAS+ULTIMO+CAPITULO+NA+INTEGRA,00.html

scrape the source, but you only want the media id in red.

then add that to :-

http://playervideo.globo.com/webmedia/GM...e&midiaId=

then open that and view source to get the flash urls & all other information relating to the files.

So in python you will have to parse the page get the media id then add that to the url.
After that parse the new page to get the flv`s & other info.

this works with all their content Ricardo

Cheers Voinage.
Reply
#6
Hey Voinage,

you make it seem so simple! Thanks dude.

These shows are soup operas absolutely loved by my wife, and play big role on closing the gap between our current european lifes and our home country habits. If they are readily available in the living room, even better.

I will dedicate some time to learn python enough to try to draft such a script. First challenge is that the videos IDs seem pretty random, not following any order/pattern that I can distinguish.

Anyway, will try it.

Thanks for your help & Best regards

Ricardo.
Reply
#7
Ricardo , if you want me to build a plugin just request it in my thread at the top of the forum- give me some time and i will see to it.
Reply
#8
Voinage,

I took some time to learn Python enough to be able to draft a rudimentar script for this.

You were right on the search engine. It is great and finetuning the query it is possible to get links for all shows in Globo.com, well organized per date.

That is gold value in this case, as it just takes some parsing and regexing, and your advise (above) on the direct player link to get the links for the actual video files.

However I am stuck on the authentication. Ahutentication is required for some of their content. Once you get the index of shows via and search engine, if you click on one of the protected shows, then user login pops up.

I am subscriber of theis service, I would like to know how to pass auth information from the python script.

Of course I guess this is depending on the way they carry out authentication, but do you know of any way I could work with authentication in this case?

Regards
Ricardo
Reply
#9
Hey rbonon .... How is your script development comming along? I'm very interested in a script for xbmc and globo.com, so if you have anything usable please let me know ;-) it'll save me the time from doing it myself.

Obrigado
Reply
#10
This looks like the old plimplim script

I would love this to work but it's probably way out of date.
I'm pretty sure thousands of expatriate Brasilians would also love it to be working.


http://plim-plim.googlecode.com/svn/trunk/
Reply

Logout Mark Read Team Forum Stats Members Help
Streaming from Globo.com1