[MPlayer-users] problem playing rtsp stream latest svn snapshot

Jeremy Reeve jeremy.reeve1 at gmail.com
Sun Apr 18 03:01:15 CEST 2010


Hi there,

I've built mplayer latest svn snapshot on my debian lenny amd64 machine (64
bit build) and I'm trying to play an rtsp stream served up by what seems to
be an Apple Darwin streaming server.  Incidentally I don't think I have a
proper video output driver compiled in yet, but equally not sure it matters
given that it's not even got to the point of trying to display anything.
I'm using the 64 bit build because liblive555 was available in the debian
repository as a 64 bit build only, just to get started with.

I get the following output which looks (in my naive view) as if the stream
is being cut-off before mplayer has received any data.  The output with -v
is as follows:


jsr at bender:~/math/math102/lectures/video$ mplayer -v -vo xv -ao alsa
rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov
MPlayer SVN-r31036-snapshot-4.3.2 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 10
CPU: Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz (Family: 6, Model: 15,
Stepping: 6)
extended cpuid-level: 8
extended cache-info: 268468288
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV
get_path('codecs.conf') -> '/home/jsr/.mplayer/codecs.conf'
Reading /home/jsr/.mplayer/codecs.conf: Can't open
'/home/jsr/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration:
CommandLine: '-v' '-vo' 'xv' '-ao' 'alsa'
'rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov'
get_path('font/font.desc') -> '/home/jsr/.mplayer/font/font.desc'
font: can't open file: /home/jsr/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/jsr/.mplayer/input.conf'
Can't open input config file /home/jsr/.mplayer/input.conf: No such file or
directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file
or directory
Falling back on default (hardcoded) input config
get_path('2010-02-22.mov.conf') -> '/home/jsr/.mplayer/2010-02-22.mov.conf'

Playing rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov.
get_path('sub/') -> '/home/jsr/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov
Filename for url is now rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov
Filename for url is now rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov
Resolving *.*.*.* for AF_INET6...
Couldn't resolve name for AF_INET6: *.*.*.*
Resolving *.*.*.* for AF_INET...
Connecting to server *.*.*.*[*.*.*.*]: 554...
SDP:
v=0
o=StreamingServer 3480540165 1266791909000 IN IP4 *.*.*.*
s=/MathStream/Math102/2010-02-22.mov
u=http:///
e=admin@
c=IN IP4 0.0.0.0
b=AS:957
t=0 0
a=control:*
a=maxprate:98.000000
a=range:npt=0-3188.40000
m=audio 0 RTP/AVP 96
b=AS:128
b=TIAS:125
a=3GPP-Adaptation-Support:1
a=maxprate:12
a=rtpmap:96 mpeg4-generic/48000/2
a=control:trackID=3
a=fmtp:96
profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1190
m=video 0 RTP/AVP 97
b=AS:832
b=TIAS:810
a=3GPP-Adaptation-Support:1
a=maxprate:98
a=rtpmap:97 H264/90000
a=control:trackID=4
a=cliprect:0,0,405,720
a=framesize:97 720-405
a=fmtp:97
packetization-mode=1;profile-level-id=4D4016;sprop-parameter-sets=J01AFqkYFoavNgDUGAQa2wrXvfAQ,KN4JyA==

A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'QTSS/6.0.2
(Build/526.2; Platform/MacOSX; Release/Mac OS X Server; )'.
Filename for url is now rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov
Filename for url is now rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov
STREAM_LIVE555, URL: rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov
STREAM: [RTSP and SIP] rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov
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://*.*.*.*/MathStream/Math102/2010-02-22.mov
RTSP/1.0
CSeq: 1
Accept: application/sdp
User-Agent: MPlayer (LIVE555 Streaming Media v2007.02.20)


Received DESCRIBE response: RTSP/1.0 200 OK
Server: QTSS/6.0.2 (Build/526.2; Platform/MacOSX; Release/Mac OS X Server; )
Cseq: 1
Last-Modified: Sun, 21 Feb 2010 22:38:29 GMT
Cache-Control: must-revalidate
Content-length: 768
Date: Sun, 18 Apr 2010 00:42:46 GMT
Expires: Sun, 18 Apr 2010 00:42:46 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov/


Need to read 768 extra bytes
Read 768 extra bytes: v=0
o=StreamingServer 3480540166 1266791909000 IN IP4 *.*.*.*
s=/MathStream/Math102/2010-02-22.mov
u=http:///
e=admin@
c=IN IP4 0.0.0.0
b=AS:957
t=0 0
a=control:*
a=maxprate:98.000000
a=range:npt=0-3188.40000
m=audio 0 RTP/AVP 96
b=AS:128
b=TIAS:125
a=3GPP-Adaptation-Support:1
a=maxprate:12
a=rtpmap:96 mpeg4-generic/48000/2
a=control:trackID=3
a=fmtp:96
profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1190
m=video 0 RTP/AVP 97
b=AS:832
b=TIAS:810
a=3GPP-Adaptation-Support:1
a=maxprate:98
a=rtpmap:97 H264/90000
a=control:trackID=4
a=cliprect:0,0,405,720
a=framesize:97 720-405
a=fmtp:97
packetization-mode=1;profile-level-id=4D4016;sprop-parameter-sets=J01AFqkYFoavNgDUGAQa2wrXvfAQ,KN4JyA==

Initiated "audio/MPEG4-GENERIC" RTP subsession on port 44304
Increased audio socket receive buffer to 124928 bytes
Sending request: SETUP
rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov/trackID=3 RTSP/1.0
CSeq: 2
Transport: RTP/AVP;unicast;client_port=44304-44305
User-Agent: MPlayer (LIVE555 Streaming Media v2007.02.20)


Received SETUP response: RTSP/1.0 200 OK
Server: QTSS/6.0.2 (Build/526.2; Platform/MacOSX; Release/Mac OS X Server; )
Cseq: 2
Last-Modified: Sun, 21 Feb 2010 22:38:29 GMT
Cache-Control: must-revalidate
Session: 5055925442464002168
Date: Sun, 18 Apr 2010 00:42:46 GMT
Expires: Sun, 18 Apr 2010 00:42:46 GMT
Transport:
RTP/AVP;unicast;source=*.*.*.*;client_port=44304-44305;server_port=6970-6971;ssrc=1A25693B


Initiated "video/H264" RTP subsession on port 35242
Increased video socket receive buffer to 2000000 bytes
Sending request: SETUP
rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov/trackID=4 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=35242-35243
Session: 5055925442464002168
User-Agent: MPlayer (LIVE555 Streaming Media v2007.02.20)


Received SETUP response: RTSP/1.0 200 OK
Server: QTSS/6.0.2 (Build/526.2; Platform/MacOSX; Release/Mac OS X Server; )
Cseq: 3
Session: 5055925442464002168
Last-Modified: Sun, 21 Feb 2010 22:38:29 GMT
Cache-Control: must-revalidate
Date: Sun, 18 Apr 2010 00:42:46 GMT
Expires: Sun, 18 Apr 2010 00:42:46 GMT
Transport:
RTP/AVP;unicast;source=*.*.*.*;client_port=35242-35243;server_port=6970-6971;ssrc=39586ABA


Sending request: PLAY rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov/
RTSP/1.0
CSeq: 4
Session: 5055925442464002168
Range: npt=0.000-
User-Agent: MPlayer (LIVE555 Streaming Media v2007.02.20)


Received PLAY response: RTSP/1.0 200 OK
Server: QTSS/6.0.2 (Build/526.2; Platform/MacOSX; Release/Mac OS X Server; )
Cseq: 4
Session: 5055925442464002168
Range: npt=0.00000-3188.40000
RTP-Info:
url=rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov/trackID=3;seq=6877;rtptime=700606384,url=rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov/trackID=4;seq=44519;rtptime=1104272968


==> Found audio stream: 0
==> Found video stream: 0
demux_rtp: Failed to guess the video frame rate
VIDEO:  [H264]  0x0  0bpp  0.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:21  fourcc:0x34363248  size:0x0  fps:0.000  ftime:=0.0000
FPS not specified in the header or invalid, use the -fps option.
get_path('sub/') -> '/home/jsr/.mplayer/sub/'
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec "aac" init OK!
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Trying preferred audio driver 'alsa', options '[none]'
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.16
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: got buffersize=32768
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/32768 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
ds_fill_buffer: EOF reached (stream: audio)
EOF code: 1  nown) of 3188.4 (53:08.4)
??,?%


Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: ffmpeg
Sending request: TEARDOWN rtsp://*.*.*.*/MathStream/Math102/2010-02-22.mov/
RTSP/1.0
CSeq: 5
Session: 5055925442464002168
User-Agent: MPlayer (LIVE555 Streaming Media v2007.02.20)


Received TEARDOWN response: RTSP/1.0 200 OK
Server: QTSS/6.0.2 (Build/526.2; Platform/MacOSX; Release/Mac OS X Server; )
Cseq: 5
Session: 5055925442464002168
Connection: Close


alsa-uninit: pcm closed
vo: x11 uninit called but X11 not initialized..

Exiting... (End of file)

The providers of the content state that Quicktime 7.x is required to view.
Any ideas or help most welcome.

Thanks.

Jeremy


More information about the MPlayer-users mailing list