Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: HTML5 player (YouTube) is a pain!...Alternatives?
Date: Wed, 30 Nov 2016 09:37:31
Message-Id: 8815755.druzrvIopn@eve
In Reply to: Re: [gentoo-user] Re: HTML5 player (YouTube) is a pain!...Alternatives? by Meino.Cramer@gmx.de
1 On Wednesday, November 30, 2016 07:55:11 AM Meino.Cramer@×××.de wrote:
2 > J. Roeleveld <joost@××××××××.org> [16-11-30 07:28]:
3 > > On Wednesday, November 30, 2016 07:08:45 AM Meino.Cramer@×××.de wrote:
4 > > > J. Roeleveld <joost@××××××××.org> [16-11-30 06:48]:
5 > > > > On Wednesday, November 30, 2016 05:33:15 AM Meino.Cramer@×××.de wrote:
6 > > > > > Kai Krakow <hurikhan77@×××××.com> [16-11-30 05:08]:
7 > > > > > > Am Tue, 29 Nov 2016 07:42:16 +0100
8 > > > > > >
9 > > > > > > schrieb Meino.Cramer@×××.de:
10 > > > > > > > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
11 > > > > > > > Most of the videos while playayaingnaying arereare
12 > > > > > > > stututterutering
13 > > > > > > > liiklike helellell.
14 > > > > > > >
15 > > > > > > > I tested a lot of HTML5 addons to fix that problem and googled
16 > > > > > > > around the world but nothing helps. The only thing I found is an
17 > > > > > > > iconic sentence, which is true in this case also:
18 > > > > > > > "You are not alone...!".
19 > > > > > > >
20 > > > > > > > Is there any way to feed the stream from youtube direktly into
21 > > > > > > > a not blown player like mpv/mplayer or such (I would prefer
22 > > > > > > > not to load a complete gui (vlc) with any click again and
23 > > > > > > > again.)?
24 > > > > > >
25 > > > > > > For me it was just the other way around. HTML5 mode played much
26 > > > > > > (very
27 > > > > > > much!) more smooth than flash player. I opted in early by that
28 > > > > > > time
29 > > > > > > for
30 > > > > > > switching YT to HTML5 player. This was for Chrome, of course,
31 > > > > > > because
32 > > > > > > by that time Firefox wasn't really compatible.
33 > > > > > >
34 > > > > > > You probably really should check your graphics stack. If you have
35 > > > > > > an
36 > > > > > > at
37 > > > > > > least somewhat decent machine (something which was built during
38 > > > > > > the
39 > > > > > > last 5 years), you should have absolutely no problems playing
40 > > > > > > videos
41 > > > > > > in
42 > > > > > > the HTML5 player. Even my aging machine in the office (which
43 > > > > > > didn't
44 > > > > > > play smooth videos in the flash player) runs full HD streaming
45 > > > > > > videos
46 > > > > > > smoothly in the HTML5 player - no stuttering, no blocking, no
47 > > > > > > framedrops. This was different with the flash player which looked
48 > > > > > > like
49 > > > > > > it dropped every second frame in fullscreen mode - but at least it
50 > > > > > > did
51 > > > > > > not stutter due to that "optimization".
52 > > > > > >
53 > > > > > > Maybe give some information about your graphics stack and
54 > > > > > > configuration...
55 > > > > >
56 > > > > > Hi Kai,
57 > > > > >
58 > > > > > I think that the hardware is not the problem, since downloading the
59 > > > > > video and playing it offline had resulted in no problems ever...
60 > > > > >
61 > > > > > Cheers
62 > > > > > Meino
63 > > > >
64 > > > > Meino,
65 > > > >
66 > > > > In one of your other emails, you mentioned that your ADSL is incapable
67 > > > > of
68 > > > > providing the full-HD stream.
69 > > > > This could easily be the cause for the issues you are having with
70 > > > > HTML5
71 > > > > video as well. Maybe look into cache-options?
72 > > > >
73 > > > > --
74 > > > > Joost
75 > > >
76 > > > Joost,
77 > > >
78 > > > did this (~/.config/mpv/mpv.config) with no positive effect.
79 > > > I decreased the video resolution to <1280 (again via mpv.conf) which
80 > > > helps to some degree.
81 > > > Interesting is: It hangs always a the same points in the video if
82 > > > playing the same video with different configurations.
83 > > >
84 > > > I called mpv with an url form the commandline and indeed it shows
85 > > > "playing video" and "buffering" (at this point it hangs) alternateing.
86 > > >
87 > > > The FF problem was not only hangs but something like the following
88 > > > sentence:
89 > > >
90 > > > Thehe quiquickkckick bkrowownwn foxoxfoxx joxujumumpjumpsumps
91 > > > oveovrver thhehe lazazylazyzy dogog
92 > > >
93 > > > Somehow three steps forward and two backwards. The audio was never
94 > > > effected though.
95 > > >
96 > > > With "Play with mpv" it """"only"""" hangs.
97 > > >
98 > > > Do I really need an new DSL contract with my provider becayse
99 > > > FF has switched to HTML5 only?
100 > > >
101 > > > Can't be...or?
102 > >
103 > > It depends. (seriously)
104 > >
105 > > What you describe is what I get when I'm using my mobile connection with
106 > > bad reception. In other words, it does sound like a bandwidth issue.
107 > >
108 > > Dave solves that by downloading the files and then watching it locally.
109 > >
110 > > What kind of bandwidth (up and down) do you have? And what else is using
111 > > that connection while you are trying to watch a video?
112 > >
113 > > I don't think it's HTML5 at fault, the same amount of data needs to be
114 > > transfered, but it might be that HTML5 is less bandwidth efficient than
115 > > Flash.
116 > >
117 > > I don't seem to have flash installed on my current machine and am using
118 > > FF45.5. In there, with Youtube, I do get the option to change the
119 > > resolution on the video-streams. Don't you get that?
120 > >
121 > > --
122 > > Joost
123 >
124 > I checked the current bandwidth (07:48 am local time) with this
125 > http://speedcheck.vodafone.de/
126 >
127 > and got:
128 > 2,1 Mbps download
129 > 0,1 Mbps upload
130 > 58 ms latency (ping test)
131 >
132 > There is no other kind of task which consumes bandwidth
133 > (while checking the above or while streaming videos)
134
135 0,1 Mbps upload...
136 This is really small. If there is a process that is uploading with 50Kbps
137 (=0,05Mbps), you will loose HALF of your download.
138 And 50Kbps is achieved really quickly.
139
140 With this, I would kill any application that might use the internet, like
141 email.
142
143 Anything less then 10Mbps down / 1Mbps up would not even be considered by me.
144
145 > Another (real odd) possibillitu would be: Someone has
146 > hijacked my DSL modem (its no router) - its an older
147 > Fritz! box.
148
149 That's always possible. But unless there is a massive DDOS going on right now,
150 I don't think that would be of any use.
151
152 Do you use a network cable or wireless during tests?
153
154 --
155 Joost

Replies