Announcement

Collapse
No announcement yet.

YouTube videos cut short

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    YouTube videos cut short

    When I start playing a YouTube video, all is well till I get to around 1m30secs, when the download stops. I can't get it to continue - if I restart it, the same thing happens.

    My wife's PC, running W7, seems to be better - it works most of the time (but also stops dead occasionally, though not at the same point).

    I'm wondering if it's some form of a temporary cap applied by my ISP, or simply the ADSL line running out of capacity (I live in rural France, at the end of a long, old copper telephone line)?

    Any help will be appreciated

    Thanks

    #2
    In case it's the line your computer would wait until YouTube had replenished the buffer and then continue to play.
    Do check if your wife is watching a smaller version of the video, after all I assume you did the comparison on the same long line...

    A local problem could be your Linux install is lacking space for the buffer, unlikely but...

    Comment


      #3
      Originally posted by Teunis View Post
      In case it's the line your computer would wait until YouTube had replenished the buffer and then continue to play.
      Do check if your wife is watching a smaller version of the video, after all I assume you did the comparison on the same long line...

      A local problem could be your Linux install is lacking space for the buffer, unlikely but...
      Hi, Teunis,

      Yes, my wife shares the same line, and it was the same version, a few minutes apart.

      Normally, as you say, the video merely pauses till YouTube replenishes, but recently, it's been freezing, as I described - no sign of any "catch-up" activity from YouTube.

      ??

      Thanks

      Comment


        #4
        Been having problems with Youtube for about a month. I can't prove it, but my gut tells me that most ISP's throttle Youtube because it consumes massive amounts of bandwidth.
        Klaatu Barada Nikto

        Comment


          #5
          I'm on a no-throttling, no-messing ISP and YouTube works fine, both on 13.04 and 13.10.
          According to Dutch law such shenanigans would be illegal anyway.

          Comment


            #6
            Humm youtube,thistube,thattube, all seam to play fine hear on 12.04,12.10 .....not in the 13.04 install enough to be sure ....but will see later tonight.

            VINNY
            i7 4core HT 8MB L3 2.9GHz
            16GB RAM
            Nvidia GTX 860M 4GB RAM 1152 cuda cores

            Comment


              #7
              With your browser opened and playing a youtube video (and no other tabs or sites loaded), open a konsol and issue:
              netstat -na
              which, in the top half of the listing, will give you a list of IP addresses with ESTABLISHED connections. YouTube IP begins with 206.111 or 74.125
              Mine starts with the latter. Those are the throttled ports.
              There are two solutions to break the throttle but both essentially block one or both of those IP addresses, which forced YouTube to default to the unthrottled server.

              1) Install "BlockSite" on FireFox (I don't use Chromium)
              https://addons.mozilla.org/en-US/fir...teplus/?src=ss

              2) Add the following rule to your firewall, if you are running a firewall:
              iptables -I FORWARD -s 192.168.0.0/24 -d 206.111.0.0/16 -j REJECT
              iptables -D FORWARD -s 192.168.0.0/24 -d 206.111.0.0/16 -j REJECT

              If you use DROP instead of REJECT you may get timeout problems.

              Change your local subnet and the YouTube addresses to match your situation.

              DISCLAIMER: I read this somewhere and took notes, but can't remember where. Also, my Youtube speed is very fast without either method, so I haven't tried them. But, those who have claim miracles!
              Last edited by GreyGeek; Sep 09, 2013, 06:09 PM.
              "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
              – John F. Kennedy, February 26, 1962.

              Comment


                #8
                I am having the exact same problem with my 12.04 computer, my 13.04 works.

                I am using Firefox, what is eveyone else using, and are you having the same problem in other browsers?
                Rob

                Comment


                  #9
                  Originally posted by GreyGeek View Post
                  With your browser opened and playing a youtube video (and no other tabs or sites loaded), open a konsol and issue:
                  netstat -na
                  which, in the top half of the listing, will give you a list of IP addresses with ESTABLISHED connections. YouTube IP begins with 206.111 or 74.125
                  Mine starts with the latter. Those are the throttled ports.
                  Just run the same video again, and there's a 74.125 in the listing.

                  YET, the video ran cleanly to the end - in fact, the buffer was running ahead, something it hasn't done for a while.

                  Given it's 10am here, and all the local kids are in school, maybe I've the ADSL line all to myself. At other times, I'll have to share it with them - maybe there's not enough capacity and it chokes?. If that's the case, it should be resolved next month - we're getting a fibre-optic connection in the village. Yippee!

                  In the meantime, I could add "Blocksite" to my browser (Chromium). I guess I just block those two IP addresses?

                  Cheers

                  Comment


                    #10
                    Originally posted by GreyGeek View Post
                    With your browser opened and playing a youtube video (and no other tabs or sites loaded), open a konsol and issue:
                    netstat -na
                    which, in the top half of the listing, will give you a list of IP addresses with ESTABLISHED connections. YouTube IP begins with 206.111 or 74.125
                    Mine starts with the latter. Those are the throttled ports.
                    There are two solutions to break the throttle but both essentially block one or both of those IP addresses, which forced YouTube to default to the unthrottled server.

                    1) Install "BlockSite" on FireFox (I don't use Chromium)
                    https://addons.mozilla.org/en-US/fir...teplus/?src=ss

                    2) Add the following rule to your firewall, if you are running a firewall:
                    iptables -I FORWARD -s 192.168.0.0/24 -d 206.111.0.0/16 -j REJECT
                    iptables -D FORWARD -s 192.168.0.0/24 -d 206.111.0.0/16 -j REJECT

                    If you use DROP instead of REJECT you may get timeout problems.

                    Change your local subnet and the YouTube addresses to match your situation.

                    DISCLAIMER: I read this somewhere and took notes, but can't remember where. Also, my Youtube speed is very fast without either method, so I haven't tried them. But, those who have claim miracles!
                    Using Block Site, I blocked every 74.125 on the list, and when I do new ones show up? What does the unthrottled IP addres look like?
                    Rob

                    Comment


                      #11
                      Do the new ones act like they are throttled?
                      Generally, using 74.125.0.0/16 blocks all of them in that range.
                      If the new IP appear to be throttled then block them as well.
                      When you get to a point that YouTube videos don't play then unblock the last set you blocked.
                      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                      – John F. Kennedy, February 26, 1962.

                      Comment


                        #12
                        Hi again!

                        Has anyone found a way round this problem yet? I can't watch any youtube video on any computer in my house. I can watch videos from sites other then youtube....

                        Kubuntu 13.10
                        Rob

                        Comment


                          #13
                          I'm afraid your problem is with the ISP, not the computers.

                          There's a small possibility youtu.be would not be throttled, try...

                          Or type in one of these IP addresses, in case the throttling is done on DNS it might by-pass the block:
                          • 208.65.153.238
                          • 208.65.153.251
                          • 208.65.153.253
                          • 208.117.236.69


                          Again if the ISP is using their DNS to filter youtube you might try alternative DNS servers, check google for some.

                          Comment


                            #14
                            Are you using html5 or flash? HTML5, right?
                            Registered Linux User 545823

                            Comment


                              #15
                              No flash! Is there a way to convert only youtube videos to HTML 5?
                              Rob

                              Comment

                              Working...
                              X