mpv-youtube-dl-binding's Issues
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!
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..
--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!
Is this project still maintained?
If not I'll sign my fork to Mozilla.
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/
e10s compatible?
Hello, are there any information regarding e10s compatibility? On http://arewee10syet.com/ this add-on is marked as "unknown".
[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.
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.
[Feature request] Support for Pale Moon!
Doesn't work with Firefox 57 (Quantum) | Old Add-On API
jpm xpi error
hello
JPM [error] XPI creation failed: Error: Could not parse package.json
file.
Unexpected token ] in JSON at position 1930
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
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…)
#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.
Doesn't work with vlc in archlinux 64 bit.
I edit the options to use vlc at '/usr/bin/vlc'. When using it, the player opens up, plays video very briefly and then closes.
Toggle to allow youtube-dl to fully cache the entire video before playing with mpv
For those who have a sometimes slow/unreliable internet connection, streaming is not a good choice. An option to allow youtube-dl to download/cache the entire video before opening it with mpv would be nice.
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?
changing video quality?
can you change the video quality ? i have a slow internet and im used to watching youtube in 480p,
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.
4K streaming
Hello, I already posted and issue on the youtube-dl issue tracker and it seems that 4K streaming can not be done with it ytdl-org/youtube-dl#6642 (comment) (even though I can perfectly get it to work with MPV with the command below)
mpv --ytdl-format="bestvideo+bestaudio" https://www.youtube.com/watch?v=q6kIwfEGLO4
Is it possible to forward the parameters to MPV in this fashion to solve this issue?
%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
"Not available for your platform" - for FreeBSD
"Not available for your platform" - for FreeBSD at
https://addons.mozilla.org/en-US/firefox/addon/watch-with-mpv/
I'm install manually from here, change path to /usr/local/bin/mpv and all works fine.
Please, fix platform requirements on mozilla addons site.
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?
mpv v0.1.0-alpha.3.1-signed is disabled by Firefox v43.0
Hi,
mpv v0.1.0-alpha.3.1-signed is disabled by Firefox v43.0 when installed systemwide (i.e. in /usr/lib/firefox/browser/extensions/)
Can you fix this ?
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!
Add to Chrome Web Store!?
Hello, is it possible to release a chrome extension? :)
Wit best regards.
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.
Videos in youtube's "watch later" not playing
If a youtube page/link is suffixed with &index=1&list=WL
this plugin won't work, removing it and it works again.
Running mpv with the suffix works fine, so there must be something with this plugin.
Example links:
https://www.youtube.com/watch?v=puHoadtIivc&index=1&list=WL
https://www.youtube.com/watch?v=puHoadtIivc
Version: 0.1.0-alpha.3.1-signed
Feedback about format selection feature
Great work.....
I made some changes using this repository and IsSuEat's open-livestreamer-firefox-addon to enable format selection.
https://github.com/inxp/mpv-youtubedl-firefox-addon
Please let me know your feedback.
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.
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.
[Request] Support for Pale Moon
I would like to see support for Pale Moon. :)
Mac OS X support?
it doesn't work on Mac OS X
Not working on some youtube videos(Fixed)
FireFox 43.0
Version 0.1.0-alpha.3.1-signed
some of the samples:
https://youtu.be/7rO7UiIc1FU
https://youtu.be/-2_RUSYNt5o
https://youtu.be/FSVHx23ByhM
https://youtu.be/QW8nrxUUxdY
UPD.
Sorry. I was using youtube-dl 2015.12.09, update to the newer version fix the issue.
[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.
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.
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!
support firefox Quantum ?
Hi, did you plan to support new firefox ?
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.
Add a license
This repo seems to lack a license. I suggest GPLv3 :)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.