mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.04k stars 2.88k forks source link

Install mpv without yt-dlp packets #14223

Closed Gloster10 closed 4 months ago

Gloster10 commented 4 months ago

Expected behavior of the wanted feature

Ubuntu 22.04, installation of mpv via : sudo apt install mpv but an additional option to denied a re-installation of yt-dlp. The PATH is on ~/.local/bin, where yt-dlp will be present.

Or a hint which mpv version I can install without yt-dlp features.

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

kasper93 commented 4 months ago

yt-dlp or youtube-dl is recommended, but optional according to https://packages.ubuntu.com/jammy/mpv so you don't have to install it.

If I understand the other part of question, you can use --script-opts=ytdl_hook-ytdl_path=... to specify the path to use.

In general it is not mpv issue, feel free to use Discussions if you have more general questions.

Gloster10 commented 4 months ago

That is what I have understand :

sudo apt install mpv --script-opts=ytdl_hook-ytdl_path="~/.local/bin"

It does not work.

A version Tag of mpv without yt-dlp to compile it would also help.

kasper93 commented 4 months ago

A version Tag of mpv without yt-dlp to compile it would also help.

mpv does not include yt-dlp, it uses external package found on system.

It is mpv option. mpv --script-opts=ytdl_hook-ytdl_path="~/.local/bin/yt-dlp"

Gloster10 commented 4 months ago

But this is the head of this issue, not solved, "Install mpv without yt-dlp packets"

kasper93 commented 4 months ago

Check your distribution manual, we are not Ubuntu support. hint: --no-install-recommends

Gloster10 commented 4 months ago

Who is "we", does it mean all github user, or only especially you.

kasper93 commented 4 months ago

Who is "we"

mpv player community. As a reminder this is a https://github.com/mpv-player/mpv/issues.

does it mean all github user

I can't speak for all GitHub users, but Canonical is not using any GitHub services, so answer to you questions is "yes".

Gloster10 commented 4 months ago

I am sorry to say your logical reflection shall be improved :

Yes of course you can not speak for all, therefore denied it.

Gloster10 commented 4 months ago

@kasper93 , for me yt-dlp is a standard package, imagine all applications who need ffmpeg does it make as a dependency package, it would be for me a mess.

kasper93 commented 4 months ago

for me yt-dlp is a standard package

It is. And apt-get is installing this standalone package on your system.

imagine all applications who need ffmpeg does it make as a dependency package, it would be for me a mess.

I don't understand what you mean. If ffmpeg is required for a given program to run it will be a dependency that is installed by you OS package manager.

Just to reiterate what I said before, mpv doesn't bundle yt-dlp in any way. Your package manager is installing it as a recommended package.