Giter VIP home page Giter VIP logo

mpv-youtube-dl-binding's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mpv-youtube-dl-binding's Issues

Hi Antoniy

I really don't get how to install it, it's not as simple as "installing a firefox addon"..

I've installed 0.1.0 alpha 3 addon from amo.

Then in the addon's options, "Native player location",
i've added:
C:\Program Files\Mpv\

Which is the folder that contains:
https://sourceforge.net/projects/mpv-player-windows/files/32bit/mpv-i686-20171216-git-e1ac0c1.7z/download unzipped..

Then i clicked on a videolink on youtube, nothing started, what am i missing ?

Also, could you give me a parameter that makes
mpv Automatically start without having to right click on a page,
ONLY if html cannot play the file ? "additional player parameters"

& if it's not possible yet, second choice: make all medias managed
by mpv instead of html IF mpv's not HEAVIER than html in my firefox.

cause the heavier firefox was by playing more & more videos, the faster
my browser crashed till today..

changing video quality?

can you change the video quality ? i have a slow internet and im used to watching youtube in 480p,

no functioning on Mac?

Hello ,

someone please explain why this would not function on the Mac OS but instead yes on Linux computers (same Browser, youtube-dl and mpv installed on both computer).

thank you very much.

alt+click doesn't work

alt+click doesn't work on the firefox signed version. It works on the github version.Can you get the github version signed?

youtube-dl options

The ability to add youtube-dl options would be nice. You've got player parameters, youtube-dl parameters would be great. Fantastic add on, by the way - 5 stars.

Not working

youtube-dl is still working well but in the past few days this wonderful little add-on does nothing. I'm on an up to date Arch install and can't find anything of relevance in var/log. Happy to give more info but not sure where to start.

jpm xpi error

hello
JPM [error] XPI creation failed: Error: Could not parse package.json file.

Unexpected token ] in JSON at position 1930

#mpv not opening / not being recognized

Hello ,

i use this extension with mpv provided by MacPorts on Osx .
Have noticed that the latest versions of mpv provided do break the compatibility with this extension; when i use an older "backup" version (built for osx lion) , it would work.
don't know really where the problem lies (if with mpv, youtube-dl or ffmpeg?) - but maybe you can offer some rough indication?
(the file "mpv" is located /opt/local/bin/mpv , as is "youtube-dl"; both are being provided by macports)

thank you very much for this great extension, is really helpful.

custom shortcut for context mennu

I wonder if its possible to make shortcut like this:
I hold alt key (for example) + click on link and automatically run mpv and prevent default follow the link, so i dont need to right click + mpv

youtube.com 480 DASH formats

When there's an available 480p quality youtube video, can you please add an option to download and convert that automatically with youtube-dl (using ffmpeg), and save it as an 854x480 AVC video with 128 kbps AAC audio MP4 file? Also, please add the option to automatically download and convert any available resolution DASH format AVC video with AAC audio as an MP4 file. Thanks.

Watch with MPV by default?

Can you add a preference to have the addon automatically launch mpv when clicking on an mpv link?

My use-case is I have a bunch of .mkv files on a webserver on my lan. I'd like to be able to simply click on the link and have it open in mpv rather than right-click, scroll to the bottom of the dialog box and then click on the Watch with MPV option.

Add a license

This repo seems to lack a license. I suggest GPLv3 :)

%url variable

Hi,

I use xclip and xbindkeys to create a playlist and play it through mpv. It allows using mpv like autoplaying function of youtube.com.

"DISPLAY=:0 curl -s $(xclip -o) | grep 'watch?v=' | cut -d'"' -f2 | grep 'watch?v=' | uniq | sed 's-/watch-http://www.youtube.com/-' > ~/movs/youtube/tmp && mpv --playlist ~/movs/youtube/tmp

But it's boring to select url before making key combination. With your plugin, i could just load url, and clic on the plugin button.

For that, i need to be able to paste that line in your plugin conf

"DISPLAY=:0 curl -s $(%url) | grep 'watch?v=' | cut -d'"' -f2 | grep 'watch?v=' | uniq | sed 's-/watch-http://www.youtube.com/-' > ~/movs/youtube/tmp && mpv --playlist ~/movs/youtube/tmp

Or something like that.

Is it possible to set a variable with current youtube url ?

Thx, bye

warning if extension doesn't work on site

Hi,

I have been using this wonderful addon for a few months now and it has been great. However I would like to make a feature request. mpv addon works for a lot of sites but not all, it would be great if there is notification if it encounters a site where it cannot play the video for lacking youtube-dl support. I am asking this because sometimes mpv addon doesn't kick in immediately on sites where it does work, so one has to may be wait a little. It is therefore desirable to have a way to tell users to stop waiting on sites where it doesn't work.

Thanks a lot for this great addon!

Doesn't work on Windows 10

Doesn't work on Windows 10.

Been using this for years on Linux and its ruined me. not having it on windows is sadness.

Probably you wont fix but i can dream.

As an aside, thanks so much for making this either way. Its my favorite must-have extension.

Make compatible with multiprocess or rewrite to WebExtensions

Extension incompatible with Firefox multiprocess. You can check it using Add-on Compatibility Reporter.
Update on Compatibility Milestones:

Firefox won’t run in multiprocess mode unless all enabled add-ons have the multiprocessCompatible flag set to true or are WebExtensions. This means that developers who haven’t set this flag don’t have to worry about multiprocess compatibility and can focus on WebExtensions and the Firefox 57 deadline.

Winblows support

Just wondering if this works at all on Windows.

I tried setting the path to file:///C:/Users/Person/mpv.exe - which is my location for mpv but this did not work, nor did lobbing off file:///, C:/, and .exe in various ways.

Nightly 64-bit 42a1 on Windows 7 64-bit.

The default path I saw was for Linux systems but I'm hoping there is some possible support on Windows.

I use binaries provided from http://mpv.srsfckn.biz/

videos not playing in iceweasel 44.0

Hi,

I'm running Debian unstable with iceweasel 44.0. On my terminal, playing youtube videos with mpv works perfectly well. But after having installed this addon in a fresh profile, right clicking on a video link on youtube.com and choosing "Watch with MPV" nothing happens.

Could you give me instructions of how I can debug this problem?

Thanks!

--ytdl-format options to limit resolution

Hi,

If I add the the mpv option

--ytdl-format="bestvideo[ext=mp4][width <= 1920][height <=1080]"+bestaudio[ext=m4a]/best[ext=mp4]/best

to Preferences > Additional player parameters then mpv-addon no longer starts

But it works as expected for mpv from the terminal and smtube http://smtube.sourceforge.net/

If I remove the limit to resolution and just add this then mpv-addon works as expected

--ytdl-format=bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best

I am trying to get mpv to show dash videos in mp4 instead of webm since hardware decoding doesn't work on the later and in addition to limit the resolution of bestvideo because some Youtube videos have resolution higher than 1080p which the machine cannot handle (high cpu usage and screen resolution not high enough to display anyway)

Thanks for the great addon!

mpv not starting

Sorry for the unclear title, but I am not sure what else to name this issue.

I'm running Gentoo 64-bit and I have the following programs (all in $PATH):

  • firefox: 38.5
  • youtube-dl: 2016.01.27 (but it was also not working with older versions)
  • mpv: 0.9.2

So far I have found those things to work just fine from the terminal:

  • Downloading a video with youtube-dl

    $ youtube-dl https://www.youtube.com/watch?v=lx_vWkv50uk

  • Playing the downloaded video with mpv

  • Playing the video directly through mpv

    $ mpv https://www.youtube.com/watch?v=lx_vWkv50uk

Yet clicking the button in Firefox does nothing. mpv is located at /usr/bin/mpv (as is the default setting) and I haven't added any other settings in the preferences window.

Any ideas?

audio-only option please

mpv has an easy option to disable video and just play audio, it would be great if that were a quick way to choose that from this plugin, alternatively, youtube-dl has -x which extracts just the audio, so either way…

(alternatively, maybe someone knows if video can be disabled after it's already playing in mpv, leaving just audio…)

[Request] Specify location for youtube-dl

I use your addon on windows and it works (tried bomi (mpv-based player) and mpv), but only if you have youtube-dl in the same folder with player. It means you should have as many copies of youtube-dl as players. Also, players often installed in Program Files and users cannot write into it, so to update youtube-dl you have to run it as Administrator or copy it to other location.

Add --quiet command line option for mpv

If I am using this plugin with mpv and play a video my systemd journal gets obliterated with mpv log messages like this:

firefox.desktop[6542]: AV: 00:00:11 / 00:01:44 (10%) A-V: 0.000 Cache: 10s+10KB

I get about 20 messages like this per second. If I use --quiet under additional player options the problem is gone.

I am using version 0.1.alpha2.1 of this plugin.
Thanks for your hard work!

[Feature request] Play and "Download" to a local folder

I'm looking for a way to save the streamed videos.
It would be nice if there is an option to download or save the played videos using youtube-dl.
AFAIK, save or record streamed media is not implemented in mpv-player/mpv#2988, but is it possible to work around it and pass the video url to youtube-dl to download it in the background .

Great extension! Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.