You are hereForums / Suggestions / Youtube HD

Version 1.9.9 is out. We have added support for Youtube mobile videos, Facebook, AOL and MySpace videos as well. Fixed caching issues for some already supported websites. Options to control cache directory selection algorithm, bandwidth usage by videocache, etc. More robust videocache scheduler with a lot more options and features. Have a look at changelog for more details. If you have purchased Videocache in last one year, Contact Us to claim your free upgrade. Please mention the email address using which you purchased Videocache. New users proceed to Pricing Page right now, secure your copy and enjoy caching :-) Also, check our new and simplified upgrade policy :-)

Youtube HD


6 replies [Last post]
Anonymous
Youtube HD
Printer-friendly versionSend to friend

Youtube HD

Cache video caches Youtube files in the standard quality.When we click the HQ/HD button the movie is going from the cache and it is not in High quality but in the cached low quality .I have a partial fix to this.I adden two lines in the url_rewrite section:

acl videocache_deny1_url urlpath_regex -i (&itag=22|&itag=35|&itag=18|&itag=6)
url_rewrite_access deny videocache_deny1_url

Thoose lines makes that squid plays files with high quality directly from the site and the standard quality movies are still played from the cachevideo.

Wyzio1 (not verified)

Hi Admin.I have a suggestion.I thinked aout the cachevideos to make them able to cache and play high quality movies from youtube.And the one idea was to make cache videos cache the same video with other qualities.This can be done with reading the fmt parametr from each video and then saving it as an extension to the file.Then when you will play the file in a HD quality then cachevideo plays the file with the fmt=22 extension , when low quality then with fmt=34 . I think that will be easy to do.The problem is that that would be a big waste of disk space to cache the same video four times in a another quality.

I think better would be.When i make a request to a video.Then cachevideos proofs the max quality of the video and caches the video version that has the best quality.Then when you will play a video then cachevideo make a conversion with an external converter (FFmpeg) to a Quality that yout will see (low,medium,high or HD) . Orginal youtube has this system , that it has one video in HD quality and then it converts it on the fly to an another requested by us Quality of the movie.I think thak can by also be done and it will wast not so much space for videos as the one suggestion.I think you will answer . Thanks :) Tom

admin's picture
Offline
Joined: Nov 2 2008

Hi all!

Thanks for your constant efforts to improve videocache. Currently I am too busy with other works and can't promise to work on it. I'll get back as soon as possible and try to fix things and videocache will cache HD videos as well :)

Thank You!

Wyzio1 (not verified)

Hi Admin . I have a question.Where should i change the code of the program to make cachevideos save files from youtube with an fmt=35 argument and not with an standard fmt=34 argument .And then when i will play with standard quality then it plays with HQ quality from the cache and HQ too .But when i change to HD then it will play directly from youtube with HD quality . Now i have so that i cache standard quality and play it from the cache .All other HQ and HD quality formats are played directly from internet.It would be great to cache automaticly HQ format and play it in the HQ and LQ window and HD directly from internet (HD directly beacuse no all people have such an fast PC to play HD videos) .Sorry for my English .Tom :)

vincent (not verified)

Hi Kulbir!

It's been a while. :) I bought another server with 2 1-terabyte HDDs. im planning to utilize the 2 HDDs for videocaching, in setting the BASE DIR in the videocache.conf, will i just do it like this: base_dir = disk1/videocache1/ | disk2/videocache2/ ? or do i need to manually install everything instead of running the "python setup.py install" to set the 2 BASE DIRs on separate diks?

Please reply. thanks!

Vincent

admin's picture
Offline
Joined: Nov 2 2008

Hi Vincent,

Just change the base dir to base_dir = disk1/videocache1/ | disk2/videocache2/ and run the update script and it should work fine.

Let me know if you get stuck somewhere :)

Thank You!

TheOne Khan (not verified)

Well best thing to make a raid0 striping and reiser FS and use lighttpd as web server it will help you a lot but remember one thing for large cache you need to have big RAM I am using 16GB for 1.1 TB on 4*300 GB SCSI ... and saving up to 40 to 60 Mbits/s.

2 T.B the use 24 GB or 32 GB RAM.

More you Put more you get.

TheOne Khan

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.

My Book on Squid

Purchase/Renew

One License - USD $399
One License - USD $349*
Validity - One Year
Need more? Contact Us
*Includes free upgrades and support for one year.



For details, check pricing.

Recent comments

Who's online

There are currently 0 users and 164 guests online.