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 38D8A1395E2 for ; Tue, 29 Nov 2016 20:00:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7A1A21C09B; Tue, 29 Nov 2016 20:00:15 +0000 (UTC) Received: from caladan.c-14.de (caladan.c-14.de [78.47.48.217]) (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 5E89021C095 for ; Tue, 29 Nov 2016 20:00:13 +0000 (UTC) Received: from sardaukar.c-14.de (HSI-KBW-109-192-117-105.hsi6.kabel-badenwuerttemberg.de [109.192.117.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by caladan.c-14.de (Postfix) with ESMTPSA id D94861AF27B for ; Tue, 29 Nov 2016 20:00:11 +0000 (UTC) Date: Tue, 29 Nov 2016 21:00:10 +0100 From: Simon Thelen To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives? Message-ID: <20161129200010.GA2340@anonymous> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20161129064216.GA4903@solfire> <20161129070623.rfvyc6khbpnifv4l@kaiminus> <20161129073553.GB4903@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: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20161129073553.GB4903@solfire> User-Agent: Mutt/1.7.1 (2016-10-04) X-Archives-Salt: cad3949b-1564-4dd3-b85e-c76ba8503c89 X-Archives-Hash: 334dbdbec61bccf7d83bf9cd97e6e087 On 16-11-29 at 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.)? > > 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 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