You are hereForums / Support / Crazy idea ? reencode videos before serving, possible ?

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 :-)

Crazy idea ? reencode videos before serving, possible ?


2 replies [Last post]
Offline
Joined: Nov 30 2009
Crazy idea ? reencode videos before serving, possible ?
Printer-friendly versionSend to friend

Hi,
I'm on a satellite connexion, with 28 days quotas so bandwidth is really an important preocupation.
Meanwhile I'm often using download sites like megaupload to for avi files.

I have a server (a debian etch in a datacenter, not on my satellite connexion) with squid setup.

Next step now, would be to find a way to convert avi files to lower quality, h264, to make them much smaller before downloading them.

Do you think there is any way to acheive this ? does squid/videocache look like the wrong path or not ?

Offline
Joined: Nov 30 2009

Oki,
I got my copy and am spinning around in the code. I'm discovering Python, this language looks awesome !

I'll try to add postProcess capability in videocache.download_from_source(), so it would be, depending on configuration, a simple rename from temp dir to cache dir, or in my situation, a system call to ffmpeg (source in temp folder, destination in cache dir).

I guess the most tricky part will be to deal with processes and forking (actually, I don't want the process to fork, best would be to make the download available only when encoding is finished)

admin's picture
Offline
Joined: Nov 2 2008

Demental,

Its actually a very good idea. Can save huge bandwidth on slow connection still giving a really nice user experience. I'll see what can be done.

Thank You!

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 108 guests online.