Package: mpv Version: 0.28.2-1 Severity: normal Hi.
I noticed that https://salsa.debian.org/multimedia-team/mpv/blob/debian/master/player/lua/ytdl_hook.lua is different than upstream ( https://github.com/mpv-player/mpv/blob/master/player/lua/ytdl_hook.lua#L511 ) . My guess is that this is because it is made to work with what is provided in Debian repos for youtube-dl? I do have youtube-dl from git, and it is in my PATH. However mpv fails to correctly use it. When I call mpv -v -v, I see command line to youtube-dl to execute: [ytdl_hook] Running: youtube-dl --no-warnings -J --flat-playlist --sub-format ass/srt/best --no-playlist --format bestvideo+bestaudio/best --all-subs -- https://www.youtube.com/watch?v=tKemIJ0G1C8 [ytdl_hook] youtube-dl failed, trying to play URL directly ... and then mpv fails. If I run youtube-dl literally as is from the debug output, I receive correct JSON output with URLs to video formats, etc. And exit status is 0. (via echo $?). So some handling of subprocesses in Debian version of mpv ytdl_hook is not quiet right. $ youtube-dl --version 2018.06.14 $ which youtube-dl /home/baryluk/bin/youtube-dl $ readlink `which youtube-dl ` /home/baryluk/youtube-dl/youtube-dl $ Regards, Witold -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.16.0-2-amd64 (SMP w/12 CPU cores) Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8), LANGUAGE=pl_PL.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages mpv depends on: ii libarchive13 3.2.2-4 ii libasound2 1.1.6-1 ii libass9 1:0.14.0-2 ii libavcodec58 7:4.0-2 ii libavdevice58 7:4.0-2 ii libavfilter7 7:4.0-2 ii libavformat58 7:4.0-2 ii libavutil56 7:4.0-2 ii libbluray2 1:1.0.2-3 ii libc6 2.27-3 ii libcaca0 0.99.beta19-2+b3 ii libcdio-cdda2 10.2+0.94+2-2+b1 ii libcdio-paranoia2 10.2+0.94+2-2+b1 ii libcdio17 1.0.0-2+b1 ii libdrm2 2.4.92-1 ii libdvdnav4 6.0.0-1 ii libdvdread4 6.0.0-1 ii libegl1 1.0.0+git20180308-3 ii libgbm1 18.1.1-1 ii libgl1 1.0.0+git20180308-3 ii libjack-jackd2-0 [libjack-0.125] 1.9.12~dfsg-2 ii libjpeg62-turbo 1:1.5.2-2+b1 ii liblcms2-2 2.9-2 ii liblua5.2-0 5.2.4-1.1+b2 ii libpulse0 11.1-5 ii librubberband2 1.8.1-7 ii libsdl2-2.0-0 2.0.8+dfsg1-1 ii libsmbclient 2:4.8.2+dfsg-1 ii libsndio6.1 1.1.0-3 ii libswresample3 7:4.0-2 ii libswscale5 7:4.0-2 ii libuchardet0 0.0.6-3 ii libva-drm2 2.1.0-3 ii libva-x11-2 2.1.0-3 ii libva2 2.1.0-3 ii libvdpau1 1.1.1-8 ii libvulkan1 1.1.73+dfsg-1 ii libx11-6 2:1.6.5-1 ii libxext6 2:1.3.3-1+b2 ii libxinerama1 2:1.1.3-1+b3 ii libxrandr2 2:1.5.1-1 ii libxss1 1:1.2.2-1+b2 ii libxv1 2:1.0.11-1 ii zlib1g 1:1.2.11.dfsg-1 Versions of packages mpv recommends: ii xdg-utils 1.1.3-1 pn youtube-dl <none> mpv suggests no packages. -- no debconf information