[MPlayer-users] Unable to get RTSP stream from IP camera

Dâniel Fraga fragabr at gmail.com
Thu Nov 8 03:47:37 CET 2012


	Here it's what I get when I try to get the RTSP stream from my IP Camera:

mplayer -v -user guest -passwd guest rtsp://192.168.1.98:554/11
MPlayer SVN-r35368-4.7.2 (C) 2000-2012 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 13
CPU: Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz (Family: 6, Model: 42, Stepping: 7)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1 SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX CMOV
get_path('codecs.conf') -> '/home/fraga/.mplayer/codecs.conf'
Reading optional codecs config file /home/fraga/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /usr/local/etc/mplayer/codecs.conf: 199 audio & 415 video codecs
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/fraga/.mplayer/fonts'
Configuration: --enable-debug=3
CommandLine: '-v' '-user' 'guest' '-passwd' 'guest' 'rtsp://192.168.1.98:554/11'
Using nanosleep() timing
get_path('input.conf') -> '/home/fraga/.mplayer/input.conf'
Reading optional input config file /home/fraga/.mplayer/input.conf: No such file or directory
Reading optional input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not open config files /home/fraga/.lircrc and /etc/lirc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.
get_path('11.conf') -> '/home/fraga/.mplayer/11.conf'

Playing rtsp://192.168.1.98:554/11.
get_path('sub/') -> '/home/fraga/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://192.168.1.98:554/11
Filename for url is now rtsp://192.168.1.98:554/11
Filename for url is now rtsp://192.168.1.98:554/11
Connecting to server 192.168.1.98[192.168.1.98]: 554...

librtsp: server responds: '�}bi�'
rtsp_session: unsupported RTSP server. Server type is 'HiIpcam/V100R003 VodServer/1.0.0'.
Filename for url is now rtsp://192.168.1.98:554/11
Filename for url is now rtsp://192.168.1.98:554/11
STREAM_HTTP(2), URL: rtsp://192.168.1.98:554/11
Connecting to server 192.168.1.98[192.168.1.98]: 554...

--- HTTP DEBUG HEADER --- START ---
protocol:           [RTSP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [400]
reason phrase:      [Bad Request]
body size:          [0]
Fields:
 0 - Cache-Control: no-cache
 1 - Server: Hisilicon Ipcam
--- HTTP DEBUG HEADER --- END ---
Server returned 400: Bad Request
No stream found to handle url rtsp://192.168.1.98:554/11

vo: x11 uninit called but X11 not initialized..

Exiting... (End of file)

	***

	With ffplay I can get the stream fine with:

ffplay rtsp://guest:guest@192.168.1.98:554/11

	Any hints why mplayer can't play this? Thanks.

-- 
Linux 3.6.0: Terrified Chipmunk
http://www.youtube.com/DanielFragaBR




More information about the MPlayer-users mailing list