On 2014-04-14 15:30, Per Jessen wrote:
Carlos E. R. wrote:
On 2014-04-14 06:16, Carlos E. R. wrote:
On 2014-04-14 04:38, Carl Hartung wrote:
Invoke 'youtube-dl --help' to view additional options.
...
Using "-r 50K" with several combinations does not limit speed to 50K, but rather to an average 50K by stopping it fully at intervals, then continuing at full speed.
That's a pity, it seemed like a god solution. I guess the rate-calculator has room for improvement.
Yep :-( OR, youtube can not be controlled otherwise... :-?
If you need this sort of rate limiting frequently, you could look at using 'tc' (traffic control) on your firewall. It's quite complex to set up, but it works very well. I used to use it for reserving bandwidth for VoIP.
Not frequently, no. But see later.
Another simple option is to see if TOS works for you:
iptables -A PREROUTING -t mangle -p udp --dport 53 -j TOS --set-tos Minimize-Delay
I've got that sort of thing in my firewall for dns and ssh, but I have never tried to see if it actually has any effect :-)
BUT, that would allow DNS traffic to work on my desktop, not on the rest of gadgets on the house. I would have to set that up in the router instead, and this is limited to what the manufacturer designed (it is a TP-LINK TD-W8970). I will try "trickle" combined with "youtube-dl". If that works it should be the easiest solution. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)