[MPlayer-users] problem playing RTSP stream

dvrslype dvrslype at intec.ugent.be
Wed May 21 15:21:38 CEST 2008


Hello,

I have an Axis 207W network camera  that can stream RTSP.
I previously used it with vlc and totem without any problem, but I 
prefer to use it with mplayer.
I was surprised it didn't work.

this is what i get:

# mplayer -v rtsp://1.2.3.105:554/mpeg4/media.amp/
Couldn't resolve name for AF_INET6: 1.2.3.105
rtsp_session: unsupported RTSP server. Server type is 'unknown'.
Couldn't resolve name for AF_INET6: 1.2.3.105
 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/home/qsac/.mplayer/codecs.conf'
Reading /home/qsac/.mplayer/codecs.conf: Can't open 
'/home/qsac/.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: --cc=i686-pc-linux-gnu-gcc 
--host-cc=i686-pc-linux-gnu-gcc --prefix=/usr --confdir=/etc/mplayer 
--datadir=/usr/share/mplayer --libdir=/usr/lib --enable-menu 
--enable-network --disable-tv-bsdbt848 --disable-faad-external 
--disable-ivtv --disable-pvr --disable-xss --disable-fribidi 
--disable-enca --disable-ftp --disable-nemesi --disable-vstream 
--disable-libcdio --disable-cdparanoia --disable-mencoder 
--disable-libdv --disable-x264 --disable-faac --disable-ass 
--disable-freetype --charset=UTF-8 --disable-lirc --disable-lircc 
--disable-joystick --disable-unrarexec --disable-rtc --disable-tv-v4l1 
--disable-tv-v4l2 --disable-tv-teletext --disable-radio-v4l2 
--disable-radio-bsdbt848 --disable-live --disable-mad --disable-musepack 
--disable-pnm --disable-speex --disable-tga --disable-xanim 
--disable-libamr_nb --disable-libamr_wb --disable-libdca 
--disable-liblzo --disable-twolame --disable-toolame --disable-real 
--enable-win32dll --disable-directfb --disable-ggi --disable-md5sum 
--disable-sdl --disable-xinerama --disable-aa --disable-dga1 
--disable-dga2 --disable-fbdev --disable-caca --disable-gl 
--disable-vesa --disable-vidix-internal --disable-vidix-external 
--disable-vidix-pcidb --disable-zr --enable-gui --disable-xvmc 
--disable-3dfx --disable-tdfxvid --disable-tdfxfb --disable-arts 
--disable-esd --disable-jack --disable-ladspa --disable-nas 
--disable-openal --disable-pulse --disable-ossaudio --disable-3dnow 
--disable-3dnowext --disable-mmxext --disable-ssse3 --disable-altivec
CommandLine: '-v' 'rtsp://1.2.3.105:554/mpeg4/media.amp/'
get_path('font/font.desc') -> '/home/qsac/.mplayer/font/font.desc'
font: can't open file: /home/qsac/.mplayer/font/font.desc
Bitmap font /usr/share/mplayer/font/font.desc loaded successfully! (206 
chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/qsac/.mplayer/input.conf'
Can't open input config file /home/qsac/.mplayer/input.conf: No such 
file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or 
directory
Falling back on default (hardcoded) input config
get_path('.conf') -> '/home/qsac/.mplayer/.conf'

Playing rtsp://1.2.3.105:554/mpeg4/media.amp/.
get_path('sub/') -> '/home/qsac/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://1.2.3.105:554/mpeg4/media.amp/
Filename for url is now rtsp://1.2.3.105:554/mpeg4/media.amp/
Filename for url is now rtsp://1.2.3.105:554/mpeg4/media.amp/
Resolving 1.2.3.105 for AF_INET6...
Connecting to server 1.2.3.105[1.2.3.105]: 554...
SDP:
v=0
o=- 74368933873 74368933883 IN IP4 1.2.3.105
s=Media Presentation
e=NONE
c=IN IP4 0.0.0.0
b=AS:3000
t=0 0
a=control:*
a=range:npt=now-
a=mpeg4-iod: 
"data:application/mpeg4-iod;base64,AoDUAE8BAf/0AQOAbwABQFBkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBTGNiQUFDM0d3QVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAGCQEAAAAAAAAAAA==" 

a=isma-compliance:1,1.0,1
m=video 0 RTP/AVP 96
b=AS:3000
a=framerate:30.0
a=control:trackID=1
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=244; 
config=000001B0F4000001B5891300000100000001200086C40FA28A021E0A21
a=mpeg4-esid:201

Filename for url is now rtsp://1.2.3.105:554/mpeg4/media.amp/
Filename for url is now rtsp://1.2.3.105:554/mpeg4/media.amp/
STREAM_HTTP(2), URL: rtsp://1.2.3.105:554/mpeg4/media.amp/
Resolving 1.2.3.105 for AF_INET6...
Connecting to server 1.2.3.105[1.2.3.105]: 554...
--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.0]
http minor version: [0]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      [OK]
body size:          [26]
Fields:
0 - Content-Type: text/plain
1 - Content-Length: 26
--- HTTP DEBUG HEADER --- END ---
Content-Type: [text/plain]
Content-Length: [26]
Cache size set to 320 KBytes
STREAM: [null] rtsp://1.2.3.105:554/mpeg4/media.amp/
STREAM: Description: http streaming
STREAM: Author: Bertrand, Albeu, Arpi? who?
STREAM: Comment: plain http, also used as fallback for many other protocols
CACHE_PRE_INIT: 0 [0] 0  pre:65536  eof:0 Cache fill:  0.00% (0 bytes)   
Cache fill:  0.01% (26 bytes)  Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename 
rtsp://1.2.3.105:554/mpeg4/media.amp/ ext: .amp/
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 111
AVS: avs_check_file - attempting to open file 
rtsp://1.2.3.105:554/mpeg4/media.amp/
AVS: failed to load avisynth.dll
AVS: Init failed
Checking for PVA
Checking for MPEG-TS...
THIS DOESN'T LOOK LIKE AN MPEG-TS FILE!
TRIED UP TO POSITION 0, FOUND ffffff00, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=20079 size=1702064993
LMLM4 Stream Format not found
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video) MPEG packet stats: p100: 0  
p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0 sps: 0 pps: 0 PES: 
0  MP3: 0, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video) MPEG packet stats: p100: 0  
p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0 sps: 0 pps: 0 PES: 
0  MP3: 0, synced: 3
Not MPEG System Stream format... (maybe Transport Stream?)
ds_fill_buffer: EOF reached (stream: video) demux_aac_probe, failed to 
detect an AAC stream

vo: x11 uninit called but X11 not inited..

Exiting... (End of file)

Don't really know how to fix. The output first complains about the 
'unknown' server type.
Tried to compile live555 into it, but didn't change anything.
Escpecially the "THIS DOESN'T LOOK LIKE AN MPEG-TS FILE" disturbs me.
Does this mean I lack a certain codec or something?

regards,

dvrslype



More information about the MPlayer-users mailing list