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
    Originally posted by Teunis
    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


      #3
      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


        #4
        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


          #5
          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


            #6
            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


              #7
              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


                #8
                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


                  #9
                  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


                    #10
                    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


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

                      Comment


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

                        Comment


                          #13
                          Originally posted by Robtygart View Post
                          No flash! Is there a way to convert only youtube videos to HTML 5?
                          some info http://www.w3schools.com/html/html5_video.asp

                          you can opt in to youtube HTML5 video on your acct. settings if you have one.

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

                          Comment


                            #14
                            It may not solve your problem, but I use ][HTML5 & [THIS
                            Registered Linux User 545823

                            Comment


                              #15
                              Well, as far as I can tell, the problem has gone away.

                              Our village was upgraded to a fibre-optic connection with a new distribution cabinet, and I'm now enjoying speeds of 20MB and more. So, it looks line capacity WAS the problem.

                              Thanks to all who offered advice - always appreciated

                              Comment

                              Working...
                              X