Your message dated Mon, 16 Jul 2018 19:11:41 +0100 with message-id <b77d9cdc-c574-1033-ee5e-d5402b2e6876@debian.org> and subject line Re: Bug#901580: mpv: doesn't play well with upstream youtube-dl has caused the Debian Bug report #901580, regarding mpv: doesn't play well with upstream youtube-dl to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 901580: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901580 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Doesn't play well with upstream youtube-dl
- From: Witold Baryluk <witold.baryluk@gmail.com>
- Date: Fri, 15 Jun 2018 01:30:27 +0200
- Message-id: <152901902749.14889.5334377914663095976.reportbug@wielkiczarny>
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
--- End Message ---
--- Begin Message ---
- To: 901580-done@bugs.debian.org
- Subject: Re: Bug#901580: mpv: doesn't play well with upstream youtube-dl
- From: James Cowgill <jcowgill@debian.org>
- Date: Mon, 16 Jul 2018 19:11:41 +0100
- Message-id: <b77d9cdc-c574-1033-ee5e-d5402b2e6876@debian.org>
Hi, On Fri, 15 Jun 2018 18:29:28 +0100 James Cowgill <jcowgill@debian.org> wrote: > On 15/06/18 00:30, Witold Baryluk wrote: > > 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. > > I tried installing upstream youtube-dl (the same version as you have) > and Debian's mpv seems to work fine with it, so I think it's a problem > with your setup. > > Could you provide the full log of this command: > mpv -v -v --no-config https://www.youtube.com/watch?v=tKemIJ0G1C8 Closing due to no reply from the submitter and because I think the likely cause is an issue with your youtube-dl installation (which is nothing to do with mpv). Please reply if you want me to reopen it. JamesAttachment: signature.asc
Description: OpenPGP digital signature
--- End Message ---