#1102723 mpv: protocol dvb:// available, but receiving/tuning is broken

Package:
mpv
Source:
mpv
Description:
video player based on MPlayer/mplayer2
Submitter:
Alf
Date:
2025-04-12 11:33:02 UTC
Severity:
normal
#1102723#5
Date:
2025-04-12 11:28:47 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
I just upgraded a copy of my Bookworm system to Trixie and watching TV via
dvb-c using my Sundtek-Stick did nor work anymore, instead mpv throws errors.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
mpv --list-protocols
...
dvb://
...
So protocol is included during build.

Instead I get following output:
$ mpv dvb://"ZDF HD"
[dvbin] Tuning to channel "ZDF HD"...
[dvbin] Tuning to DVB-C ANNEX A frequency 338000000 Hz
[dvbin] Not able to lock to the signal on the given frequency, timeout: 30
[dvbin] Error locking to channel
[dvbin] Tuning failed
Failed to open dvb://ZDF HD.
Exiting... (Errors when loading file)

I also supply a more verbose output (parameter "-v"):
....
[dvbin] Added adapter with channels to state list, now 1.
[dvbin] dvb_config: prog="ZDF HD", devno=0
[dvbin] Tuning to channel "ZDF HD"...
[dvbin] Program number 80: name="ZDF HD", freq=338000000
[dvbin] Opening frontend device /dev/dvb/adapter0/frontend0
[dvbin] Opening 7 demuxers
[dvbin] dvb_set_channel: new channel name="ZDF HD", adapter: 0, channel: 80
[dvbin] Tuning to DVB-C ANNEX A frequency 338000000 Hz
[dvbin] tune_it: fd_frontend 9, DVB-C ANNEX A freq 338000000, srate 6900000, pol -, diseqc 0
[dvbin] Using DVB-C ANNEX A adapter 0
[dvbin] tuning DVB-C ANNEX A to 338000000, srate=6900000
[dvbin] Dumping raw tuning commands and values:
[dvbin]  00: 0x11(17) => 0x1(1)
[dvbin]  01: 0x3(3) => 0x14257880(338000000)
[dvbin]  02: 0x4(4) => 0x5(5)
[dvbin]  03: 0x8(8) => 0x694920(6900000)
[dvbin]  04: 0x9(9) => 0x0(0)
[dvbin]  05: 0x6(6) => 0x2(2)
[dvbin]  06: 0x1(1) => 0x0(0)
[dvbin] Getting frontend status
[dvbin] Not able to lock to the signal on the given frequency, timeout: 30
[dvbin] Error locking to channel
[dvbin] Tuning failed
[stream] Failed to open dvb://ZDF HD.
[cplayer] Opening failed or was aborted: dvb://ZDF HD
[cplayer] Running hook: ytdl_hook/on_load_fail
[cplayer] finished playback, loading failed (reason 4)
[cplayer] Running hook: ytdl_hook/on_after_end_file
[cplayer] Exiting... (Errors when loading file)


   * What outcome did you expect instead?
getting TV output as before under Bookworm with mpv v0.35
Please remember a similar problem with mpv 2 years ago during Bookworm
release, see Bug #1026060. Just for confirmation:
vlc shows dvb channels as before (channels.conf is up-to-date).

Of course SMPlayer (my favorite UI) is hit by this bug as well.