You are hereForums / Suggestions / globo.com

Finally, the wait is over!!! Videocache 2.0.0 is here :-) Check changelog for changes and new features in this version. Contact Us for your free upgrade!!

globo.com


5 replies [Last post]
Anonymous
globo.com

anybody knows the format of globo.com videos for cahe?

admin's picture
Offline
Joined: Nov 2 2008

Anon,

Globo.com serves video content using protocols other than http (probably rstp or something) which is a bit tricky to cache.

Thank You!

Terolando (not verified)

Coloquei no lugar do break.com

No squid.conf alterar de:

acl videocache_allow_url url_regex -i video\.break\.com\/(.*)\.(flv|mp4)

para:

acl videocache_allow_url url_regex -i flashvideo\.globo\.com\/(.*)\.(flv|mp4)

E no /usr/share/videocache/videocache.py
de:

if host.find('video.break.com') > -1 and (path.find('.flv') > -1 or path.find('.mp4')):

para

if host.find('flashvideo.globo.com') > -1 and (path.find('.flv') > -1 or path.find('.mp4')):

Vai começar a fazer o cache da globo.com no lugar desse tal de break q eu nunca vi entrar um video nele.
A pasta eu deixei com o mesmo nome (/var/spool/videocache/break) pra nao precisar de trocar um monte de variaveis.

Espero ter ajudado.

lopan's picture
Offline
Joined: Nov 5 2008

Isso não funcionou, o que você fez pode lhe dar a impressão de ter cacheado algo devido aos logs. Na verdade ele só faz cache das propagandas no início e final de cada vídeo.

This not work for main video, only cache the commercial clips.

http://video.globo.com/Videos/Player/Noticias/0,,GIM1097016-7823-ARTE+PR...

EFCGJ_T_1097016_mmp4.mp4 DOWNLOAD_ERR BREAK An error occured while retrieving the video.

[]'s

Terolando (not verified)

Amigo, o meu funciona perfeitamente. Faço faço cache perfeitamente dos videos. Inclusive ainda coloco cachefull nele.

Verifique se vc fez corretamente os procedimentos citados acima.

lopan's picture
Offline
Joined: Nov 5 2008

Using all the procedures you said, on the version 1.9.1 of VideoCache does not work. Only makes the cache comercial clips.

Utilizando todos os procedimentos que você disse, na versão 1.9.1 do VideoCache, não funcionou. Só faz cache das propagandas.

[]'s

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters shown in the image.

My Book on Squid

Purchase/Renew

Go to Pricing page to purchase a new license or renew your existing license.

Recent comments

Who's online

There are currently 0 users and 200 guests online.