The Un-Official Proxomitron Forum

Full Version: Add web accelerator features to our local proxies?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi whenever, I my idea, do you think local proxy can accelerate video download like Speedbit Video Accelerator or Speedyitunes or Bywifi ?
I don't know how there agrothirm algorithm work but seem they open more connection while downloading video like Download Manager Software did, I think it is great if we can found out a way, this help user that have low internet connection speed can watch video faster I think..

From Speedbit: http://www.videoaccelerator.com/faq/#g3
Quote: With SPEEDbit Video Accelerator installed, your web browser downloads streaming videos with patented multi-connection technology. Unlike the normal browser connection, SPEEDbit Video Accelerator uses unique patent-pending technology to load videos through multiple-simultaneous connections. The end results are a significantly faster connection, videos that play without interruption, and no wait for your favorite videos.

http://stackoverflow.com/questions/15450...rator-work
- So, looks like they open multiple http sessions and stitch the results together on the other end. Similar to many download managers.

We still can experimental with Free Download Manager, get video download link and download, FDM open a lot connection and really speed up download, and we can watch video when downloading too, but with exception that video hosting allow more than 1 connection when downloading.

My idea, seem most legit: Use a software that can accelerate video download speed like VLCPlayer (yes, everytime I use VLC to watch Twitch.tv, much faster) and listen at a port then use our local proxy server to check if url is video and forward to that port, and we have ability to accelerate video download speed.

Seem this addon can do the trick, but how to do that in local proxy software ? http://www.ideawide.com/download-unlimited/
https://github.com/rumal/Download-Unlimited
http://prxbx.com/forums/showthread.php?t...4#pid17234


Edits,
Whenever: [split] Another Filtering Proxy
JJoe: Add web accelerator features to our local proxies?
(Dec. 11, 2014 03:16 PM)GunGunGun Wrote: [ -> ]do you think local proxy can accelerate video download like Speedbit Video Accelerator or Speedyitunes or Bywifi ?

I think those names you mentioned are some kind of local proxy.

(Dec. 11, 2014 03:16 PM)GunGunGun Wrote: [ -> ]... listen at a port then use our local proxy server to check if url is video and forward to that port ...

Don't Proxomitron/Privoxy already support that?

(Dec. 11, 2014 03:16 PM)GunGunGun Wrote: [ -> ]Seem this addon can do the trick, but how to do that in local proxy software ?

I think all download accelerators (kind of proxy) do this.
Quote: I think all download accelerators (kind of proxy) do this.

Thank you, After some Googles, I, seem I finally figure how my idea will look like.

At this time I understand how Range header work, it work by splitting file using Range: bytes=0-???, and browser will only download from 0-???bytes, so if we detect if file is video type (very easy) and then use open multiple download with local proxy using something like this, example:

REQUEST youtube.com/videoplayback.mp4 (40MB)

We will add something like Range: bytes=0-20000 and open another connection with Range: bytes=20000-40000. (I know that byte in my example if convert to MB is wrong but just my example)
Maybe, but I am 99% sure that we will need the help of Content-Length by fetching a few bytes from that video file and then divide value to use in Range header-like method again.

That mean we will have a really complicate work here:
- First request that file, get its Content-Length value
- Devide that value, and open connection based on that value
- After it get fully downloaded, send to browser

Seem a little bit not as good as Speedbit Video Accelerator because we cannot watch that video file until it fully downloaded but I think this way much more easier to implement. And that even better than watch that video but lag and spike happen regularly... Seem if we implement ability to preview that video then it will be much harder, it will work like:

- First request that file, get its Content-Length value
- Devide that value, and open connection based on that value
- Let browser download 1st connection when we are trying to download all other connections.
- Use some technology like keep-alive to continuously increase 1st connection by merging it with 2nd til the last connection. If i'm not wrong, I already saw some game use technology like, maybe Rise of Mythos, reponse still keep-alive with server and get more infomation without create a new request.




Just my idea, hope that give you some inspiration, it is a little bit weird but I think it is really helpful, some video site like mp4upload or auengine.io can open more than 1 connection, but browser only open 1, so really we cannot reach our max download speed
Well, I have to say, I know how the Range header works, but I'm not interested in writing an accelerator at all.

BTW, keep-alive connection is the default in HTTP/1.1.
Thanks for replying,
I will try to learn some programming language that help me write an small proxy that can do video acceleration.
Great! I look forward to seeing your works. ;-)
Hope I can do that an I wonder maybe I need really long time to make it done.
I'm an network engineer, so I'm only familiar with router switch than programming language.
It's not a good reason.

If it could give you some confidence, my job is dealing with customers and it is not in the technical field at all. Wink
Reference URL's