You are hereForums / Suggestions / globo.com

Videocache 1.9.5 is available now. This version improves support for logging and fixes video caching problems for various sites like Vimeo, Break, Tube8 etc due to change in URL patterns. Also, from this version onwards, UrlGrabber has been removed from dependencies. Check Changelog for details. If you have purchased version 1.9.x previously, you can claim free upgrade by contacting using Contact Link. Please mention the email address using which you purchased Videocache. New users proceed to download page right now, secure your copy and enjoy caching :-)

globo.com


5 replies [Last post]
Anonymous
globo.com
Printer-friendly versionSend to friend

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, 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.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

Buy Now

Videocache Bundle (RPM and tar archive) is available. Secure your copy now by clicking the button below.
No. of Servers?
For details, check this page.

Recent comments

Spread it

Thank you for spreading the word!

Who's online

There are currently 0 users and 73 guests online.