antoniy / mpv-youtube-dl-binding

94 stars 20 forks source link

Doesn't work with vlc in archlinux 64 bit. #15

Closed Xenphor closed 8 years ago

Xenphor commented 8 years ago

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.

baizon commented 8 years ago

It wont work because the syntax is:

mpv "<URL>" --ytdl-format=best

In comparison, if You want to get it work with vlc:

youtube-dl "<URL>" -o - | vlc -
Anon1234 commented 8 years ago

Just tested it, works for me. Run firefox from a terminal and watch for an errors (after you run the Play in MPV command). Maybe you have some unsupported by VLC options in Additional player parameters?

Xenphor commented 8 years ago

Weird. I tried it again and it played a video in my home directory instead of what I clicked on in the browser. I don't have any other parameters. I saw the output from the terminal but it's not related because I get the same stuff regardless if it plays or not.

Xenphor commented 8 years ago

Using youtube-dl "<URL>" -o - | vlc - Works but I get no video or audio for some reason. There is terminal output.

Anon1234 commented 8 years ago

Try run vlc "https://www.youtube.com/watch?v=zuQ3Nq2wMyY&index=1&list=PLaiPn4ewcbkHAoPJG88qOnEtscS3VftJz", if it wouldn't work there is a problem in your VLC configuration.

Xenphor commented 8 years ago

That works.

Xenphor commented 8 years ago

Okay using youtube-dl "<URL>" -g - | vlc - works

Anon1234 commented 8 years ago

So what exactly do you get when trying to play video (using ff extension) from here https://www.youtube.com/playlist?list=PLaiPn4ewcbkHAoPJG88qOnEtscS3VftJz ?

Xenphor commented 8 years ago

Using what command?

Anon1234 commented 8 years ago

Using ff extension.

Xenphor commented 8 years ago

It just plays a local video from my home folder.

Anon1234 commented 8 years ago

Lol, now i have the same problem.

Anon1234 commented 8 years ago

Try to add -- to the Additional player parameters.

Xenphor commented 8 years ago

Hm that seems to work, thanks.

Anon1234 commented 8 years ago

np :)