rtsp stream won't work - protocol not found

Need help with MPD?
Post Reply
KKie
Posts: 5
Joined: April 18th, 2020, 9:00 am

rtsp stream won't work - protocol not found

Post by KKie »

Hello all,
Mpd runs fine on my Raspi both with internal files as well as with internet links.

I set up an m3u file witch contains a rtsp URL which links to my satellite net receiver (Octopus Net from digitaldevices.de) on my local network.
mpd 0.21.5 runs on my rpi3. The Rpi will play the link with cvlc but not with mpd.

The error message in the log is:

Code: Select all

Apr 17 17:56 : player: played "rtsp://@192.168.158.80/?src=1&freq=12148&pol=h&msys=dvbs&sr=27500&pids=0,109,0,0,368,368,18,17,16"
Apr 17 17:56 : exception: Failed to decode rtsp://@192.168.158.80/?src=1&freq=12148&pol=h&msys=dvbs&sr=27500&pids=0,109,0,0,368,368,18,17,16
Apr 17 17:56 : exception: nested: Protocol not found
Apr 17 18:24 : zeroconf: No global port, disabling zeroconf
Apr 17 18:24 : client: [0] opened from 192.168.158.31:34856
Apr 17 18:25 : exception: Failed to decode rtsp://@192.168.158.80/?src=1&freq=12148&pol=h&msys=dvbs&sr=27500&pids=0,109,0,0,368,368,18,17,16
Apr 17 18:25 : exception: nested: Protocol not found
Any hints?

max
Forum team
Posts: 1063
Joined: January 15th, 2013, 3:43 pm

Re: rtsp stream won't work - protocol not found

Post by max »

https://www.musicpd.org/help/

(Your MPD version is very old and unsupported.)

KKie
Posts: 5
Joined: April 18th, 2020, 9:00 am

Re: rtsp stream won't work - protocol not found

Post by KKie »

Thanks for the comment.

My actual status from raspbian rep is:

Code: Select all

mpd:
  Installiert:           0.21.5-3
  Installationskandidat: 0.21.5-3
  Versionstabelle:
 *** 0.21.5-3 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        100 /var/lib/dpkg/status
... but I will look out for a newer version...

Regards, K.

KKie
Posts: 5
Joined: April 18th, 2020, 9:00 am

Re: rtsp stream won't work - protocol not found

Post by KKie »

Thanks for the comment.

I did an update (as descrbed in Forum's download section):

Code: Select all

mpd:
  Installiert:           0.21.19-1~bpo10+1
  Installationskandidat: 0.21.19-1~bpo10+1
  Versionstabelle:
 *** 0.21.19-1~bpo10+1 100
          1 https://deb.kaliko.me/raspbian-backports stable-backports/main armhf Packages
        100 /var/lib/dpkg/status
     0.21.5-3 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
... the error stays same...

Code: Select all

Apr 18 10:41 : player: played "rtsp://@192.168.158.80/?src=1&freq=12148&pol=h&msys=dvbs&sr=27500&pids=0,109,0,0,368,368,18,17,16"
Apr 18 13:42 : zeroconf: No global port, disabling zeroconf
Apr 18 13:42 : client: [0] opened from [fd00::1983:f147:ccac:8d79]:54504
Apr 18 13:43 : zeroconf: No global port, disabling zeroconf
Apr 18 13:43 : client: [0] opened from 192.168.158.31:40074
Apr 18 13:45 : exception: Failed to decode rtsp://@192.168.158.80/?src=1&freq=12148&pol=h&msys=dvbs&sr=27500&pids=0,109,0,0,368,368,18,17,16
Apr 18 13:45 : exception: nested: Protocol not found
cvlc complains something but does the job (had to put the URL between ' '):

Code: Select all

pi@rpikura:/var/log/mpd $ cvlc 'rtsp://@192.168.158.80/?src=1&freq=12148&pol=h&msys=dvbs&sr=27500&pids=0,109,0,0,368,368,18,17,16'
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[0132c5f0] main interface error: no suitable interface module
[0129bb58] main libvlc error: interface "globalhotkeys,none" initialization failed
[0132c5f0] dummy interface: using the dummy interface module...
Created new TCP socket 12 for connection
[6240ab40] ts demux error: libdvbpsi error (EIT decoder): 'last_section_number' differs whereas no discontinuity has occured
Regards, K.

max
Forum team
Posts: 1063
Joined: January 15th, 2013, 3:43 pm

Re: rtsp stream won't work - protocol not found

Post by max »

"Your collaboration is necessary to solve your problem. We can’t help you if you don’t follow the instructions above."

KKie
Posts: 5
Joined: April 18th, 2020, 9:00 am

Re: rtsp stream won't work - protocol not found

Post by KKie »

@max: not sure what you really need.
mpd --version gives:http://paste.debian.net/1141598/
mpd.conf is here:http://paste.debian.net/1141600/

I have newest version from repisoritory. Do I need to compile 0.21.22 myself?

Regards,
KKie

max
Forum team
Posts: 1063
Joined: January 15th, 2013, 3:43 pm

Re: rtsp stream won't work - protocol not found

Post by max »

I think the problem here is that FFmpeg's "avio" library doesn't suport rtsp://. It is supported by FFmpeg only by the higher layers ("avformat"), which MPD doesn't use at this stage of decoding. This is a missing feature in MPD.
MPD advertises it supports "rtsp" because it has a hard-coded list, and rtsp may have been supported long ago; the upcoming MPD version 0.22 did away with this hard-coded list and instead queries FFmpeg at runtime. So this feature is still missing, but MPD's protocol announcement is less confusing about it.
You may submit a feature request on GitHub if you want that feature.

KKie
Posts: 5
Joined: April 18th, 2020, 9:00 am

Re: rtsp stream won't work - protocol not found

Post by KKie »

Thanks for the detailed description.
So I hope it will be implemented once in the future.
I will investigate weather my IP-TV Receiver can provide an supported stream.
Maybe also a local "converter" could do the job...
K.

Post Reply