VideoCache
Videocache is no longer in development.

videocache 1.9.8 cache youtube then miss

by Anonymous on 7 May 2011

Dear Admin
I have purchuased Videocache-1.9.8 and installed on debian squeeze with squid-2.7. Videocache is storing videos but it does not serve from cache. See this please i videocache.log:

07/May/2011:13:57:31 16140 INFO 192.168.199.6 YOUTUBE URL_HIT 2lXh2n0aPyw http://www.youtube.com/get_video?noflv=1&asv=3&fmt=34&t=vjVQa1PpcFOVB2cB3FXq95O88l4dBHT6mgSJRUeOmyQ=&video_id=2lXh2n0aPyw&el=detailpage&tmi=1 -
07/May/2011:13:57:31 16140 INFO 192.168.199.6 YOUTUBE CACHE_MISS 2lXh2n0aPyw Requested video was not found in cache. -
07/May/2011:13:57:33 16140 INFO - - VIDEO_SUBMIT - Submitted 1 videos to RPC server. -
07/May/2011:13:57:43 16140 INFO 192.168.199.6 YOUTUBE URL_HIT da55e1da7d1a3f2c http://o-o.preferred.jordantelecom-amm1.v23.lscache3.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0hPSVhMUF9FSkNOOV9QRlRJ&fexp=902508%2C904516&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&signature=CE8C447ECEA11A7F03AD94954883A9A6F2C28006.C8ABC7222F7C9DA7656ABB235AD1E1D6580CB365&expire=1304812800&key=yt1&ip=0.0.0.0&factor=1.25&id=da55e1da7d1a3f2c -
07/May/2011:13:57:43 16140 INFO 192.168.199.6 YOUTUBE CACHE_MISS da55e1da7d1a3f2c Requested video was not found in cache. -
07/May/2011:13:57:44 16140 INFO 192.168.199.6 YOUTUBE URL_HIT 2lXh2n0aPyw http://www.youtube.com/get_video?el=detailpage&tmi=1&t=vjVQa1PpcFPlYA4VtXjqBq5mRXMPID5xjW2UAnUnTwg=&noflv=1&fmt=34&video_id=2lXh2n0aPyw&asv=3 -
07/May/2011:13:57:44 16140 INFO 192.168.199.6 YOUTUBE CACHE_MISS 2lXh2n0aPyw Requested video was not found in cache. -
07/May/2011:13:57:48 16140 INFO - - VIDEO_SUBMIT - Submitted 1 videos to RPC server. -

Could you help plz?

4 Answers

by Kulbir Saini on 9 May 2011

Hi Anon,

Please check /var/log/videocache/scheduler.log for caching activity of videocache. A video can be served from cache only if it has been cached successfully by videocache. Please let me know if you face any other issues.

Thank You!

by Stalin Villacis on 20 Apr 2012

I have the same problem, it just happened with youtube.com help.

by Kulbir Saini on 23 Apr 2012

Hi Stalin,

Please check your email.

Thank You!

by Anonymous on 14 Aug 2012

The scheduler log says my video is cached I believe

13/Aug/2012:15:28:02 3146 INFO - YOUTUBE VIDEO_CACHED S-FlN97Y3ok ALTERNATE_VIDEO_ID 4be16537ded8de89 FORMAT 34 Video was cached successfully at /var/spool/videocache/youtube/4be16537ded8de89_34.flv -

Yet I get this HIT and MISS

14/Aug/2012:09:50:14 1771 INFO 192.168.0.10 YOUTUBE CACHE_MISS 4be16537ded8de89 Requested video was not found in cache. -
14/Aug/2012:09:50:30 1771 INFO 192.168.0.10 YOUTUBE URL_HIT 4be16537ded8de89 http://o-o---preferred---iad09s20---v17---lscache6.c.youtube.com/videoplayback?algorithm=throttle-factor&burst=40&cp=U0hTSVlSU19LTENOM19RTFdKOmdzMFdEZDhsTTlH&expire=1344975962&factor=1.25&fexp=914056%2C918006%2C915507%2C907217%2C922401%2C919804%2C920704%2C912806%2C906055%2C924500%2C906831%2C925701%2C924700%2C911406%2C913550%2C904721%2C920706%2C907344%2C912706&gcr=us&id=4be16537ded8de89&ip=8.28.19.76&ipbits=8&itag=34&keepalive=yes&key=yt1&ms=au&mt=1344952092&mv=m&range=17817600-19599359&signature=AEF33B113FF9851B16E35873BFA1ABEEF42EBCEF.6DD21AC63E22DFE6B84FC3D40B1A48E81F45EDF6&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&sver=3&upn=3YdLECdnBWo -
14/Aug/2012:09:50:30 1771 INFO 192.168.0.10 YOUTUBE CACHE_MISS 4be16537ded8de89 Requested video was not found in cache. -

I have been looking in the logs for a reason and not found one, searching on this forum has not helped me yet, is there a debug level I can enable ?