From: Meino.Cramer@gmx.de
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
Date: Wed, 30 Nov 2016 06:46:00 +0100 [thread overview]
Message-ID: <20161130054600.GB4842@solfire> (raw)
In-Reply-To: <20161129214027.GA492@pks-xps>
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
next prev parent reply other threads:[~2016-11-30 5:46 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161130054600.GB4842@solfire \
--to=meino.cramer@gmx.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox