Bug#873294: mpv: No protocol handler for dvb

Rob Moss robm.dev at gmail.com
Thu Sep 14 05:48:29 UTC 2017


Dear Maintainer,

I've looked into this, and DVB support was disabled by default in mpv
0.26.0. The release notes state: "DVB support is disabled by default since
it does not work with some older kernels."

This change was introduced in commit 99cef59:

> dvb: disable by default
>
> It fails building with some older kernel headers, and the current test
> does not auto-disable it in these cases.
>
> Since DVB isn't going to be used by many people, I think disabling it by
> default is reasonable.

Enabling DVB support can be achieved by passing "--enable-dvbin" as an
argument to the "python ./waf configure" command in the debian/rules file.

Please note that Debian already patches mpv to suppress an error about
mis-matched ffmpeg versions (06_ffmpeg-abi.patch), using the following
rationale:

> Description: Surpress ffmpeg version mismatch error
>  Requiring an exact ffmpeg version isn't helpful in a distribution where
all ABI
>  issues should already be handled by package dependencies. Rebuilding
every time
>  ffmpeg is updated is also completely unmaintainable.

I suggest that the concern about issues related to older versions of kernel
headers is also a problem that can or should be handled by package
dependencies, and so enabling DVB support in the Debian mpv package isn't
inappropriate.

All the best,
Rob


On 26 August 2017 at 19:21, Rob Moss <robm.dev at gmail.com> wrote:

> Package: mpv
> Version: 0.26.0-3
> Severity: normal
>
> Dear Maintainer,
>
>    * What led up to the situation?
>
>      I tried to watch a digital TV broadcast using my USB adaptor.
>
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
>
>      I ran "mpv 'dvb://Channel Name'
>
>    * What was the outcome of this action?
>
>      No protocol handler found to open URL dvb://Channel Name
>      The protocol is either unsupported, or was disabled at compile-time.
>
>    * What outcome did you expect instead?
>
>      That mpv would stream the digital TV channel, as it has previously.
>
> -- System Information:
> Debian Release: buster/sid
>   APT prefers testing
>   APT policy: (900, 'testing')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8),
> LANGUAGE=en_AU:en (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages mpv depends on:
> ii  libasound2                              1.1.3-5
> ii  libass9                                 1:0.13.7-2
> ii  libavcodec57                            7:3.3.3-3
> ii  libavdevice57                           7:3.3.3-3
> ii  libavfilter6                            7:3.3.3-3
> ii  libavformat57                           7:3.3.3-3
> ii  libavutil55                             7:3.3.3-3
> ii  libbluray2                              1:1.0.1.deb1-2
> ii  libc6                                   2.24-14
> ii  libcaca0                                0.99.beta19-2+b2
> ii  libcdio-cdda1                           0.83-4.3+b1
> ii  libcdio-paranoia1                       0.83-4.3+b1
> ii  libcdio13                               0.83-4.3+b1
> ii  libdrm2                                 2.4.82-1
> ii  libdvdnav4                              5.0.3-3
> ii  libdvdread4                             5.0.3-2
> ii  libegl1-mesa [libegl1-x11]              13.0.6-1+b2
> ii  libgbm1                                 13.0.6-1+b2
> ii  libgl1-mesa-glx [libgl1]                13.0.6-1+b2
> ii  libjack-jackd2-0 [libjack-0.125]        1.9.10+20150825git1ed50c92~
> dfsg-5
> ii  libjpeg62-turbo                         1:1.5.1-2
> ii  liblcms2-2                              2.8-4
> ii  liblua5.2-0                             5.2.4-1.1+b2
> ii  libpulse0                               10.0-2
> ii  librubberband2                          1.8.1-7
> ii  libsdl2-2.0-0                           2.0.5+dfsg1-3
> ii  libsmbclient                            2:4.6.7+dfsg-1
> ii  libsndio6.1                             1.1.0-3
> ii  libswresample2                          7:3.3.3-3
> ii  libswscale4                             7:3.3.3-3
> ii  libuchardet0                            0.0.6-2
> ii  libva-drm1                              1.8.3-1
> ii  libva-wayland1                          1.8.3-1
> ii  libva-x11-1                             1.8.3-1
> ii  libva1                                  1.8.3-1
> ii  libvdpau1                               1.1.1-6
> ii  libwayland-client0                      1.14.0-1
> ii  libwayland-cursor0                      1.14.0-1
> ii  libwayland-egl1-mesa [libwayland-egl1]  13.0.6-1+b2
> ii  libx11-6                                2:1.6.4-3
> ii  libxext6                                2:1.3.3-1+b2
> ii  libxinerama1                            2:1.1.3-1+b3
> ii  libxkbcommon0                           0.7.1-1
> 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.8.dfsg-5
>
> Versions of packages mpv recommends:
> ii  xdg-utils   1.1.1-1
> ii  youtube-dl  2017.05.18.1-1
>
> mpv suggests no packages.
>
> -- no debconf information
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20170914/b01f430f/attachment.html>


More information about the pkg-multimedia-maintainers mailing list