As part of my dump Google efforts I switched my FF browser user-agent from Chromium to FF.
The first thing I noticed was that the YouTube videos would not buffer as fast, and at 720HD I experienced frequent interruptions while the stream caught up with the player. At the best the video would stop for a couple seconds every 15-20 seconds. Suddenly, when I attempted to play a YouTube video it appeared at full screen width, but only half the height. Hitting the play button got an instant message saying the video couldn't play "because one of the following protocols (vnd.youtube) isn't associated with any program". A reboot didn't cure the problem. I could no longer play any YouTube video. A DuckDuckGo search didn't show a fix for an unassigned vnd.YouTube.
So, out of curiosity I reset the user agent back to Chromium. Bingo! All videos played normally and the buffer shot down the progress bar well ahead of the video play point. All lagging caused by buffering stopped.
EDIT: I wrote too fast! YouTube videos showed severe lagging on videos I hadn't watched before. The new PBS SpaceTime vid from Dr Dowd would play for three seconds and buffer for a minute. It was obvious to me that part of running Chromium is getting special treatment by Google, and using a Chromium user agent didn't fool them for long. Chromium would be faster than FF on Google sites if Google was favoring Chromium browsers.
Anyway, I recalled that YouTube uses certain IP addresses to send filtered streams to end users and after doing some checking I found out that if I block the follow sites:
173.194.53.0/24
206.111.0.0/16
my video speed picks up tremendously. That PBS SpaceTime video, which I gave up watching about 5 minutes in, played smoothly, as the incoming stream stayed well ahead of the display and reached the end while the 15 minute video was less than half way done.
My router dispenses IP addresses in the 192.168.1.* range so I am using the following iptables rule:
iptables -I FORWARD -s 192.168.1.0/24 -d 173.194.53.0/24 -j REJECT
iptables -I FORWARD -s 192.168.1.0/24 -d 206.111.0.0/16 -j REJECT
and to delete them later if necessary I documented the following,
iptables -D FORWARD -s 192.168.1.0/24 -d 173.194.53.0/24 -j REJECT
iptables -D FORWARD -s 192.168.1.0/24 -d 206.111.0.0/16 -j REJECT
in case I need to remove the block. I know it blocks about 65K of address space , but I'll see how it goes. Hopefully there aren't any websites in that range that I want to use. Or, I could get lucky and block a lot of malware sites!
The first thing I noticed was that the YouTube videos would not buffer as fast, and at 720HD I experienced frequent interruptions while the stream caught up with the player. At the best the video would stop for a couple seconds every 15-20 seconds. Suddenly, when I attempted to play a YouTube video it appeared at full screen width, but only half the height. Hitting the play button got an instant message saying the video couldn't play "because one of the following protocols (vnd.youtube) isn't associated with any program". A reboot didn't cure the problem. I could no longer play any YouTube video. A DuckDuckGo search didn't show a fix for an unassigned vnd.YouTube.
So, out of curiosity I reset the user agent back to Chromium. Bingo! All videos played normally and the buffer shot down the progress bar well ahead of the video play point. All lagging caused by buffering stopped.
EDIT: I wrote too fast! YouTube videos showed severe lagging on videos I hadn't watched before. The new PBS SpaceTime vid from Dr Dowd would play for three seconds and buffer for a minute. It was obvious to me that part of running Chromium is getting special treatment by Google, and using a Chromium user agent didn't fool them for long. Chromium would be faster than FF on Google sites if Google was favoring Chromium browsers.
Anyway, I recalled that YouTube uses certain IP addresses to send filtered streams to end users and after doing some checking I found out that if I block the follow sites:
173.194.53.0/24
206.111.0.0/16
my video speed picks up tremendously. That PBS SpaceTime video, which I gave up watching about 5 minutes in, played smoothly, as the incoming stream stayed well ahead of the display and reached the end while the 15 minute video was less than half way done.
My router dispenses IP addresses in the 192.168.1.* range so I am using the following iptables rule:
iptables -I FORWARD -s 192.168.1.0/24 -d 173.194.53.0/24 -j REJECT
iptables -I FORWARD -s 192.168.1.0/24 -d 206.111.0.0/16 -j REJECT
and to delete them later if necessary I documented the following,
iptables -D FORWARD -s 192.168.1.0/24 -d 173.194.53.0/24 -j REJECT
iptables -D FORWARD -s 192.168.1.0/24 -d 206.111.0.0/16 -j REJECT
in case I need to remove the block. I know it blocks about 65K of address space , but I'll see how it goes. Hopefully there aren't any websites in that range that I want to use. Or, I could get lucky and block a lot of malware sites!
Comment