public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
@ 2016-11-29  6:42 Meino.Cramer
  2016-11-29  7:06 ` Alarig Le Lay
                   ` (6 more replies)
  0 siblings, 7 replies; 38+ messages in thread
From: Meino.Cramer @ 2016-11-29  6:42 UTC (permalink / raw
  To: Gentoo

Hi,

I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
Most of the videos while playayaingnaying arereare stututterutering
liiklike helellell. 

I tested a lot of HTML5 addons to fix that problem and googled
around the world but nothing helps. The only thing I found is an
iconic sentence, which is true in this case also:
"You are not alone...!".

Is there any way to feed the stream from youtube direktly into
a not blown player like mpv/mplayer or such (I would prefer
not to load a complete gui (vlc) with any click again and again.)?

Thanks for any help in advance!
Cheers
Meino

PS: For the completeness:
I have tried to fix that problem by:
Restarting firefox
Disabling hardware acceleration
Disabling webgl
Checking, whether the YouTube-testpage shows "all ok" for HTML5 (it does)
Checking various about:config-setting for usefulness
De-/Installing various addons, which all promise the heaven on earth



^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  6:42 [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives? Meino.Cramer
@ 2016-11-29  7:06 ` Alarig Le Lay
  2016-11-29  7:35   ` Meino.Cramer
  2016-11-29  7:33 ` Marat BN
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 38+ messages in thread
From: Alarig Le Lay @ 2016-11-29  7:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]

On Tue Nov 29 07:42:16 2016, Meino.Cramer@gmx.de wrote:
> Is there any way to feed the stream from youtube direktly into
> a not blown player like mpv/mplayer or such (I would prefer
> not to load a complete gui (vlc) with any click again and again.)?

Hi,

Yes, you can play video from youtube with mpv if you have emerged
net-misc/youtube-dl.

-- 
alarig

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  6:42 [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives? Meino.Cramer
  2016-11-29  7:06 ` Alarig Le Lay
@ 2016-11-29  7:33 ` Marat BN
  2016-11-29  9:19   ` Meino.Cramer
  2016-11-29  9:49 ` Volker Armin Hemmann
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 38+ messages in thread
From: Marat BN @ 2016-11-29  7:33 UTC (permalink / raw
  To: gentoo-user

I've been running the youtube-flash-player Firefox addon
https://addons.mozilla.org/en-US/firefox/addon/youtube-flash-player/ for
several months now with decent results.  It just reverts YouTube back to
the old Flash video player.  It's been working well for me.  I'm not
affiliated with it and I recommend it.


-- Marat


-------- Original Message --------
Subject: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
From: Meino.Cramer@gmx.de
To: Gentoo <gentoo-user@lists.gentoo.org>
Date: 11/28/2016 10:42 PM
> Hi,
>
> I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> Most of the videos while playayaingnaying arereare stututterutering
> liiklike helellell. 
>
> I tested a lot of HTML5 addons to fix that problem and googled
> around the world but nothing helps. The only thing I found is an
> iconic sentence, which is true in this case also:
> "You are not alone...!".
>
> Is there any way to feed the stream from youtube direktly into
> a not blown player like mpv/mplayer or such (I would prefer
> not to load a complete gui (vlc) with any click again and again.)?
>
> Thanks for any help in advance!
> Cheers
> Meino
>
> PS: For the completeness:
> I have tried to fix that problem by:
> Restarting firefox
> Disabling hardware acceleration
> Disabling webgl
> Checking, whether the YouTube-testpage shows "all ok" for HTML5 (it does)
> Checking various about:config-setting for usefulness
> De-/Installing various addons, which all promise the heaven on earth
>
>



^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  7:06 ` Alarig Le Lay
@ 2016-11-29  7:35   ` Meino.Cramer
  2016-11-29  8:27     ` Alarig Le Lay
                       ` (2 more replies)
  0 siblings, 3 replies; 38+ messages in thread
From: Meino.Cramer @ 2016-11-29  7:35 UTC (permalink / raw
  To: gentoo-user

Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 08:16]:
> On Tue Nov 29 07:42:16 2016, Meino.Cramer@gmx.de wrote:
> > Is there any way to feed the stream from youtube direktly into
> > a not blown player like mpv/mplayer or such (I would prefer
> > not to load a complete gui (vlc) with any click again and again.)?
> 
> Hi,
> 
> Yes, you can play video from youtube with mpv if you have emerged
> net-misc/youtube-dl.
> 
> -- 
> alarig

Hi Alarig,

thanks for your help! :)

yes...I know...but this implies (as far as I know):
Copying the url from FF as argument to youtube-dl,
downloading the file, and than watching it.
This was my (painful) workaround the last days.

I woyld like something like:
Click on youtube-url, a window (console) pops up 
and starts <fill in something> to watch the video
directly.

Is it possible somehow?

Thanks in advance for any help!

Cheers,
Meino






^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  7:35   ` Meino.Cramer
@ 2016-11-29  8:27     ` Alarig Le Lay
  2016-11-29 17:15     ` Poncho
  2016-11-29 20:00     ` Simon Thelen
  2 siblings, 0 replies; 38+ messages in thread
From: Alarig Le Lay @ 2016-11-29  8:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1478 bytes --]

On Tue Nov 29 08:35:53 2016, Meino.Cramer@gmx.de wrote:
> Hi Alarig,
> 
> thanks for your help! :)
> 
> yes...I know...but this implies (as far as I know):
> Copying the url from FF as argument to youtube-dl,
> downloading the file, and than watching it.
> This was my (painful) workaround the last days.
> 
> I woyld like something like:
> Click on youtube-url, a window (console) pops up 
> and starts <fill in something> to watch the video
> directly.
> 
> Is it possible somehow?
> 
> Thanks in advance for any help!

I don’t know if it possible to automatically pop up a console, but you
can stream directly from mpv. But their is a youtube-dl hook for this,
so you need to emerge it before.

alarig@pikachu ~ % mpv https://www.youtube.com/watch\?v\=A_LxJWHnjSI                                            
Warning: mpv was compiled against a different version of ffmpeg than the shared
library it is linked against. This can expose subtle ABI compatibility issues
and can lead to misbehavior and crashes.
Playing: https://www.youtube.com/watch?v=A_LxJWHnjSI
 (+) Video --vid=1 (vp8)
 (+) Audio --aid=1 (*) (vorbis)
[vo/opengl/x11] X11 error: GLXBadFBConfig
[vo/opengl] Could not create GL3 context. Retrying with legacy context.
AO: [alsa] 48000Hz stereo 2ch float
VO: [opengl] 480x270 yuv420p
AV: 00:00:03 / 00:02:33 (2%) A-V: -0.000 Cache: 10s+285KB


Exiting... (Quit)

But the best is to run away from google ;)

-- 
alarig

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  7:33 ` Marat BN
@ 2016-11-29  9:19   ` Meino.Cramer
  2016-11-29  9:36     ` Alarig Le Lay
  0 siblings, 1 reply; 38+ messages in thread
From: Meino.Cramer @ 2016-11-29  9:19 UTC (permalink / raw
  To: gentoo-user

Marat BN <maratbn@gmail.com> [16-11-29 08:44]:
> I've been running the youtube-flash-player Firefox addon
> https://addons.mozilla.org/en-US/firefox/addon/youtube-flash-player/ for
> several months now with decent results.  It just reverts YouTube back to
> the old Flash video player.  It's been working well for me.  I'm not
> affiliated with it and I recommend it.
> 
> 
> -- Marat
> 
> 
> -------- Original Message --------
> Subject: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
> From: Meino.Cramer@gmx.de
> To: Gentoo <gentoo-user@lists.gentoo.org>
> Date: 11/28/2016 10:42 PM
> > Hi,
> >
> > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> > Most of the videos while playayaingnaying arereare stututterutering
> > liiklike helellell. 
> >
> > I tested a lot of HTML5 addons to fix that problem and googled
> > around the world but nothing helps. The only thing I found is an
> > iconic sentence, which is true in this case also:
> > "You are not alone...!".
> >
> > Is there any way to feed the stream from youtube direktly into
> > a not blown player like mpv/mplayer or such (I would prefer
> > not to load a complete gui (vlc) with any click again and again.)?
> >
> > Thanks for any help in advance!
> > Cheers
> > Meino
> >
> > PS: For the completeness:
> > I have tried to fix that problem by:
> > Restarting firefox
> > Disabling hardware acceleration
> > Disabling webgl
> > Checking, whether the YouTube-testpage shows "all ok" for HTML5 (it does)
> > Checking various about:config-setting for usefulness
> > De-/Installing various addons, which all promise the heaven on earth
> >
> >
> 
> 

Hi Marat,

thanks for your help and link!

...if I install that addon I only get:
"Palyback isn't supported on this device"
(using Firefox 50.0)

From my system:
[I] www-plugins/adobe-flash
     Available versions:  
     (0)    11.2.202.644^ms
     (22)   23.0.0.207^ms ~24.0.0.154^ms
       {debug kde +npapi +ppapi selinux ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="sse2"}
     Installed versions:  23.0.0.207(22)^ms(18:31:52 11/25/16)(ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            http://www.adobe.com/products/flashplayer.html http://get.adobe.com/flashplayer/ https://helpx.adobe.com/security/products/flash-player.html
     Description:         Adobe Flash Player


It does not show up under "plugins" though....

Cheers,
Meino




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  9:19   ` Meino.Cramer
@ 2016-11-29  9:36     ` Alarig Le Lay
  2016-11-29 10:28       ` Meino.Cramer
  2016-11-30  0:35       ` Marat BN
  0 siblings, 2 replies; 38+ messages in thread
From: Alarig Le Lay @ 2016-11-29  9:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

On Tue Nov 29 10:19:15 2016, Meino.Cramer@gmx.de wrote:
> Hi Marat,
> 
> thanks for your help and link!
> 
> ...if I install that addon I only get:
> "Palyback isn't supported on this device"
> (using Firefox 50.0)

Mozilla began to drop flash support since firefox 50.

-- 
alarig

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  6:42 [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives? Meino.Cramer
  2016-11-29  7:06 ` Alarig Le Lay
  2016-11-29  7:33 ` Marat BN
@ 2016-11-29  9:49 ` Volker Armin Hemmann
  2016-11-29 12:28 ` Peter Humphrey
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 38+ messages in thread
From: Volker Armin Hemmann @ 2016-11-29  9:49 UTC (permalink / raw
  To: gentoo-user

Am 29.11.2016 um 07:42 schrieb Meino.Cramer@gmx.de:
> Hi,
>
> I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> Most of the videos while playayaingnaying arereare stututterutering
> liiklike helellell. 
>
> I tested a lot of HTML5 addons to fix that problem and googled
> around the world but nothing helps. The only thing I found is an
> iconic sentence, which is true in this case also:
> "You are not alone...!".
>
> Is there any way to feed the stream from youtube direktly into
> a not blown player like mpv/mplayer or such (I would prefer
> not to load a complete gui (vlc) with any click again and again.)?
>
> Thanks for any help in advance!
> Cheers
> Meino
>
> PS: For the completeness:
> I have tried to fix that problem by:
> Restarting firefox
> Disabling hardware acceleration
> Disabling webgl
> Checking, whether the YouTube-testpage shows "all ok" for HTML5 (it does)
> Checking various about:config-setting for usefulness
> De-/Installing various addons, which all promise the heaven on earth
>
>
> .
>
using chrome I have no problems at all, as long as the graphic driver
stack is working fine.


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  9:36     ` Alarig Le Lay
@ 2016-11-29 10:28       ` Meino.Cramer
  2016-11-29 13:52         ` Volker Armin Hemmann
  2016-11-30  0:35       ` Marat BN
  1 sibling, 1 reply; 38+ messages in thread
From: Meino.Cramer @ 2016-11-29 10:28 UTC (permalink / raw
  To: gentoo-user

Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 10:44]:
> On Tue Nov 29 10:19:15 2016, Meino.Cramer@gmx.de wrote:
> > Hi Marat,
> > 
> > thanks for your help and link!
> > 
> > ...if I install that addon I only get:
> > "Palyback isn't supported on this device"
> > (using Firefox 50.0)
> 
> Mozilla began to drop flash support since firefox 50.
> 
> -- 
> alarig



...so I am out of lyck, am I?

I dont know mozillas intentions here...

Cheers
Meino





^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  6:42 [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives? Meino.Cramer
                   ` (2 preceding siblings ...)
  2016-11-29  9:49 ` Volker Armin Hemmann
@ 2016-11-29 12:28 ` Peter Humphrey
  2016-11-29 16:17   ` Peter Humphrey
  2016-11-29 18:47 ` [gentoo-user] " Ian Zimmerman
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 38+ messages in thread
From: Peter Humphrey @ 2016-11-29 12:28 UTC (permalink / raw
  To: gentoo-user

On Tuesday 29 Nov 2016 07:42:16 Meino.Cramer@gmx.de wrote:

> I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> Most of the videos while playayaingnaying arereare stututterutering
> liiklike helellell.

I use Twitter as a selective news feed, only following organisations that are 
active in my fields of interest, and I get the same effect with HTML-5 moving 
pictures. I can't watch them so I scroll to where I can't see them.

-- 
Regards
Peter



^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29 10:28       ` Meino.Cramer
@ 2016-11-29 13:52         ` Volker Armin Hemmann
  2016-11-29 14:01           ` Meino.Cramer
  0 siblings, 1 reply; 38+ messages in thread
From: Volker Armin Hemmann @ 2016-11-29 13:52 UTC (permalink / raw
  To: gentoo-user

Am 29.11.2016 um 11:28 schrieb Meino.Cramer@gmx.de:
> Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 10:44]:
>> On Tue Nov 29 10:19:15 2016, Meino.Cramer@gmx.de wrote:
>>> Hi Marat,
>>>
>>> thanks for your help and link!
>>>
>>> ...if I install that addon I only get:
>>> "Palyback isn't supported on this device"
>>> (using Firefox 50.0)
>> Mozilla began to drop flash support since firefox 50.
>>
>> -- 
>> alarig
>
>
> ...so I am out of lyck, am I?
>
> I dont know mozillas intentions here...
>
> Cheers
> Meino
>
>
>
>
>

before you do any stupid stuff. Does hw acceleration work? Does video
acceleration work?


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29 13:52         ` Volker Armin Hemmann
@ 2016-11-29 14:01           ` Meino.Cramer
  2016-11-29 14:05             ` Alexander Openkowski
  0 siblings, 1 reply; 38+ messages in thread
From: Meino.Cramer @ 2016-11-29 14:01 UTC (permalink / raw
  To: gentoo-user

Volker Armin Hemmann <volkerarmin@googlemail.com> [16-11-29 14:56]:
> Am 29.11.2016 um 11:28 schrieb Meino.Cramer@gmx.de:
> > Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 10:44]:
> >> On Tue Nov 29 10:19:15 2016, Meino.Cramer@gmx.de wrote:
> >>> Hi Marat,
> >>>
> >>> thanks for your help and link!
> >>>
> >>> ...if I install that addon I only get:
> >>> "Palyback isn't supported on this device"
> >>> (using Firefox 50.0)
> >> Mozilla began to drop flash support since firefox 50.
> >>
> >> -- 
> >> alarig
> >
> >
> > ...so I am out of lyck, am I?
> >
> > I dont know mozillas intentions here...
> >
> > Cheers
> > Meino
> >
> >
> >
> >
> >
> 
> before you do any stupid stuff. Does hw acceleration work? Does video
> acceleration work?
> 

In general ? Or in respect to playing HTML5 videos?
HTML5: No matter whether it is on or of: HTML5 stuttered.

BUT:
I have upgraded from FF 50.0.0 to FF 50.0.1 and everything works
fine now...
Let's see what the future will bring...
FF 50.0.0 had also short periods of good will......

Cheers
Meino





^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29 14:01           ` Meino.Cramer
@ 2016-11-29 14:05             ` Alexander Openkowski
  2016-11-29 15:55               ` Meino.Cramer
  0 siblings, 1 reply; 38+ messages in thread
From: Alexander Openkowski @ 2016-11-29 14:05 UTC (permalink / raw
  To: gentoo-user

I have recently installed "www-plugins/freshplayerplugin", which makes
Firefox use Chromium's flash-plugin (iirc). It works fine for me here.

On 11/29/2016 03:01 PM, Meino.Cramer@gmx.de wrote:
> Volker Armin Hemmann <volkerarmin@googlemail.com> [16-11-29 14:56]:
>> Am 29.11.2016 um 11:28 schrieb Meino.Cramer@gmx.de:
>>> Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 10:44]:
>>>> On Tue Nov 29 10:19:15 2016, Meino.Cramer@gmx.de wrote:
>>>>> Hi Marat,
>>>>>
>>>>> thanks for your help and link!
>>>>>
>>>>> ...if I install that addon I only get:
>>>>> "Palyback isn't supported on this device"
>>>>> (using Firefox 50.0)
>>>> Mozilla began to drop flash support since firefox 50.
>>>>
>>>> -- 
>>>> alarig
>>>
>>> ...so I am out of lyck, am I?
>>>
>>> I dont know mozillas intentions here...
>>>
>>> Cheers
>>> Meino
>>>
>>>
>>>
>>>
>>>
>> before you do any stupid stuff. Does hw acceleration work? Does video
>> acceleration work?
>>
> In general ? Or in respect to playing HTML5 videos?
> HTML5: No matter whether it is on or of: HTML5 stuttered.
>
> BUT:
> I have upgraded from FF 50.0.0 to FF 50.0.1 and everything works
> fine now...
> Let's see what the future will bring...
> FF 50.0.0 had also short periods of good will......
>
> Cheers
> Meino
>
>
>
>



^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29 14:05             ` Alexander Openkowski
@ 2016-11-29 15:55               ` Meino.Cramer
  0 siblings, 0 replies; 38+ messages in thread
From: Meino.Cramer @ 2016-11-29 15:55 UTC (permalink / raw
  To: gentoo-user


Alexander Openkowski <opncow@googlemail.com> [16-11-29 15:16]:
> I have recently installed "www-plugins/freshplayerplugin", which makes
> Firefox use Chromium's flash-plugin (iirc). It works fine for me here.
> 
> On 11/29/2016 03:01 PM, Meino.Cramer@gmx.de wrote:
> > Volker Armin Hemmann <volkerarmin@googlemail.com> [16-11-29 14:56]:
> >> Am 29.11.2016 um 11:28 schrieb Meino.Cramer@gmx.de:
> >>> Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 10:44]:
> >>>> On Tue Nov 29 10:19:15 2016, Meino.Cramer@gmx.de wrote:
> >>>>> Hi Marat,
> >>>>>
> >>>>> thanks for your help and link!
> >>>>>
> >>>>> ...if I install that addon I only get:
> >>>>> "Palyback isn't supported on this device"
> >>>>> (using Firefox 50.0)
> >>>> Mozilla began to drop flash support since firefox 50.
> >>>>
> >>>> -- 
> >>>> alarig
> >>>
> >>> ...so I am out of lyck, am I?
> >>>
> >>> I dont know mozillas intentions here...
> >>>
> >>> Cheers
> >>> Meino
> >>>
> >>>
> >>>
> >>>
> >>>
> >> before you do any stupid stuff. Does hw acceleration work? Does video
> >> acceleration work?
> >>
> > In general ? Or in respect to playing HTML5 videos?
> > HTML5: No matter whether it is on or of: HTML5 stuttered.
> >
> > BUT:
> > I have upgraded from FF 50.0.0 to FF 50.0.1 and everything works
> > fine now...
> > Let's see what the future will bring...
> > FF 50.0.0 had also short periods of good will......
> >
> > Cheers
> > Meino
> >
> >
> >
> >
> 
Hi Alexander,

that's sounds good! Since I update FF from 50.0.0 to 50.0.1 it works
currently smoothly...will...if not: I will try that plugin!

Cheers
Meino



^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29 12:28 ` Peter Humphrey
@ 2016-11-29 16:17   ` Peter Humphrey
  2016-11-29 16:32     ` Meino.Cramer
  2016-11-29 16:51     ` Meino.Cramer
  0 siblings, 2 replies; 38+ messages in thread
From: Peter Humphrey @ 2016-11-29 16:17 UTC (permalink / raw
  To: gentoo-user

On Tuesday 29 Nov 2016 12:28:32 I wrote:
> On Tuesday 29 Nov 2016 07:42:16 Meino.Cramer@gmx.de wrote:
> > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> > Most of the videos while playayaingnaying arereare stututterutering
> > liiklike helellell.
> 
> I use Twitter as a selective news feed, only following organisations that
> are active in my fields of interest, and I get the same effect with HTML-5
> moving pictures. I can't watch them so I scroll to where I can't see them.

But now it's fine, after upgrading Firefox this morning.

-- 
Regards
Peter



^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29 16:17   ` Peter Humphrey
@ 2016-11-29 16:32     ` Meino.Cramer
  2016-11-29 16:51     ` Meino.Cramer
  1 sibling, 0 replies; 38+ messages in thread
From: Meino.Cramer @ 2016-11-29 16:32 UTC (permalink / raw
  To: gentoo-user

Peter Humphrey <peter@prh.myzen.co.uk> [16-11-29 17:24]:
> On Tuesday 29 Nov 2016 12:28:32 I wrote:
> > On Tuesday 29 Nov 2016 07:42:16 Meino.Cramer@gmx.de wrote:
> > > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> > > Most of the videos while playayaingnaying arereare stututterutering
> > > liiklike helellell.
> > 
> > I use Twitter as a selective news feed, only following organisations that
> > are active in my fields of interest, and I get the same effect with HTML-5
> > moving pictures. I can't watch them so I scroll to where I can't see them.
> 
> But now it's fine, after upgrading Firefox this morning.
> 
> -- 
> Regards
> Peter
> 
> 

Hi Peter,

same here...after update its seems to work so far...
fingers crossed ;)

Cheers
Meino




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29 16:17   ` Peter Humphrey
  2016-11-29 16:32     ` Meino.Cramer
@ 2016-11-29 16:51     ` Meino.Cramer
  2016-11-30  8:24       ` Peter Humphrey
  1 sibling, 1 reply; 38+ messages in thread
From: Meino.Cramer @ 2016-11-29 16:51 UTC (permalink / raw
  To: gentoo-user

Peter Humphrey <peter@prh.myzen.co.uk> [16-11-29 17:24]:
> On Tuesday 29 Nov 2016 12:28:32 I wrote:
> > On Tuesday 29 Nov 2016 07:42:16 Meino.Cramer@gmx.de wrote:
> > > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> > > Most of the videos while playayaingnaying arereare stututterutering
> > > liiklike helellell.
> > 
> > I use Twitter as a selective news feed, only following organisations that
> > are active in my fields of interest, and I get the same effect with HTML-5
> > moving pictures. I can't watch them so I scroll to where I can't see them.
> 
> But now it's fine, after upgrading Firefox this morning.
> 
> -- 
> Regards
> Peter
> 
> 

....ok...for the problem is back. :(

Cheers
Meino





^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  7:35   ` Meino.Cramer
  2016-11-29  8:27     ` Alarig Le Lay
@ 2016-11-29 17:15     ` Poncho
  2016-11-29 17:39       ` Meino.Cramer
  2016-11-29 20:00     ` Simon Thelen
  2 siblings, 1 reply; 38+ messages in thread
From: Poncho @ 2016-11-29 17:15 UTC (permalink / raw
  To: gentoo-user

you can use the open-with extension ( see:
https://addons.mozilla.org/en-US/firefox/addon/open-with/ ) to get a
"open with mpv" shortcut in your right click menu

On 29.11.2016 08:35, Meino.Cramer@gmx.de wrote:
> Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 08:16]:
>> On Tue Nov 29 07:42:16 2016, Meino.Cramer@gmx.de wrote:
>>> Is there any way to feed the stream from youtube direktly into
>>> a not blown player like mpv/mplayer or such (I would prefer
>>> not to load a complete gui (vlc) with any click again and again.)?
>>
>> Hi,
>>
>> Yes, you can play video from youtube with mpv if you have emerged
>> net-misc/youtube-dl.
>>
>> -- 
>> alarig
> 
> Hi Alarig,
> 
> thanks for your help! :)
> 
> yes...I know...but this implies (as far as I know):
> Copying the url from FF as argument to youtube-dl,
> downloading the file, and than watching it.
> This was my (painful) workaround the last days.
> 
> I woyld like something like:
> Click on youtube-url, a window (console) pops up 
> and starts <fill in something> to watch the video
> directly.
> 
> Is it possible somehow?
> 
> Thanks in advance for any help!
> 
> Cheers,
> Meino
> 
> 
> 
> 
> 



^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29 17:15     ` Poncho
@ 2016-11-29 17:39       ` Meino.Cramer
  2016-11-29 20:59         ` Poncho
  2016-11-29 21:40         ` Patrick Steinhardt
  0 siblings, 2 replies; 38+ messages in thread
From: Meino.Cramer @ 2016-11-29 17:39 UTC (permalink / raw
  To: gentoo-user

Poncho <poncho@spahan.ch> [16-11-29 18:24]:
> you can use the open-with extension ( see:
> https://addons.mozilla.org/en-US/firefox/addon/open-with/ ) to get a
> "open with mpv" shortcut in your right click menu
> 
> On 29.11.2016 08:35, Meino.Cramer@gmx.de wrote:
> > Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 08:16]:
> >> On Tue Nov 29 07:42:16 2016, Meino.Cramer@gmx.de wrote:
> >>> Is there any way to feed the stream from youtube direktly into
> >>> a not blown player like mpv/mplayer or such (I would prefer
> >>> not to load a complete gui (vlc) with any click again and again.)?
> >>
> >> Hi,
> >>
> >> Yes, you can play video from youtube with mpv if you have emerged
> >> net-misc/youtube-dl.
> >>
> >> -- 
> >> alarig
> > 
> > Hi Alarig,
> > 
> > thanks for your help! :)
> > 
> > yes...I know...but this implies (as far as I know):
> > Copying the url from FF as argument to youtube-dl,
> > downloading the file, and than watching it.
> > This was my (painful) workaround the last days.
> > 
> > I woyld like something like:
> > Click on youtube-url, a window (console) pops up 
> > and starts <fill in something> to watch the video
> > directly.
> > 
> > Is it possible somehow?
> > 
> > Thanks in advance for any help!
> > 
> > Cheers,
> > Meino
> > 

Hi Poncho,

thanks for your help - I installed this one.

One problem: mpv seems to open the video with the highest
possible resolution...and now.......the video.............stops
from.........time..........to time.........due to..........too
less............DSL bandwidth...........

Can I tell who? to only access videos with 720p max???

Cheers
Meino




^ permalink raw reply	[flat|nested] 38+ messages in thread

* [gentoo-user] Re: HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  6:42 [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives? Meino.Cramer
                   ` (3 preceding siblings ...)
  2016-11-29 12:28 ` Peter Humphrey
@ 2016-11-29 18:47 ` Ian Zimmerman
  2016-11-29 21:43 ` [gentoo-user] " Alon Bar-Lev
  2016-11-30  3:55 ` [gentoo-user] " Kai Krakow
  6 siblings, 0 replies; 38+ messages in thread
From: Ian Zimmerman @ 2016-11-29 18:47 UTC (permalink / raw
  To: gentoo-user

On 2016-11-29 07:42, Meino.Cramer@gmx.de wrote:

> Is there any way to feed the stream from youtube direktly into
> a not blown player like mpv/mplayer or such (I would prefer
> not to load a complete gui (vlc) with any click again and again.)?

mpd (like vlc) allows you to play network streams directly, provided you
tell it the URL.

-- 
Please *no* private Cc: on mailing lists and newsgroups
Personal signed mail: please _encrypt_ and sign
Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  7:35   ` Meino.Cramer
  2016-11-29  8:27     ` Alarig Le Lay
  2016-11-29 17:15     ` Poncho
@ 2016-11-29 20:00     ` Simon Thelen
  2 siblings, 0 replies; 38+ messages in thread
From: Simon Thelen @ 2016-11-29 20:00 UTC (permalink / raw
  To: gentoo-user

On 16-11-29 at 08:35, Meino.Cramer@gmx.de wrote:
> Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 08:16]:
> > On Tue Nov 29 07:42:16 2016, Meino.Cramer@gmx.de wrote:
> > > Is there any way to feed the stream from youtube direktly into
> > > a not blown player like mpv/mplayer or such (I would prefer
> > > not to load a complete gui (vlc) with any click again and again.)?
> > Yes, you can play video from youtube with mpv if you have emerged
> > net-misc/youtube-dl.
> yes...I know...but this implies (as far as I know):
> Copying the url from FF as argument to youtube-dl,
> downloading the file, and than watching it.
> This was my (painful) workaround the last days.
It doesn't. As long as you have mpv built with +lua it ships with the
youtube-dl hook which will run youtube-dl (if installed) on any url
passed to mpv, parse the json output and then play the "real" video url.

> I woyld like something like:
> Click on youtube-url, a window (console) pops up 
> and starts <fill in something> to watch the video
> directly.
> 
> Is it possible somehow?
There's probably around a bazillion addons for that. A quick search
found [1] [2] [3] [4]. Though binding an alias to `mpv $(xsel -b)' and
then executing that after copying a url shouldn't be that hard.

[1] https://addons.mozilla.org/en-US/firefox/addon/watch-with-mpv
[2] https://addons.mozilla.org/en-US/firefox/addon/external-video
[3] https://addons.mozilla.org/en-US/firefox/addon/video-assistant
[4] https://github.com/agiz/youtube-mpv

-- 
Simon Thelen


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29 17:39       ` Meino.Cramer
@ 2016-11-29 20:59         ` Poncho
  2016-11-29 21:40         ` Patrick Steinhardt
  1 sibling, 0 replies; 38+ messages in thread
From: Poncho @ 2016-11-29 20:59 UTC (permalink / raw
  To: gentoo-user

On 29.11.2016 18:39, Meino.Cramer@gmx.de wrote:
> Poncho <poncho@spahan.ch> [16-11-29 18:24]:
>> you can use the open-with extension ( see:
>> https://addons.mozilla.org/en-US/firefox/addon/open-with/ ) to get a
>> "open with mpv" shortcut in your right click menu
>>
>> On 29.11.2016 08:35, Meino.Cramer@gmx.de wrote:
>>> Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 08:16]:
>>>> On Tue Nov 29 07:42:16 2016, Meino.Cramer@gmx.de wrote:
>>>>> Is there any way to feed the stream from youtube direktly into
>>>>> a not blown player like mpv/mplayer or such (I would prefer
>>>>> not to load a complete gui (vlc) with any click again and again.)?
>>>>
>>>> Hi,
>>>>
>>>> Yes, you can play video from youtube with mpv if you have emerged
>>>> net-misc/youtube-dl.
>>>>
>>>> -- 
>>>> alarig
>>>
>>> Hi Alarig,
>>>
>>> thanks for your help! :)
>>>
>>> yes...I know...but this implies (as far as I know):
>>> Copying the url from FF as argument to youtube-dl,
>>> downloading the file, and than watching it.
>>> This was my (painful) workaround the last days.
>>>
>>> I woyld like something like:
>>> Click on youtube-url, a window (console) pops up 
>>> and starts <fill in something> to watch the video
>>> directly.
>>>
>>> Is it possible somehow?
>>>
>>> Thanks in advance for any help!
>>>
>>> Cheers,
>>> Meino
>>>
> 
> Hi Poncho,
> 
> thanks for your help - I installed this one.
> 
> One problem: mpv seems to open the video with the highest
> possible resolution...and now.......the video.............stops
> from.........time..........to time.........due to..........too
> less............DSL bandwidth...........
> 
> Can I tell who? to only access videos with 720p max???
> 
> Cheers
> Meino
> 
> 
> 

I use the following snippet in my /etc/mpv/mpv.conf

# The default --ytdl-format is bestvideo+bestaudio/best.
# In the following configuration example, only videos with
# a vertical resolution of 1080 pixels or less will
# be considered
ytdl-format=bestvideo[height<=?1080]+bestaudio/best


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29 17:39       ` Meino.Cramer
  2016-11-29 20:59         ` Poncho
@ 2016-11-29 21:40         ` Patrick Steinhardt
  2016-11-30  5:46           ` Meino.Cramer
  1 sibling, 1 reply; 38+ messages in thread
From: Patrick Steinhardt @ 2016-11-29 21:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2455 bytes --]

On Tue, Nov 29, 2016 at 06:39:28PM +0100, Meino.Cramer@gmx.de wrote:
> Poncho <poncho@spahan.ch> [16-11-29 18:24]:
> > you can use the open-with extension ( see:
> > https://addons.mozilla.org/en-US/firefox/addon/open-with/ ) to get a
> > "open with mpv" shortcut in your right click menu
> > 
> > On 29.11.2016 08:35, Meino.Cramer@gmx.de wrote:
> > > Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 08:16]:
> > >> On Tue Nov 29 07:42:16 2016, Meino.Cramer@gmx.de wrote:
> > >>> Is there any way to feed the stream from youtube direktly into
> > >>> a not blown player like mpv/mplayer or such (I would prefer
> > >>> not to load a complete gui (vlc) with any click again and again.)?
> > >>
> > >> Hi,
> > >>
> > >> Yes, you can play video from youtube with mpv if you have emerged
> > >> net-misc/youtube-dl.
> > >>
> > >> -- 
> > >> alarig
> > > 
> > > Hi Alarig,
> > > 
> > > thanks for your help! :)
> > > 
> > > yes...I know...but this implies (as far as I know):
> > > Copying the url from FF as argument to youtube-dl,
> > > downloading the file, and than watching it.
> > > This was my (painful) workaround the last days.
> > > 
> > > I woyld like something like:
> > > Click on youtube-url, a window (console) pops up 
> > > and starts <fill in something> to watch the video
> > > directly.
> > > 
> > > Is it possible somehow?
> > > 
> > > Thanks in advance for any help!
> > > 
> > > Cheers,
> > > Meino
> > > 
> 
> Hi Poncho,
> 
> thanks for your help - I installed this one.
> 
> One problem: mpv seems to open the video with the highest
> possible resolution...and now.......the video.............stops
> from.........time..........to time.........due to..........too
> less............DSL bandwidth...........
> 
> Can I tell who? to only access videos with 720p max???
> 
> Cheers
> Meino

Hi Meino,

yes, it is possible. The format-selection is quite flexible with
youtube-dl. I've got the following line in
~/.config/mpv/mpv.conf:

'''
ytdl-format=bestvideo[ext!=webm,width<=1920]+bestaudio[protocol!=http_dash_segments]/best
'''

Something like the following might work for you.

'''
ytdl-format=bestvideo[width<=920]+bestaudio/best
'''

It will select a format with width less than 920px together with
the best audio source, or, if nothing matches this criteria, the
best format available. But just take a look at youtube-dl(1),
FORMAT SELECTION.

Patrick

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  6:42 [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives? Meino.Cramer
                   ` (4 preceding siblings ...)
  2016-11-29 18:47 ` [gentoo-user] " Ian Zimmerman
@ 2016-11-29 21:43 ` Alon Bar-Lev
  2016-11-30  3:55 ` [gentoo-user] " Kai Krakow
  6 siblings, 0 replies; 38+ messages in thread
From: Alon Bar-Lev @ 2016-11-29 21:43 UTC (permalink / raw
  To: gentoo-user

On 29 November 2016 at 08:42, <Meino.Cramer@gmx.de> wrote:
>
> Hi,
>
> I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> Most of the videos while playayaingnaying arereare stututterutering
> liiklike helellell.
>

I use "VLC Youtube Shortcut" extension, right click a page or link to
youtube plays it in vlc.


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  9:36     ` Alarig Le Lay
  2016-11-29 10:28       ` Meino.Cramer
@ 2016-11-30  0:35       ` Marat BN
  1 sibling, 0 replies; 38+ messages in thread
From: Marat BN @ 2016-11-30  0:35 UTC (permalink / raw
  To: gentoo-user

-------- Original Message --------
Subject: Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
From: Alarig Le Lay <alarig@swordarmor.fr>
To: gentoo-user@lists.gentoo.org
Date: 11/29/2016 01:36 AM
> On Tue Nov 29 10:19:15 2016, Meino.Cramer@gmx.de wrote:
>> Hi Marat,
>>
>> thanks for your help and link!
>>
>> ...if I install that addon I only get:
>> "Palyback isn't supported on this device"
>> (using Firefox 50.0)
> Mozilla began to drop flash support since firefox 50.
>
Hmmm all in the name of progress...

I just checked my own FF version and I'm still running 45.4.0.  So
perhaps the solution for having a decent YouTube experience would be to
run a < 50 version of FF with the youtube-flash-player addon in a
virtual machine or in a Docker container.


-- Marat




^ permalink raw reply	[flat|nested] 38+ messages in thread

* [gentoo-user] Re: HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29  6:42 [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives? Meino.Cramer
                   ` (5 preceding siblings ...)
  2016-11-29 21:43 ` [gentoo-user] " Alon Bar-Lev
@ 2016-11-30  3:55 ` Kai Krakow
  2016-11-30  4:33   ` Meino.Cramer
  6 siblings, 1 reply; 38+ messages in thread
From: Kai Krakow @ 2016-11-30  3:55 UTC (permalink / raw
  To: gentoo-user

Am Tue, 29 Nov 2016 07:42:16 +0100
schrieb Meino.Cramer@gmx.de:

> I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> Most of the videos while playayaingnaying arereare stututterutering
> liiklike helellell. 
> 
> I tested a lot of HTML5 addons to fix that problem and googled
> around the world but nothing helps. The only thing I found is an
> iconic sentence, which is true in this case also:
> "You are not alone...!".
> 
> Is there any way to feed the stream from youtube direktly into
> a not blown player like mpv/mplayer or such (I would prefer
> not to load a complete gui (vlc) with any click again and again.)?

For me it was just the other way around. HTML5 mode played much (very
much!) more smooth than flash player. I opted in early by that time for
switching YT to HTML5 player. This was for Chrome, of course, because
by that time Firefox wasn't really compatible.

You probably really should check your graphics stack. If you have an at
least somewhat decent machine (something which was built during the
last 5 years), you should have absolutely no problems playing videos in
the HTML5 player. Even my aging machine in the office (which didn't
play smooth videos in the flash player) runs full HD streaming videos
smoothly in the HTML5 player - no stuttering, no blocking, no
framedrops. This was different with the flash player which looked like
it dropped every second frame in fullscreen mode - but at least it did
not stutter due to that "optimization".

Maybe give some information about your graphics stack and
configuration...

-- 
Regards,
Kai

Replies to list-only preferred.



^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] Re: HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-30  3:55 ` [gentoo-user] " Kai Krakow
@ 2016-11-30  4:33   ` Meino.Cramer
  2016-11-30  5:41     ` J. Roeleveld
  0 siblings, 1 reply; 38+ messages in thread
From: Meino.Cramer @ 2016-11-30  4:33 UTC (permalink / raw
  To: gentoo-user

Kai Krakow <hurikhan77@gmail.com> [16-11-30 05:08]:
> Am Tue, 29 Nov 2016 07:42:16 +0100
> schrieb Meino.Cramer@gmx.de:
> 
> > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> > Most of the videos while playayaingnaying arereare stututterutering
> > liiklike helellell. 
> > 
> > I tested a lot of HTML5 addons to fix that problem and googled
> > around the world but nothing helps. The only thing I found is an
> > iconic sentence, which is true in this case also:
> > "You are not alone...!".
> > 
> > Is there any way to feed the stream from youtube direktly into
> > a not blown player like mpv/mplayer or such (I would prefer
> > not to load a complete gui (vlc) with any click again and again.)?
> 
> For me it was just the other way around. HTML5 mode played much (very
> much!) more smooth than flash player. I opted in early by that time for
> switching YT to HTML5 player. This was for Chrome, of course, because
> by that time Firefox wasn't really compatible.
> 
> You probably really should check your graphics stack. If you have an at
> least somewhat decent machine (something which was built during the
> last 5 years), you should have absolutely no problems playing videos in
> the HTML5 player. Even my aging machine in the office (which didn't
> play smooth videos in the flash player) runs full HD streaming videos
> smoothly in the HTML5 player - no stuttering, no blocking, no
> framedrops. This was different with the flash player which looked like
> it dropped every second frame in fullscreen mode - but at least it did
> not stutter due to that "optimization".
> 
> Maybe give some information about your graphics stack and
> configuration...
> 
> -- 
> Regards,
> Kai
> 
> Replies to list-only preferred.
> 
> 

Hi Kai,

I think that the hardware is not the problem, since downloading the
video and playing it offline had resulted in no problems ever... 

Cheers
Meino





^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] Re: HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-30  4:33   ` Meino.Cramer
@ 2016-11-30  5:41     ` J. Roeleveld
  2016-11-30  6:08       ` Meino.Cramer
  0 siblings, 1 reply; 38+ messages in thread
From: J. Roeleveld @ 2016-11-30  5:41 UTC (permalink / raw
  To: gentoo-user

On Wednesday, November 30, 2016 05:33:15 AM Meino.Cramer@gmx.de wrote:
> Kai Krakow <hurikhan77@gmail.com> [16-11-30 05:08]:
> > Am Tue, 29 Nov 2016 07:42:16 +0100
> > 
> > schrieb Meino.Cramer@gmx.de:
> > > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> > > Most of the videos while playayaingnaying arereare stututterutering
> > > liiklike helellell.
> > > 
> > > I tested a lot of HTML5 addons to fix that problem and googled
> > > around the world but nothing helps. The only thing I found is an
> > > iconic sentence, which is true in this case also:
> > > "You are not alone...!".
> > > 
> > > Is there any way to feed the stream from youtube direktly into
> > > a not blown player like mpv/mplayer or such (I would prefer
> > > not to load a complete gui (vlc) with any click again and again.)?
> > 
> > For me it was just the other way around. HTML5 mode played much (very
> > much!) more smooth than flash player. I opted in early by that time for
> > switching YT to HTML5 player. This was for Chrome, of course, because
> > by that time Firefox wasn't really compatible.
> > 
> > You probably really should check your graphics stack. If you have an at
> > least somewhat decent machine (something which was built during the
> > last 5 years), you should have absolutely no problems playing videos in
> > the HTML5 player. Even my aging machine in the office (which didn't
> > play smooth videos in the flash player) runs full HD streaming videos
> > smoothly in the HTML5 player - no stuttering, no blocking, no
> > framedrops. This was different with the flash player which looked like
> > it dropped every second frame in fullscreen mode - but at least it did
> > not stutter due to that "optimization".
> > 
> > Maybe give some information about your graphics stack and
> > configuration...
> 
> Hi Kai,
> 
> I think that the hardware is not the problem, since downloading the
> video and playing it offline had resulted in no problems ever...
> 
> Cheers
> Meino

Meino,

In one of your other emails, you mentioned that your ADSL is incapable of 
providing the full-HD stream.
This could easily be the cause for the issues you are having with HTML5 video 
as well. Maybe look into cache-options?

--
Joost


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29 21:40         ` Patrick Steinhardt
@ 2016-11-30  5:46           ` Meino.Cramer
  2016-11-30 14:02             ` Patrick Steinhardt
  2016-11-30 15:48             ` Daniel Frey
  0 siblings, 2 replies; 38+ messages in thread
From: Meino.Cramer @ 2016-11-30  5:46 UTC (permalink / raw
  To: gentoo-user

Patrick Steinhardt <ps@pks.im> [16-11-30 04:01]:
> On Tue, Nov 29, 2016 at 06:39:28PM +0100, Meino.Cramer@gmx.de wrote:
> > Poncho <poncho@spahan.ch> [16-11-29 18:24]:
> > > you can use the open-with extension ( see:
> > > https://addons.mozilla.org/en-US/firefox/addon/open-with/ ) to get a
> > > "open with mpv" shortcut in your right click menu
> > > 
> > > On 29.11.2016 08:35, Meino.Cramer@gmx.de wrote:
> > > > Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 08:16]:
> > > >> On Tue Nov 29 07:42:16 2016, Meino.Cramer@gmx.de wrote:
> > > >>> Is there any way to feed the stream from youtube direktly into
> > > >>> a not blown player like mpv/mplayer or such (I would prefer
> > > >>> not to load a complete gui (vlc) with any click again and again.)?
> > > >>
> > > >> Hi,
> > > >>
> > > >> Yes, you can play video from youtube with mpv if you have emerged
> > > >> net-misc/youtube-dl.
> > > >>
> > > >> -- 
> > > >> alarig
> > > > 
> > > > Hi Alarig,
> > > > 
> > > > thanks for your help! :)
> > > > 
> > > > yes...I know...but this implies (as far as I know):
> > > > Copying the url from FF as argument to youtube-dl,
> > > > downloading the file, and than watching it.
> > > > This was my (painful) workaround the last days.
> > > > 
> > > > I woyld like something like:
> > > > Click on youtube-url, a window (console) pops up 
> > > > and starts <fill in something> to watch the video
> > > > directly.
> > > > 
> > > > Is it possible somehow?
> > > > 
> > > > Thanks in advance for any help!
> > > > 
> > > > Cheers,
> > > > Meino
> > > > 
> > 
> > Hi Poncho,
> > 
> > thanks for your help - I installed this one.
> > 
> > One problem: mpv seems to open the video with the highest
> > possible resolution...and now.......the video.............stops
> > from.........time..........to time.........due to..........too
> > less............DSL bandwidth...........
> > 
> > Can I tell who? to only access videos with 720p max???
> > 
> > Cheers
> > Meino
> 
> Hi Meino,
> 
> yes, it is possible. The format-selection is quite flexible with
> youtube-dl. I've got the following line in
> ~/.config/mpv/mpv.conf:
> 
> '''
> ytdl-format=bestvideo[ext!=webm,width<=1920]+bestaudio[protocol!=http_dash_segments]/best
> '''
> 
> Something like the following might work for you.
> 
> '''
> ytdl-format=bestvideo[width<=920]+bestaudio/best
> '''
> 
> It will select a format with width less than 920px together with
> the best audio source, or, if nothing matches this criteria, the
> best format available. But just take a look at youtube-dl(1),
> FORMAT SELECTION.
> 
> Patrick


Hi Patrick,

thanks for your help! :)

Additionally I played around with the 'vo=' settings.
Interestingly it hangs always at the same point in the video.

I played back the video with

mpv '<url>' from the commandline and get the same effect.

BUT: The output of mpv changes from "playing video" to
"buffering" (at this moment the video hangs) and back.

I increased the cache and readahead in mpv.conf with
no effect (it even hits the same point in the video
every time!).

If I configure width<1280 it seems to work...but does
it really need to be that small?

Am I out of luck?

Cheers
Meino





^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] Re: HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-30  5:41     ` J. Roeleveld
@ 2016-11-30  6:08       ` Meino.Cramer
  2016-11-30  6:23         ` J. Roeleveld
  0 siblings, 1 reply; 38+ messages in thread
From: Meino.Cramer @ 2016-11-30  6:08 UTC (permalink / raw
  To: gentoo-user

J. Roeleveld <joost@antarean.org> [16-11-30 06:48]:
> On Wednesday, November 30, 2016 05:33:15 AM Meino.Cramer@gmx.de wrote:
> > Kai Krakow <hurikhan77@gmail.com> [16-11-30 05:08]:
> > > Am Tue, 29 Nov 2016 07:42:16 +0100
> > > 
> > > schrieb Meino.Cramer@gmx.de:
> > > > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> > > > Most of the videos while playayaingnaying arereare stututterutering
> > > > liiklike helellell.
> > > > 
> > > > I tested a lot of HTML5 addons to fix that problem and googled
> > > > around the world but nothing helps. The only thing I found is an
> > > > iconic sentence, which is true in this case also:
> > > > "You are not alone...!".
> > > > 
> > > > Is there any way to feed the stream from youtube direktly into
> > > > a not blown player like mpv/mplayer or such (I would prefer
> > > > not to load a complete gui (vlc) with any click again and again.)?
> > > 
> > > For me it was just the other way around. HTML5 mode played much (very
> > > much!) more smooth than flash player. I opted in early by that time for
> > > switching YT to HTML5 player. This was for Chrome, of course, because
> > > by that time Firefox wasn't really compatible.
> > > 
> > > You probably really should check your graphics stack. If you have an at
> > > least somewhat decent machine (something which was built during the
> > > last 5 years), you should have absolutely no problems playing videos in
> > > the HTML5 player. Even my aging machine in the office (which didn't
> > > play smooth videos in the flash player) runs full HD streaming videos
> > > smoothly in the HTML5 player - no stuttering, no blocking, no
> > > framedrops. This was different with the flash player which looked like
> > > it dropped every second frame in fullscreen mode - but at least it did
> > > not stutter due to that "optimization".
> > > 
> > > Maybe give some information about your graphics stack and
> > > configuration...
> > 
> > Hi Kai,
> > 
> > I think that the hardware is not the problem, since downloading the
> > video and playing it offline had resulted in no problems ever...
> > 
> > Cheers
> > Meino
> 
> Meino,
> 
> In one of your other emails, you mentioned that your ADSL is incapable of 
> providing the full-HD stream.
> This could easily be the cause for the issues you are having with HTML5 video 
> as well. Maybe look into cache-options?
> 
> --
> Joost
> 
Joost,

did this (~/.config/mpv/mpv.config) with no positive effect. 
I decreased the video resolution to <1280 (again via mpv.conf) which
helps to some degree.
Interesting is: It hangs always a the same points in the video if
playing the same video with different configurations.

I called mpv with an url form the commandline and indeed it shows
"playing video" and "buffering" (at this point it hangs) alternateing.

The FF problem was not only hangs but something like the following
sentence:

Thehe quiquickkckick bkrowownwn foxoxfoxx joxujumumpjumpsumps
oveovrver thhehe lazazylazyzy dogog

Somehow three steps forward and two backwards. The audio was never
effected though.

With "Play with mpv" it """"only"""" hangs.

Do I really need an new DSL contract with my provider becayse
FF has switched to HTML5 only?

Can't be...or?

--
Meino








^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] Re: HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-30  6:08       ` Meino.Cramer
@ 2016-11-30  6:23         ` J. Roeleveld
  2016-11-30  6:55           ` Meino.Cramer
  0 siblings, 1 reply; 38+ messages in thread
From: J. Roeleveld @ 2016-11-30  6:23 UTC (permalink / raw
  To: gentoo-user

On Wednesday, November 30, 2016 07:08:45 AM Meino.Cramer@gmx.de wrote:
> J. Roeleveld <joost@antarean.org> [16-11-30 06:48]:
> > On Wednesday, November 30, 2016 05:33:15 AM Meino.Cramer@gmx.de wrote:
> > > Kai Krakow <hurikhan77@gmail.com> [16-11-30 05:08]:
> > > > Am Tue, 29 Nov 2016 07:42:16 +0100
> > > > 
> > > > schrieb Meino.Cramer@gmx.de:
> > > > > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> > > > > Most of the videos while playayaingnaying arereare stututterutering
> > > > > liiklike helellell.
> > > > > 
> > > > > I tested a lot of HTML5 addons to fix that problem and googled
> > > > > around the world but nothing helps. The only thing I found is an
> > > > > iconic sentence, which is true in this case also:
> > > > > "You are not alone...!".
> > > > > 
> > > > > Is there any way to feed the stream from youtube direktly into
> > > > > a not blown player like mpv/mplayer or such (I would prefer
> > > > > not to load a complete gui (vlc) with any click again and again.)?
> > > > 
> > > > For me it was just the other way around. HTML5 mode played much (very
> > > > much!) more smooth than flash player. I opted in early by that time
> > > > for
> > > > switching YT to HTML5 player. This was for Chrome, of course, because
> > > > by that time Firefox wasn't really compatible.
> > > > 
> > > > You probably really should check your graphics stack. If you have an
> > > > at
> > > > least somewhat decent machine (something which was built during the
> > > > last 5 years), you should have absolutely no problems playing videos
> > > > in
> > > > the HTML5 player. Even my aging machine in the office (which didn't
> > > > play smooth videos in the flash player) runs full HD streaming videos
> > > > smoothly in the HTML5 player - no stuttering, no blocking, no
> > > > framedrops. This was different with the flash player which looked like
> > > > it dropped every second frame in fullscreen mode - but at least it did
> > > > not stutter due to that "optimization".
> > > > 
> > > > Maybe give some information about your graphics stack and
> > > > configuration...
> > > 
> > > Hi Kai,
> > > 
> > > I think that the hardware is not the problem, since downloading the
> > > video and playing it offline had resulted in no problems ever...
> > > 
> > > Cheers
> > > Meino
> > 
> > Meino,
> > 
> > In one of your other emails, you mentioned that your ADSL is incapable of
> > providing the full-HD stream.
> > This could easily be the cause for the issues you are having with HTML5
> > video as well. Maybe look into cache-options?
> > 
> > --
> > Joost
> 
> Joost,
> 
> did this (~/.config/mpv/mpv.config) with no positive effect.
> I decreased the video resolution to <1280 (again via mpv.conf) which
> helps to some degree.
> Interesting is: It hangs always a the same points in the video if
> playing the same video with different configurations.
> 
> I called mpv with an url form the commandline and indeed it shows
> "playing video" and "buffering" (at this point it hangs) alternateing.
> 
> The FF problem was not only hangs but something like the following
> sentence:
> 
> Thehe quiquickkckick bkrowownwn foxoxfoxx joxujumumpjumpsumps
> oveovrver thhehe lazazylazyzy dogog
> 
> Somehow three steps forward and two backwards. The audio was never
> effected though.
> 
> With "Play with mpv" it """"only"""" hangs.
> 
> Do I really need an new DSL contract with my provider becayse
> FF has switched to HTML5 only?
> 
> Can't be...or?

It depends. (seriously)

What you describe is what I get when I'm using my mobile connection with bad 
reception. In other words, it does sound like a bandwidth issue.

Dave solves that by downloading the files and then watching it locally.

What kind of bandwidth (up and down) do you have? And what else is using that 
connection while you are trying to watch a video?

I don't think it's HTML5 at fault, the same amount of data needs to be 
transfered, but it might be that HTML5 is less bandwidth efficient than Flash. 

I don't seem to have flash installed on my current machine and am using FF45.5. 
In there, with Youtube, I do get the option to change the resolution on the 
video-streams. Don't you get that?

--
Joost


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] Re: HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-30  6:23         ` J. Roeleveld
@ 2016-11-30  6:55           ` Meino.Cramer
  2016-11-30  9:37             ` J. Roeleveld
  2016-12-01 20:28             ` Kai Krakow
  0 siblings, 2 replies; 38+ messages in thread
From: Meino.Cramer @ 2016-11-30  6:55 UTC (permalink / raw
  To: gentoo-user

J. Roeleveld <joost@antarean.org> [16-11-30 07:28]:
> On Wednesday, November 30, 2016 07:08:45 AM Meino.Cramer@gmx.de wrote:
> > J. Roeleveld <joost@antarean.org> [16-11-30 06:48]:
> > > On Wednesday, November 30, 2016 05:33:15 AM Meino.Cramer@gmx.de wrote:
> > > > Kai Krakow <hurikhan77@gmail.com> [16-11-30 05:08]:
> > > > > Am Tue, 29 Nov 2016 07:42:16 +0100
> > > > > 
> > > > > schrieb Meino.Cramer@gmx.de:
> > > > > > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> > > > > > Most of the videos while playayaingnaying arereare stututterutering
> > > > > > liiklike helellell.
> > > > > > 
> > > > > > I tested a lot of HTML5 addons to fix that problem and googled
> > > > > > around the world but nothing helps. The only thing I found is an
> > > > > > iconic sentence, which is true in this case also:
> > > > > > "You are not alone...!".
> > > > > > 
> > > > > > Is there any way to feed the stream from youtube direktly into
> > > > > > a not blown player like mpv/mplayer or such (I would prefer
> > > > > > not to load a complete gui (vlc) with any click again and again.)?
> > > > > 
> > > > > For me it was just the other way around. HTML5 mode played much (very
> > > > > much!) more smooth than flash player. I opted in early by that time
> > > > > for
> > > > > switching YT to HTML5 player. This was for Chrome, of course, because
> > > > > by that time Firefox wasn't really compatible.
> > > > > 
> > > > > You probably really should check your graphics stack. If you have an
> > > > > at
> > > > > least somewhat decent machine (something which was built during the
> > > > > last 5 years), you should have absolutely no problems playing videos
> > > > > in
> > > > > the HTML5 player. Even my aging machine in the office (which didn't
> > > > > play smooth videos in the flash player) runs full HD streaming videos
> > > > > smoothly in the HTML5 player - no stuttering, no blocking, no
> > > > > framedrops. This was different with the flash player which looked like
> > > > > it dropped every second frame in fullscreen mode - but at least it did
> > > > > not stutter due to that "optimization".
> > > > > 
> > > > > Maybe give some information about your graphics stack and
> > > > > configuration...
> > > > 
> > > > Hi Kai,
> > > > 
> > > > I think that the hardware is not the problem, since downloading the
> > > > video and playing it offline had resulted in no problems ever...
> > > > 
> > > > Cheers
> > > > Meino
> > > 
> > > Meino,
> > > 
> > > In one of your other emails, you mentioned that your ADSL is incapable of
> > > providing the full-HD stream.
> > > This could easily be the cause for the issues you are having with HTML5
> > > video as well. Maybe look into cache-options?
> > > 
> > > --
> > > Joost
> > 
> > Joost,
> > 
> > did this (~/.config/mpv/mpv.config) with no positive effect.
> > I decreased the video resolution to <1280 (again via mpv.conf) which
> > helps to some degree.
> > Interesting is: It hangs always a the same points in the video if
> > playing the same video with different configurations.
> > 
> > I called mpv with an url form the commandline and indeed it shows
> > "playing video" and "buffering" (at this point it hangs) alternateing.
> > 
> > The FF problem was not only hangs but something like the following
> > sentence:
> > 
> > Thehe quiquickkckick bkrowownwn foxoxfoxx joxujumumpjumpsumps
> > oveovrver thhehe lazazylazyzy dogog
> > 
> > Somehow three steps forward and two backwards. The audio was never
> > effected though.
> > 
> > With "Play with mpv" it """"only"""" hangs.
> > 
> > Do I really need an new DSL contract with my provider becayse
> > FF has switched to HTML5 only?
> > 
> > Can't be...or?
> 
> It depends. (seriously)
> 
> What you describe is what I get when I'm using my mobile connection with bad 
> reception. In other words, it does sound like a bandwidth issue.
> 
> Dave solves that by downloading the files and then watching it locally.
> 
> What kind of bandwidth (up and down) do you have? And what else is using that 
> connection while you are trying to watch a video?
> 
> I don't think it's HTML5 at fault, the same amount of data needs to be 
> transfered, but it might be that HTML5 is less bandwidth efficient than Flash. 
> 
> I don't seem to have flash installed on my current machine and am using FF45.5. 
> In there, with Youtube, I do get the option to change the resolution on the 
> video-streams. Don't you get that?
> 
> --
> Joost
> 

I checked the current bandwidth (07:48 am local time) with this
http://speedcheck.vodafone.de/

and got:
	2,1 Mbps download
	0,1 Mbps upload
    58 ms latency (ping test)

There is no other kind of task which consumes bandwidth
(while checking the above or while streaming videos)

Another (real odd) possibillitu would be: Someone has
hijacked my DSL modem (its no router) - its an older
Fritz! box.

--
Meino








^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-29 16:51     ` Meino.Cramer
@ 2016-11-30  8:24       ` Peter Humphrey
  0 siblings, 0 replies; 38+ messages in thread
From: Peter Humphrey @ 2016-11-30  8:24 UTC (permalink / raw
  To: gentoo-user

On Tuesday 29 Nov 2016 17:51:29 Meino.Cramer@gmx.de wrote:
> Peter Humphrey <peter@prh.myzen.co.uk> [16-11-29 17:24]:
> > On Tuesday 29 Nov 2016 12:28:32 I wrote:
> > > On Tuesday 29 Nov 2016 07:42:16 Meino.Cramer@gmx.de wrote:
> > > > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> > > > Most of the videos while playayaingnaying arereare stututterutering
> > > > liiklike helellell.
> > > 
> > > I use Twitter as a selective news feed, only following organisations
> > > that
> > > are active in my fields of interest, and I get the same effect with
> > > HTML-5
> > > moving pictures. I can't watch them so I scroll to where I can't see
> > > them.
> > 
> > But now it's fine, after upgrading Firefox this morning.
> 
> ....ok...for the problem is back. :(

Well, my Twitter feed is still fine.

-- 
Regards
Peter



^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] Re: HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-30  6:55           ` Meino.Cramer
@ 2016-11-30  9:37             ` J. Roeleveld
  2016-11-30  9:48               ` Meino.Cramer
  2016-12-01 20:28             ` Kai Krakow
  1 sibling, 1 reply; 38+ messages in thread
From: J. Roeleveld @ 2016-11-30  9:37 UTC (permalink / raw
  To: gentoo-user

On Wednesday, November 30, 2016 07:55:11 AM Meino.Cramer@gmx.de wrote:
> J. Roeleveld <joost@antarean.org> [16-11-30 07:28]:
> > On Wednesday, November 30, 2016 07:08:45 AM Meino.Cramer@gmx.de wrote:
> > > J. Roeleveld <joost@antarean.org> [16-11-30 06:48]:
> > > > On Wednesday, November 30, 2016 05:33:15 AM Meino.Cramer@gmx.de wrote:
> > > > > Kai Krakow <hurikhan77@gmail.com> [16-11-30 05:08]:
> > > > > > Am Tue, 29 Nov 2016 07:42:16 +0100
> > > > > > 
> > > > > > schrieb Meino.Cramer@gmx.de:
> > > > > > > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> > > > > > > Most of the videos while playayaingnaying arereare
> > > > > > > stututterutering
> > > > > > > liiklike helellell.
> > > > > > > 
> > > > > > > I tested a lot of HTML5 addons to fix that problem and googled
> > > > > > > around the world but nothing helps. The only thing I found is an
> > > > > > > iconic sentence, which is true in this case also:
> > > > > > > "You are not alone...!".
> > > > > > > 
> > > > > > > Is there any way to feed the stream from youtube direktly into
> > > > > > > a not blown player like mpv/mplayer or such (I would prefer
> > > > > > > not to load a complete gui (vlc) with any click again and
> > > > > > > again.)?
> > > > > > 
> > > > > > For me it was just the other way around. HTML5 mode played much
> > > > > > (very
> > > > > > much!) more smooth than flash player. I opted in early by that
> > > > > > time
> > > > > > for
> > > > > > switching YT to HTML5 player. This was for Chrome, of course,
> > > > > > because
> > > > > > by that time Firefox wasn't really compatible.
> > > > > > 
> > > > > > You probably really should check your graphics stack. If you have
> > > > > > an
> > > > > > at
> > > > > > least somewhat decent machine (something which was built during
> > > > > > the
> > > > > > last 5 years), you should have absolutely no problems playing
> > > > > > videos
> > > > > > in
> > > > > > the HTML5 player. Even my aging machine in the office (which
> > > > > > didn't
> > > > > > play smooth videos in the flash player) runs full HD streaming
> > > > > > videos
> > > > > > smoothly in the HTML5 player - no stuttering, no blocking, no
> > > > > > framedrops. This was different with the flash player which looked
> > > > > > like
> > > > > > it dropped every second frame in fullscreen mode - but at least it
> > > > > > did
> > > > > > not stutter due to that "optimization".
> > > > > > 
> > > > > > Maybe give some information about your graphics stack and
> > > > > > configuration...
> > > > > 
> > > > > Hi Kai,
> > > > > 
> > > > > I think that the hardware is not the problem, since downloading the
> > > > > video and playing it offline had resulted in no problems ever...
> > > > > 
> > > > > Cheers
> > > > > Meino
> > > > 
> > > > Meino,
> > > > 
> > > > In one of your other emails, you mentioned that your ADSL is incapable
> > > > of
> > > > providing the full-HD stream.
> > > > This could easily be the cause for the issues you are having with
> > > > HTML5
> > > > video as well. Maybe look into cache-options?
> > > > 
> > > > --
> > > > Joost
> > > 
> > > Joost,
> > > 
> > > did this (~/.config/mpv/mpv.config) with no positive effect.
> > > I decreased the video resolution to <1280 (again via mpv.conf) which
> > > helps to some degree.
> > > Interesting is: It hangs always a the same points in the video if
> > > playing the same video with different configurations.
> > > 
> > > I called mpv with an url form the commandline and indeed it shows
> > > "playing video" and "buffering" (at this point it hangs) alternateing.
> > > 
> > > The FF problem was not only hangs but something like the following
> > > sentence:
> > > 
> > > Thehe quiquickkckick bkrowownwn foxoxfoxx joxujumumpjumpsumps
> > > oveovrver thhehe lazazylazyzy dogog
> > > 
> > > Somehow three steps forward and two backwards. The audio was never
> > > effected though.
> > > 
> > > With "Play with mpv" it """"only"""" hangs.
> > > 
> > > Do I really need an new DSL contract with my provider becayse
> > > FF has switched to HTML5 only?
> > > 
> > > Can't be...or?
> > 
> > It depends. (seriously)
> > 
> > What you describe is what I get when I'm using my mobile connection with
> > bad reception. In other words, it does sound like a bandwidth issue.
> > 
> > Dave solves that by downloading the files and then watching it locally.
> > 
> > What kind of bandwidth (up and down) do you have? And what else is using
> > that connection while you are trying to watch a video?
> > 
> > I don't think it's HTML5 at fault, the same amount of data needs to be
> > transfered, but it might be that HTML5 is less bandwidth efficient than
> > Flash.
> > 
> > I don't seem to have flash installed on my current machine and am using
> > FF45.5. In there, with Youtube, I do get the option to change the
> > resolution on the video-streams. Don't you get that?
> > 
> > --
> > Joost
> 
> I checked the current bandwidth (07:48 am local time) with this
> http://speedcheck.vodafone.de/
> 
> and got:
> 	2,1 Mbps download
> 	0,1 Mbps upload
>     58 ms latency (ping test)
> 
> There is no other kind of task which consumes bandwidth
> (while checking the above or while streaming videos)

0,1 Mbps upload...
This is really small. If there is a process that is uploading with 50Kbps 
(=0,05Mbps), you will loose HALF of your download.
And 50Kbps is achieved really quickly.

With this, I would kill any application that might use the internet, like 
email.

Anything less then 10Mbps down / 1Mbps up would not even be considered by me.

> Another (real odd) possibillitu would be: Someone has
> hijacked my DSL modem (its no router) - its an older
> Fritz! box.

That's always possible. But unless there is a massive DDOS going on right now, 
I don't think that would be of any use.

Do you use a network cable or wireless during tests?

--
Joost


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] Re: HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-30  9:37             ` J. Roeleveld
@ 2016-11-30  9:48               ` Meino.Cramer
  0 siblings, 0 replies; 38+ messages in thread
From: Meino.Cramer @ 2016-11-30  9:48 UTC (permalink / raw
  To: gentoo-user

J. Roeleveld <joost@antarean.org> [16-11-30 10:44]:
> On Wednesday, November 30, 2016 07:55:11 AM Meino.Cramer@gmx.de wrote:
> > J. Roeleveld <joost@antarean.org> [16-11-30 07:28]:
> > > On Wednesday, November 30, 2016 07:08:45 AM Meino.Cramer@gmx.de wrote:
> > > > J. Roeleveld <joost@antarean.org> [16-11-30 06:48]:
> > > > > On Wednesday, November 30, 2016 05:33:15 AM Meino.Cramer@gmx.de wrote:
> > > > > > Kai Krakow <hurikhan77@gmail.com> [16-11-30 05:08]:
> > > > > > > Am Tue, 29 Nov 2016 07:42:16 +0100
> > > > > > > 
> > > > > > > schrieb Meino.Cramer@gmx.de:
> > > > > > > > I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> > > > > > > > Most of the videos while playayaingnaying arereare
> > > > > > > > stututterutering
> > > > > > > > liiklike helellell.
> > > > > > > > 
> > > > > > > > I tested a lot of HTML5 addons to fix that problem and googled
> > > > > > > > around the world but nothing helps. The only thing I found is an
> > > > > > > > iconic sentence, which is true in this case also:
> > > > > > > > "You are not alone...!".
> > > > > > > > 
> > > > > > > > Is there any way to feed the stream from youtube direktly into
> > > > > > > > a not blown player like mpv/mplayer or such (I would prefer
> > > > > > > > not to load a complete gui (vlc) with any click again and
> > > > > > > > again.)?
> > > > > > > 
> > > > > > > For me it was just the other way around. HTML5 mode played much
> > > > > > > (very
> > > > > > > much!) more smooth than flash player. I opted in early by that
> > > > > > > time
> > > > > > > for
> > > > > > > switching YT to HTML5 player. This was for Chrome, of course,
> > > > > > > because
> > > > > > > by that time Firefox wasn't really compatible.
> > > > > > > 
> > > > > > > You probably really should check your graphics stack. If you have
> > > > > > > an
> > > > > > > at
> > > > > > > least somewhat decent machine (something which was built during
> > > > > > > the
> > > > > > > last 5 years), you should have absolutely no problems playing
> > > > > > > videos
> > > > > > > in
> > > > > > > the HTML5 player. Even my aging machine in the office (which
> > > > > > > didn't
> > > > > > > play smooth videos in the flash player) runs full HD streaming
> > > > > > > videos
> > > > > > > smoothly in the HTML5 player - no stuttering, no blocking, no
> > > > > > > framedrops. This was different with the flash player which looked
> > > > > > > like
> > > > > > > it dropped every second frame in fullscreen mode - but at least it
> > > > > > > did
> > > > > > > not stutter due to that "optimization".
> > > > > > > 
> > > > > > > Maybe give some information about your graphics stack and
> > > > > > > configuration...
> > > > > > 
> > > > > > Hi Kai,
> > > > > > 
> > > > > > I think that the hardware is not the problem, since downloading the
> > > > > > video and playing it offline had resulted in no problems ever...
> > > > > > 
> > > > > > Cheers
> > > > > > Meino
> > > > > 
> > > > > Meino,
> > > > > 
> > > > > In one of your other emails, you mentioned that your ADSL is incapable
> > > > > of
> > > > > providing the full-HD stream.
> > > > > This could easily be the cause for the issues you are having with
> > > > > HTML5
> > > > > video as well. Maybe look into cache-options?
> > > > > 
> > > > > --
> > > > > Joost
> > > > 
> > > > Joost,
> > > > 
> > > > did this (~/.config/mpv/mpv.config) with no positive effect.
> > > > I decreased the video resolution to <1280 (again via mpv.conf) which
> > > > helps to some degree.
> > > > Interesting is: It hangs always a the same points in the video if
> > > > playing the same video with different configurations.
> > > > 
> > > > I called mpv with an url form the commandline and indeed it shows
> > > > "playing video" and "buffering" (at this point it hangs) alternateing.
> > > > 
> > > > The FF problem was not only hangs but something like the following
> > > > sentence:
> > > > 
> > > > Thehe quiquickkckick bkrowownwn foxoxfoxx joxujumumpjumpsumps
> > > > oveovrver thhehe lazazylazyzy dogog
> > > > 
> > > > Somehow three steps forward and two backwards. The audio was never
> > > > effected though.
> > > > 
> > > > With "Play with mpv" it """"only"""" hangs.
> > > > 
> > > > Do I really need an new DSL contract with my provider becayse
> > > > FF has switched to HTML5 only?
> > > > 
> > > > Can't be...or?
> > > 
> > > It depends. (seriously)
> > > 
> > > What you describe is what I get when I'm using my mobile connection with
> > > bad reception. In other words, it does sound like a bandwidth issue.
> > > 
> > > Dave solves that by downloading the files and then watching it locally.
> > > 
> > > What kind of bandwidth (up and down) do you have? And what else is using
> > > that connection while you are trying to watch a video?
> > > 
> > > I don't think it's HTML5 at fault, the same amount of data needs to be
> > > transfered, but it might be that HTML5 is less bandwidth efficient than
> > > Flash.
> > > 
> > > I don't seem to have flash installed on my current machine and am using
> > > FF45.5. In there, with Youtube, I do get the option to change the
> > > resolution on the video-streams. Don't you get that?
> > > 
> > > --
> > > Joost
> > 
> > I checked the current bandwidth (07:48 am local time) with this
> > http://speedcheck.vodafone.de/
> > 
> > and got:
> > 	2,1 Mbps download
> > 	0,1 Mbps upload
> >     58 ms latency (ping test)
> > 
> > There is no other kind of task which consumes bandwidth
> > (while checking the above or while streaming videos)
> 
> 0,1 Mbps upload...
> This is really small. If there is a process that is uploading with 50Kbps 
> (=0,05Mbps), you will loose HALF of your download.
> And 50Kbps is achieved really quickly.
> 
> With this, I would kill any application that might use the internet, like 
> email.
> 
> Anything less then 10Mbps down / 1Mbps up would not even be considered by me.
> 
> > Another (real odd) possibillitu would be: Someone has
> > hijacked my DSL modem (its no router) - its an older
> > Fritz! box.
> 
> That's always possible. But unless there is a massive DDOS going on right now, 
> I don't think that would be of any use.
> 
> Do you use a network cable or wireless during tests?
> 
> --
> Joost
> 

Joost,

everything is good old fashioned copper...

--
Meino




^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-30  5:46           ` Meino.Cramer
@ 2016-11-30 14:02             ` Patrick Steinhardt
  2016-11-30 15:48             ` Daniel Frey
  1 sibling, 0 replies; 38+ messages in thread
From: Patrick Steinhardt @ 2016-11-30 14:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3942 bytes --]

On Wed, Nov 30, 2016 at 06:46:00AM +0100, Meino.Cramer@gmx.de wrote:
> Patrick Steinhardt <ps@pks.im> [16-11-30 04:01]:
> > On Tue, Nov 29, 2016 at 06:39:28PM +0100, Meino.Cramer@gmx.de wrote:
> > > Poncho <poncho@spahan.ch> [16-11-29 18:24]:
> > > > you can use the open-with extension ( see:
> > > > https://addons.mozilla.org/en-US/firefox/addon/open-with/ ) to get a
> > > > "open with mpv" shortcut in your right click menu
> > > > 
> > > > On 29.11.2016 08:35, Meino.Cramer@gmx.de wrote:
> > > > > Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 08:16]:
> > > > >> On Tue Nov 29 07:42:16 2016, Meino.Cramer@gmx.de wrote:
> > > > >>> Is there any way to feed the stream from youtube direktly into
> > > > >>> a not blown player like mpv/mplayer or such (I would prefer
> > > > >>> not to load a complete gui (vlc) with any click again and again.)?
> > > > >>
> > > > >> Hi,
> > > > >>
> > > > >> Yes, you can play video from youtube with mpv if you have emerged
> > > > >> net-misc/youtube-dl.
> > > > >>
> > > > >> -- 
> > > > >> alarig
> > > > > 
> > > > > Hi Alarig,
> > > > > 
> > > > > thanks for your help! :)
> > > > > 
> > > > > yes...I know...but this implies (as far as I know):
> > > > > Copying the url from FF as argument to youtube-dl,
> > > > > downloading the file, and than watching it.
> > > > > This was my (painful) workaround the last days.
> > > > > 
> > > > > I woyld like something like:
> > > > > Click on youtube-url, a window (console) pops up 
> > > > > and starts <fill in something> to watch the video
> > > > > directly.
> > > > > 
> > > > > Is it possible somehow?
> > > > > 
> > > > > Thanks in advance for any help!
> > > > > 
> > > > > Cheers,
> > > > > Meino
> > > > > 
> > > 
> > > Hi Poncho,
> > > 
> > > thanks for your help - I installed this one.
> > > 
> > > One problem: mpv seems to open the video with the highest
> > > possible resolution...and now.......the video.............stops
> > > from.........time..........to time.........due to..........too
> > > less............DSL bandwidth...........
> > > 
> > > Can I tell who? to only access videos with 720p max???
> > > 
> > > Cheers
> > > Meino
> > 
> > Hi Meino,
> > 
> > yes, it is possible. The format-selection is quite flexible with
> > youtube-dl. I've got the following line in
> > ~/.config/mpv/mpv.conf:
> > 
> > '''
> > ytdl-format=bestvideo[ext!=webm,width<=1920]+bestaudio[protocol!=http_dash_segments]/best
> > '''
> > 
> > Something like the following might work for you.
> > 
> > '''
> > ytdl-format=bestvideo[width<=920]+bestaudio/best
> > '''
> > 
> > It will select a format with width less than 920px together with
> > the best audio source, or, if nothing matches this criteria, the
> > best format available. But just take a look at youtube-dl(1),
> > FORMAT SELECTION.
> > 
> > Patrick
> 
> 
> Hi Patrick,
> 
> thanks for your help! :)
> 
> Additionally I played around with the 'vo=' settings.
> Interestingly it hangs always at the same point in the video.
> 
> I played back the video with
> 
> mpv '<url>' from the commandline and get the same effect.
> 
> BUT: The output of mpv changes from "playing video" to
> "buffering" (at this moment the video hangs) and back.
> 
> I increased the cache and readahead in mpv.conf with
> no effect (it even hits the same point in the video
> every time!).
> 
> If I configure width<1280 it seems to work...but does
> it really need to be that small?
> 
> Am I out of luck?
> 
> Cheers
> Meino

I always had problems with mpv when caching was enabled. In fact,
I'm now running mpv without caching ("cache=no") at all and it
runs smooth as butter, even for full HD and better. So maybe try
disabling the cache altogether?

Otherwise I've got no idea as to what might be causing your
issue. Never had any problems despite caching issues.

Regards
Partick

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-30  5:46           ` Meino.Cramer
  2016-11-30 14:02             ` Patrick Steinhardt
@ 2016-11-30 15:48             ` Daniel Frey
  1 sibling, 0 replies; 38+ messages in thread
From: Daniel Frey @ 2016-11-30 15:48 UTC (permalink / raw
  To: gentoo-user

On 11/29/2016 09:46 PM, Meino.Cramer@gmx.de wrote:
> Patrick Steinhardt <ps@pks.im> [16-11-30 04:01]:
>> On Tue, Nov 29, 2016 at 06:39:28PM +0100, Meino.Cramer@gmx.de wrote:
>>> Poncho <poncho@spahan.ch> [16-11-29 18:24]:
>>>> you can use the open-with extension ( see:
>>>> https://addons.mozilla.org/en-US/firefox/addon/open-with/ ) to get a
>>>> "open with mpv" shortcut in your right click menu
>>>>
>>>> On 29.11.2016 08:35, Meino.Cramer@gmx.de wrote:
>>>>> Alarig Le Lay <alarig@swordarmor.fr> [16-11-29 08:16]:
>>>>>> On Tue Nov 29 07:42:16 2016, Meino.Cramer@gmx.de wrote:
>>>>>>> Is there any way to feed the stream from youtube direktly into
>>>>>>> a not blown player like mpv/mplayer or such (I would prefer
>>>>>>> not to load a complete gui (vlc) with any click again and again.)?
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Yes, you can play video from youtube with mpv if you have emerged
>>>>>> net-misc/youtube-dl.
>>>>>>
>>>>>> -- 
>>>>>> alarig
>>>>>
>>>>> Hi Alarig,
>>>>>
>>>>> thanks for your help! :)
>>>>>
>>>>> yes...I know...but this implies (as far as I know):
>>>>> Copying the url from FF as argument to youtube-dl,
>>>>> downloading the file, and than watching it.
>>>>> This was my (painful) workaround the last days.
>>>>>
>>>>> I woyld like something like:
>>>>> Click on youtube-url, a window (console) pops up 
>>>>> and starts <fill in something> to watch the video
>>>>> directly.
>>>>>
>>>>> Is it possible somehow?
>>>>>
>>>>> Thanks in advance for any help!
>>>>>
>>>>> Cheers,
>>>>> Meino
>>>>>
>>>
>>> Hi Poncho,
>>>
>>> thanks for your help - I installed this one.
>>>
>>> One problem: mpv seems to open the video with the highest
>>> possible resolution...and now.......the video.............stops
>>> from.........time..........to time.........due to..........too
>>> less............DSL bandwidth...........
>>>
>>> Can I tell who? to only access videos with 720p max???
>>>
>>> Cheers
>>> Meino
>>
>> Hi Meino,
>>
>> yes, it is possible. The format-selection is quite flexible with
>> youtube-dl. I've got the following line in
>> ~/.config/mpv/mpv.conf:
>>
>> '''
>> ytdl-format=bestvideo[ext!=webm,width<=1920]+bestaudio[protocol!=http_dash_segments]/best
>> '''
>>
>> Something like the following might work for you.
>>
>> '''
>> ytdl-format=bestvideo[width<=920]+bestaudio/best
>> '''
>>
>> It will select a format with width less than 920px together with
>> the best audio source, or, if nothing matches this criteria, the
>> best format available. But just take a look at youtube-dl(1),
>> FORMAT SELECTION.
>>
>> Patrick
> 
> 
> Hi Patrick,
> 
> thanks for your help! :)
> 
> Additionally I played around with the 'vo=' settings.
> Interestingly it hangs always at the same point in the video.
> 
> I played back the video with
> 
> mpv '<url>' from the commandline and get the same effect.
> 
> BUT: The output of mpv changes from "playing video" to
> "buffering" (at this moment the video hangs) and back.
> 
> I increased the cache and readahead in mpv.conf with
> no effect (it even hits the same point in the video
> every time!).
> 
> If I configure width<1280 it seems to work...but does
> it really need to be that small?
> 
> Am I out of luck?
> 
> Cheers
> Meino
> 
> 
> 
> 

You mentioned you have slow DSL. Have you checked for packet loss on
your connection? (ie, smokeping or similar.) Youtube really hates any
amount of packet loss.

Dan


^ permalink raw reply	[flat|nested] 38+ messages in thread

* [gentoo-user] Re: HTML5 player (YouTube) is a pain!...Alternatives?
  2016-11-30  6:55           ` Meino.Cramer
  2016-11-30  9:37             ` J. Roeleveld
@ 2016-12-01 20:28             ` Kai Krakow
  1 sibling, 0 replies; 38+ messages in thread
From: Kai Krakow @ 2016-12-01 20:28 UTC (permalink / raw
  To: gentoo-user

Am Wed, 30 Nov 2016 07:55:11 +0100
schrieb Meino.Cramer@gmx.de:

> I checked the current bandwidth (07:48 am local time) with this
> http://speedcheck.vodafone.de/
> 
> and got:
> 	2,1 Mbps download
> 	0,1 Mbps upload
>     58 ms latency (ping test)

I got 184.19 Mbps down / 11.94 Mbps up while streaming YT, ping is 34
ms, according to the same test. Steam games download at 24 MByte/s. This
line is very capable but even with the lowest contract from Vodafone,
your line speed is way too low...

> There is no other kind of task which consumes bandwidth
> (while checking the above or while streaming videos)
> 
> Another (real odd) possibillitu would be: Someone has
> hijacked my DSL modem (its no router) - its an older
> Fritz! box.

I wouldn't deny this. I've seen v5 firmware Fritzboxes lately which
seem to have been hijacked on customer sites. The effect was that a
firmware upgrade fails (red led only after flashing the upgrade) and
before the upgrade, connections to mail servers through wifi behaved
different than connections to the same servers did through copper
connection...

Plus, older boxes are very low on CPU and won't take much more than
30-80 Mbps probably. This can totally break your streaming experience
even if your throughput could do better.

If you're on DSL (not cable as I am), try to swap the box for another
one from a friend and see if it works better. If yes, either get a new
box (which supports current firmwares), or backup your config, use the
recovery tool to reset the firmware to pristine state, and restore the
config. Cable boxes are actually not that easy to swap due to
certificate locking.

-- 
Regards,
Kai

Replies to list-only preferred.



^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2016-12-01 20:28 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-29  6:42 [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives? Meino.Cramer
2016-11-29  7:06 ` Alarig Le Lay
2016-11-29  7:35   ` Meino.Cramer
2016-11-29  8:27     ` Alarig Le Lay
2016-11-29 17:15     ` Poncho
2016-11-29 17:39       ` Meino.Cramer
2016-11-29 20:59         ` Poncho
2016-11-29 21:40         ` Patrick Steinhardt
2016-11-30  5:46           ` Meino.Cramer
2016-11-30 14:02             ` Patrick Steinhardt
2016-11-30 15:48             ` Daniel Frey
2016-11-29 20:00     ` Simon Thelen
2016-11-29  7:33 ` Marat BN
2016-11-29  9:19   ` Meino.Cramer
2016-11-29  9:36     ` Alarig Le Lay
2016-11-29 10:28       ` Meino.Cramer
2016-11-29 13:52         ` Volker Armin Hemmann
2016-11-29 14:01           ` Meino.Cramer
2016-11-29 14:05             ` Alexander Openkowski
2016-11-29 15:55               ` Meino.Cramer
2016-11-30  0:35       ` Marat BN
2016-11-29  9:49 ` Volker Armin Hemmann
2016-11-29 12:28 ` Peter Humphrey
2016-11-29 16:17   ` Peter Humphrey
2016-11-29 16:32     ` Meino.Cramer
2016-11-29 16:51     ` Meino.Cramer
2016-11-30  8:24       ` Peter Humphrey
2016-11-29 18:47 ` [gentoo-user] " Ian Zimmerman
2016-11-29 21:43 ` [gentoo-user] " Alon Bar-Lev
2016-11-30  3:55 ` [gentoo-user] " Kai Krakow
2016-11-30  4:33   ` Meino.Cramer
2016-11-30  5:41     ` J. Roeleveld
2016-11-30  6:08       ` Meino.Cramer
2016-11-30  6:23         ` J. Roeleveld
2016-11-30  6:55           ` Meino.Cramer
2016-11-30  9:37             ` J. Roeleveld
2016-11-30  9:48               ` Meino.Cramer
2016-12-01 20:28             ` Kai Krakow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox