Caching Vimeo Videos

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Caching Vimeo Videos

M K Raju
Need help on how to cache Vimeo videos under squid proxy.

--
Regards,
M K Raju.


_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: Caching Vimeo Videos

Antony Stone
On Friday 30 November 2018 at 10:05:49, Raju M K wrote:

> Need help on how to cache Vimeo videos under squid proxy.

Need info on what you tried already and how you identified it didn't work.

Antony.

--
Ramdisk is not an installation procedure.

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: Caching Vimeo Videos

Eliezer Croitoru
In reply to this post by M K Raju

Hey,

 

There are two types of streams on Vimeo:

  • Simple mp4 files
  • HLS Dash streams

 

Example of links to mp4 files:

https://03-lvl3-pdl.vimeocdn.com/01/2370/1/36854018/84618512.mp4?expires=1543576693&token=x

https://03-lvl3-pdl.vimeocdn.com/01/2370/1/36854018/84618512.mp4?expires=1543576764&token=x

 

These are almost static.

The HLS Dash streams needs more research which would look something like this:

 

Audio:

https://112skyfiregce-vimeo.akamaized.net/exp=1543576796~acl=%2F300817511%2F%2A~hmac=xyzh-mac1/300817511/sep/video/1152319175,1152319182,1152319179,1152319178,1152319177,1152319176/dash-audio.mp4

 

 

https://112skyfiregce-vimeo.akamaized.net/exp=1543576796~acl=%2F300817511%2F%2A~hmac=xyzh-mac1/300817511/sep/video/1152319175,1152319182,1152319179,1152319178,1152319177,1152319176/dash-audio.mp4

 

 

Video:

 

https://112skyfiregce-vimeo.akamaized.net/exp=1543576796~acl=%2F300817511%2F%2A~hmac=xyzh-mac1/300817511/sep/video/1152319175,1152319182,1152319179,1152319178,1152319177,1152319176/dash-video.mp4

 

PNG:

 

https://i.vimeocdn.com/filter/overlay?src0=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F252937377_1280x960.jpg&src1=https%3A%2F%2Ff.vimeocdn.com%2Fimages_v6%2Fshare%2Fplay_icon_overlay.png

 

From what I remember some of Vimeo videos have a download link on the video page.

To cache some of them you would need SSL-BUMP and a simple StoreID helper hat will unify the domains and the file name without some or all the query terms of the request URL.

I might be able to write an example but only in a week or more.

 

All The Bests,

Eliezer

 

----

Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: [hidden email]

cid:image001.png@01D2675E.DCF360D0

 

From: squid-users <[hidden email]> On Behalf Of Raju M K
Sent: Friday, November 30, 2018 12:06
To: [hidden email]
Subject: [squid-users] Caching Vimeo Videos

 

Need help on how to cache Vimeo videos under squid proxy.

--

Regards,
M K Raju.


_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users