Page 1 of 1

DVB-S and Multisat (Diseqc) not working

Posted: 07 Aug 2024 14:09
by martinwag
Hi @all,

I'm trying to move my sat tv installation from Kaffeine (which is dead for a long time, and for me now crashes with every second click) to VLC. I've followed this guide: https://www.anleitung24.com/anleitung-f ... layer.html (german). I've successfully searched all sats for channels and found the expected ones. However, when loading the channel lists into VLC i can only receive channels for position 1 (that doesn't require diseqc switching). The other positions don't give me reception.

I've searched for a bit, but the few infos I found are quite ancient...

Has someone got this working? Any ideas?

Thanks for your help!

version:
VLC media player - 3.0.16 Vetinari (Linux Mint 21.3)

scan commands:
- pos 1, no diseqc
w_scan -fs -s S19E2 -L > vlcchans.xspf
- pos 2, 3, diseqc
w_scan -fs -s S28E2 -D1u -L > vlcchans2.xspf
w_scan -fs -s S28E2 -D2u -L > vlcchans3.xspf

Example xml for pos 1:

Code: Select all

<track> <title>0645. PULS</title> <location>dvb-s2://frequency=11052750</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:option>dvb-polarization=H</vlc:option> <vlc:option>dvb-srate=22000000</vlc:option> <vlc:option>dvb-ts-id=1039</vlc:option> <vlc:option>dvb-modulation=8PSK</vlc:option> <vlc:option>dvb-rolloff=35</vlc:option> <vlc:option>dvb-fec=2/3</vlc:option> <vlc:option>dvb-lnb-low=9750000</vlc:option> <vlc:option>dvb-lnb-high=10600000</vlc:option> <vlc:option>dvb-lnb-switch=11700000</vlc:option> <vlc:id>646</vlc:id> <vlc:option>program=10407</vlc:option> </extension> </track>
Example xml for pos 2:

Code: Select all

<track> <title>0350. BBC R6 Music</title> <location>dvb-s2://frequency=10788000</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:option>dvb-polarization=V</vlc:option> <vlc:option>dvb-srate=23000000</vlc:option> <vlc:option>dvb-ts-id=2046</vlc:option> <vlc:option>dvb-modulation=8PSK</vlc:option> <vlc:option>dvb-rolloff=25</vlc:option> <vlc:option>dvb-fec=3/4</vlc:option> <vlc:option>dvb-lnb-low=9750000</vlc:option> <vlc:option>dvb-lnb-high=10600000</vlc:option> <vlc:option>dvb-lnb-switch=11700000</vlc:option> <vlc:option>dvb-satno=1</vlc:option> <vlc:id>351</vlc:id> <vlc:option>program=10336</vlc:option> </extension> </track>
I have no idea if satno=1 is the required param...

Re: DVB-S and Multisat (Diseqc) not working

Posted: 07 Aug 2024 14:14
by Rémi Denis-Courmont
It might very well be that selection is broken, as the DVB-S code is mostly untested. Patches most welcome

Re: DVB-S and Multisat (Diseqc) not working

Posted: 07 Aug 2024 16:13
by martinwag
Thanks, I've had a look at the source code. I've found the relevant line in modules/access/dtv/linux.c, line 834 in commit 26bea87

Code: Select all

satno = (satno - 1) & 3;
I've replaced all occurrences of "dvb-satno=1" with "dvb-satno=2" in my playlist, and now it works.

Is there a specification if this should start counting at 0 or 1, so that I know if this is a bug in w_scan / w_scan2 or vlc?

Re: DVB-S and Multisat (Diseqc) not working

Posted: 07 Aug 2024 18:57
by Rémi Denis-Courmont
I don't think that there is a specification. XSPF is standardised but VLC options, and by extension DVB MRLs are VLC-specific. I guess that this is actually a bug in w_scan then.