• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[geschlossen] RTSP-Stream wiedergeben - Unauthorized

albschrat

Member
Hallo zusammen.

Schafft von Euch jemand die Wiedergabe der folgenden Radioprogramme?

104.6 RTL rtsp://62.26.161.89/rtl1046$rtllive.wma
94.3 RS2 rtsp://62.144.180.164/radiors2$livestream.wma
Radio Hamburg rtsp://62.144.180.169/radiohamburg$livestream2.wma

Bei mir klappt das weder mit Amarok noch mit Kaffeine noch mit MPlayer noch mit VLC. :-(

MPlayer gibt beim Startversuch in der Konsole das Folgende aus:

Code:
mplayer -V rtsp://62.26.161.89/rtl1046$rtllive.wma
MPlayer 1.0rc2-openSUSE Linux 11.0 (i686)-Packman-4.3 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 15, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/peter/.mplayer/codecs.conf'
Reading /home/peter/.mplayer/codecs.conf: Can't open '/home/peter/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr --confdir=/etc/mplayer --datadir=/usr/share/mplayer --libdir=/usr/lib --with-extralibdir=/usr/lib --mandir=/usr/share/man --enable-runtime-cpudetection --enable-bl --enable-fbdev --enable-zr --enable-gui --enable-menu --language=all --enable-xvmc --with-xvmclib=XvMCW --enable-largefiles --enable-smb --enable-joystick --enable-radio --enable-radio-capture --with-dvdnav-config=/usr/src/packages/BUILD/MPlayer-1.0rc2/libdvdnav/ROOT/bin/dvdnav-config --disable-nemesi --enable-faad-external --with-extraincdir=/usr/lib/live --realcodecsdir=/usr/lib/RealPlayer10/codecs
CommandLine: '-V' 'rtsp://62.26.161.89/rtl1046.wma'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/peter/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/peter/.mplayer/input.conf'
Can't open input config file /home/peter/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 81 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
get_path('rtl1046.wma.conf') -> '/home/peter/.mplayer/rtl1046.wma.conf'

Playing rtsp://62.26.161.89/rtl1046.wma.
get_path('sub/') -> '/home/peter/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://62.26.161.89/rtl1046.wma
Filename for url is now rtsp://62.26.161.89/rtl1046.wma
Filename for url is now rtsp://62.26.161.89/rtl1046.wma
Resolving 62.26.161.89 for AF_INET6...
Couldn't resolve name for AF_INET6: 62.26.161.89
Connecting to server 62.26.161.89[62.26.161.89]: 554...
Filename for url is now rtsp://62.26.161.89/rtl1046.wma
Filename for url is now rtsp://62.26.161.89/rtl1046.wma
STREAM_LIVE555, URL: rtsp://62.26.161.89/rtl1046.wma
STREAM: [RTSP and SIP] rtsp://62.26.161.89/rtl1046.wma
STREAM: Description: standard RTSP and SIP
STREAM: Author: Ross Finlayson
STREAM: Comment: Uses LIVE555 Streaming Media library.
Stream not seekable!
 file format detected.
Sending request: DESCRIBE rtsp://62.26.161.89/rtl1046.wma RTSP/1.0
CSeq: 1
Accept: application/sdp
User-Agent: MPlayer (LIVE555 Streaming Media v2008.06.25)


Received DESCRIBE response: RTSP/1.0 401 Unauthorized
Date: Thu, 08 Jan 2009 13:29:11 GMT
CSeq: 1
Server: WMServer/9.1.1.5000
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.eosmsg, com.microsoft.wm.fastcache, com.microsoft.wm.packetpairssrc, com.microsoft.wm.startupprofile


Failed to get a SDP description from URL "rtsp://62.26.161.89/rtl1046.wma": cannot handle DESCRIBE response: RTSP/1.0 401 Unauthorized

vo: x11 uninit called but X11 not inited..

Exiting... (End of file)
Entscheidend scheint mir die folgende Zeile: »Received DESCRIBE response: RTSP/1.0 401 Unauthorized«

Erwartet der Sender so etwas wie ein Passwort oder gibt es eine andere Ursache?

albschrat
 

whois

Ultimate Guru
Bei mir wird,mit vlc, nach einer rtsp Authentifizierung gefragt. ;)
Daran wird wohl hapern.
 
OP
albschrat

albschrat

Member
Hallo whois!

Der Stream wird von den eigenen Playern der Radiostationen aufgerufen. Im Firefox öffnet sich der Player als neues Fenster. Sendet der Player die Authorisierung mit? Könnte die Authorisierung als Parameter mitgegeben werden? Aber wie den Code ermitteln? :-(

Grüße

albschrat
 

whois

Ultimate Guru
Ich habe das jetzt auch mal per Browser versucht.
RTL hat Nacamar dazwischen geschaltet, die Authentifizierung zu ermittlen wird schwierig sein.

Alles was ich finde ist das.

Code:
62.27.47.6:ms-streaming
 
OP
albschrat

albschrat

Member
Hallo whois.

Gerade höre ich das eingangs genannte Radio Hamburg in Kaffeine. Es ist geknackt. :) Nur leider bringt aber nicht viel... :-(

Das Token ändert sich nämlich alle paar Minuten. :-(

mms://62.27.47.6/radiohamburg$livestream2.wma?token=ea2ba8ac0596b7fa10f2aafaff0a8c29

5 Minuten später:

mms://62.27.47.6/radiohamburg$livestream2.wma?token=adf8626760a9c62ca687f29ce1691d8f

5 Minuten später:

mms://62.27.47.6/radiohamburg$livestream2.wma?token=47e5413374a39ab146fa51b3f8c2299b

Ich gebe somit :-( auf und schließe den Thread.

Dennoch besten Dank für die Mithilfe.

albschrat
 
Oben