From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB1201395E2 for ; Wed, 30 Nov 2016 14:02:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE87F21C091; Wed, 30 Nov 2016 14:02:36 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B24C21C012 for ; Wed, 30 Nov 2016 14:02:36 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C4B5B207F6 for ; Wed, 30 Nov 2016 09:02:35 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 30 Nov 2016 09:02:35 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=peXKMLO1izpOv3 lM2PuvK5/NAuQ=; b=umnNTik2OUdmLjAZytouukETVr8aAGW8rj4RLC4YQP+a3b ESwO/8ZVVoAxVk7FZP0ebEt2WRoKQdIk4gEU+nmv3w54RVKLqmH76DTE8QNjRHCN OeptS09XIQYYAlO2ADiCOrWNZJFUkOM3zejIiLH7+fv0/eLHl3Ahh7a1hoR/4= X-ME-Sender: X-Sasl-enc: qc2+1GugN8e2NZidZg75xVsYeF9xaulg6JnACw13E2ZD 1480514555 Received: from localhost (unknown [46.189.27.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 68DD17E430 for ; Wed, 30 Nov 2016 09:02:35 -0500 (EST) Date: Wed, 30 Nov 2016 15:02:34 +0100 From: Patrick Steinhardt To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives? Message-ID: <20161130140234.GA2811@pks-xps> References: <20161129064216.GA4903@solfire> <20161129070623.rfvyc6khbpnifv4l@kaiminus> <20161129073553.GB4903@solfire> <930859b8-75b8-139a-5ad0-471dafb9b404@spahan.ch> <20161129173928.GF15463@solfire> <20161129214027.GA492@pks-xps> <20161130054600.GB4842@solfire> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <20161130054600.GB4842@solfire> X-Archives-Salt: 3c50c605-d2f3-446a-a6dc-5c0240707639 X-Archives-Hash: d62a26a62b890169af2e7d9a7672448b --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 30, 2016 at 06:46:00AM +0100, Meino.Cramer@gmx.de wrote: > Patrick Steinhardt [16-11-30 04:01]: > > On Tue, Nov 29, 2016 at 06:39:28PM +0100, Meino.Cramer@gmx.de wrote: > > > Poncho [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 > > > >=20 > > > > On 29.11.2016 08:35, Meino.Cramer@gmx.de wrote: > > > > > Alarig Le Lay [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= =2E)? > > > > >> > > > > >> Hi, > > > > >> > > > > >> Yes, you can play video from youtube with mpv if you have emerged > > > > >> net-misc/youtube-dl. > > > > >> > > > > >> --=20 > > > > >> alarig > > > > >=20 > > > > > Hi Alarig, > > > > >=20 > > > > > thanks for your help! :) > > > > >=20 > > > > > 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. > > > > >=20 > > > > > I woyld like something like: > > > > > Click on youtube-url, a window (console) pops up=20 > > > > > and starts to watch the video > > > > > directly. > > > > >=20 > > > > > Is it possible somehow? > > > > >=20 > > > > > Thanks in advance for any help! > > > > >=20 > > > > > Cheers, > > > > > Meino > > > > >=20 > > >=20 > > > Hi Poncho, > > >=20 > > > thanks for your help - I installed this one. > > >=20 > > > 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........... > > >=20 > > > Can I tell who? to only access videos with 720p max??? > > >=20 > > > Cheers > > > Meino > >=20 > > Hi Meino, > >=20 > > yes, it is possible. The format-selection is quite flexible with > > youtube-dl. I've got the following line in > > ~/.config/mpv/mpv.conf: > >=20 > > ''' > > ytdl-format=3Dbestvideo[ext!=3Dwebm,width<=3D1920]+bestaudio[protocol!= =3Dhttp_dash_segments]/best > > ''' > >=20 > > Something like the following might work for you. > >=20 > > ''' > > ytdl-format=3Dbestvideo[width<=3D920]+bestaudio/best > > ''' > >=20 > > 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. > >=20 > > Patrick >=20 >=20 > Hi Patrick, >=20 > thanks for your help! :) >=20 > Additionally I played around with the 'vo=3D' settings. > Interestingly it hangs always at the same point in the video. >=20 > I played back the video with >=20 > mpv '' from the commandline and get the same effect. >=20 > BUT: The output of mpv changes from "playing video" to > "buffering" (at this moment the video hangs) and back. >=20 > I increased the cache and readahead in mpv.conf with > no effect (it even hits the same point in the video > every time!). >=20 > If I configure width<1280 it seems to work...but does > it really need to be that small? >=20 > Am I out of luck? >=20 > Cheers > Meino I always had problems with mpv when caching was enabled. In fact, I'm now running mpv without caching ("cache=3Dno") 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 --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAABCAAGBQJYPtv6AAoJEBF8Z7aeq/Es0BQQAJZHioXHi0Ua/9z0pdpLK8L0 FXyfnC+K3/AUgfJT1/FMkGdT4zekZi9+TpiVbRJaFrlUbhlEchf5TrIDFDvQjJ6i qdsN0US04IPV3FQ2L72u2de0J5JSVc8opH3wuKEkZxrcqB9ZZtQU0nmg8nAuregZ 6S+do/LeyDQzDmjDfpcme03WTLaliCjEkBIg6xBtY0I/IdMYLryTqPO/zfPyoOgm JZcanXAqrUdDb9QK15flK7ohD5JpWc9CGKXGu9rxqh2tjs+LL5W4/QJkTLWLRsCU oxXE9Q7wKhz3MED5A4E7hTjgsOHnfiBMCjXrQ2DROr9WlP0LLOBUN7m6bUNGrFdy fX+nGPlMcYtWsoTYB1xufXT9s63D1SM+yGMDLOYgTPz1v80pcTvHNnZVht4NulHQ dBH1j8IIrV66z8QGJhsDXesOun76Gh/PRKAaauR0ccyS32ltpLObqGbjGw0eQ9xp /S9FRB/EP5dBGaOV24j3/INL03htr15dNyDhBHaV/9ec53pMHd+qCiuI8VKMYAyx 1CTzvZf6SNwo8rzMVGB9e6rIIcM7AjGVdOWfI7QZkAp9sLW7hsQ/UwAqNJOFiz9H hzBCF0k5tSPUmmDZh4cm74Q0DNqU6jLoPQpzjMq/wwqw/VEgoGHYUxAbEge4GShF cUK4h46cajn/+hnrZNmT =/gEd -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--