Opened 13 years ago

Closed 13 years ago

#1874 closed defect (fixed)

Unable to play rtsp streams that require rtsp-stream-over-tcp

Reported by: kyl416@… Owned by: reimar
Priority: normal Component: streaming
Version: unspecified Severity: major
Keywords: Cc: compn, kyl416@…
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Streams that need to play with rtsp_tcp fail to start with mplayer while VLC and ffmpeg can play them fine:

URL: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp

Following will be the verbose output without use_rtsp_over_tcp and with it.

Change History (14)

comment:1 by kyl416@…, 13 years ago

Verbose output without tcp:

mplayer -ao pulse -vo xv rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp -v
MPlayer SVN-r32880-4.4.5 (C) 2000-2011 MPlayer Team
CPU vendor name: AuthenticAMD max cpuid level: 5
CPU: AMD Athlon(tm) II Dual-Core M320 (Family: 16, Model: 6, Stepping: 2)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 CMOV
get_path('codecs.conf') -> '/home/kyle/.mplayer/codecs.conf'
Reading /home/kyle/.mplayer/codecs.conf: Can't open '/home/kyle/.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.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/kyle/.mplayer/fonts'
Configuration: --prefix=/usr --enable-gui --enable-menu --enable-rpath --enable-dynamic-plugins --enable-xvmc --disable-inet6 --with-vidix-drivers=radeon --enable-dhahelper --enable-bl --confdir=/etc/mplayer --enable-radio --enable-radio-capture
CommandLine: '-ao' 'pulse' '-vo' 'xv' 'rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp' '-v'
Using nanosleep() timing
get_path('input.conf') -> '/home/kyle/.mplayer/input.conf'
Can't open input config file /home/kyle/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 91 binds
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('slamtv.sdp.conf') -> '/home/kyle/.mplayer/slamtv.sdp.conf'

Playing rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp.
get_path('sub/') -> '/home/kyle/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Resolving stream05.qt.slamtv.true.nl for AF_INET...
Connecting to server stream05.qt.slamtv.true.nl[87.233.153.15]: 554...

SDP:
v=0
o=- 1286886461782712 1286886461782713 IN IP4 127.0.1.1
s=default
e=NONE
c=IN IP4 0.0.0.0
b=RR:0
t=0 0
a=control:*
a=control:*
m=video 0 RTP/AVP 96
b=AS:600
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=000033; sprop-parameter-sets=Z01AM5JUDAS0IAAAAwBAAAAM0eMGVA==,aO48gA==; packetization-mode=1
a=control:trackID=1
m=audio 0 RTP/AVP 97
b=AS:1
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:97 mpeg4-generic/44100
a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1210; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
a=mpeg4-esid:10
a=control:trackID=2

A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )'.
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
STREAM_LIVE555, URL: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
STREAM: [RTSP and SIP] rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
STREAM: Description: standard RTSP and SIP
STREAM: Author: Ross Finlayson
STREAM: Comment: Uses LIVE555 Streaming Media library.
Stream not seekable!

file format detected.

Opening connection to 87.233.153.15, port 554...
...remote connection opened
Sending request: DESCRIBE rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp RTSP/1.0
CSeq: 2
User-Agent: MPlayer (LIVE555 Streaming Media v2011.01.24)
Accept: application/sdp

Received 1097 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 2
Cache-Control: no-cache
Content-length: 688
Date: Fri, 11 Feb 2011 02:50:58 GMT
Expires: Fri, 11 Feb 2011 02:50:58 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/

v=0
o=- 1286886461782712 1286886461782713 IN IP4 127.0.1.1
s=default
e=NONE
c=IN IP4 0.0.0.0
b=RR:0
t=0 0
a=control:*
a=control:*
m=video 0 RTP/AVP 96
b=AS:600
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=000033; sprop-parameter-sets=Z01AM5JUDAS0IAAAAwBAAAAM0eMGVA==,aO48gA==; packetization-mode=1
a=control:trackID=1
m=audio 0 RTP/AVP 97
b=AS:1
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:97 mpeg4-generic/44100
a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1210; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
a=mpeg4-esid:10
a=control:trackID=2

Initiated "video/H264" RTP subsession on port 38922
Increased video socket receive buffer to 2000000 bytes
Sending request: SETUP rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=1 RTSP/1.0
CSeq: 3
User-Agent: MPlayer (LIVE555 Streaming Media v2011.01.24)
Transport: RTP/AVP;unicast;client_port=38922-38923

Received 358 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 3
Cache-Control: no-cache
Session: 6650967828521254222
Date: Fri, 11 Feb 2011 02:50:58 GMT
Expires: Fri, 11 Feb 2011 02:50:58 GMT
Transport: RTP/AVP;unicast;source=87.233.153.15;client_port=38922-38923;server_port=6970-6971

Initiated "audio/MPEG4-GENERIC" RTP subsession on port 48310
Increased audio socket receive buffer to 126976 bytes
Sending request: SETUP rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=2 RTSP/1.0
CSeq: 4
User-Agent: MPlayer (LIVE555 Streaming Media v2011.01.24)
Transport: RTP/AVP;unicast;client_port=48310-48311
Session: 6650967828521254222

Received 358 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 4
Session: 6650967828521254222
Cache-Control: no-cache
Date: Fri, 11 Feb 2011 02:50:58 GMT
Expires: Fri, 11 Feb 2011 02:50:58 GMT
Transport: RTP/AVP;unicast;source=87.233.153.15;client_port=48310-48311;server_port=6970-6971

Sending request: PLAY rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/ RTSP/1.0
CSeq: 5
User-Agent: MPlayer (LIVE555 Streaming Media v2011.01.24)
Session: 6650967828521254222
Range: npt=0.000-

Received 307 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 5
Session: 6650967828521254222
Range: npt=now-
RTP-Info: url=rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=1,url=rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=2

==> Found video stream: 0
demux_rtp: Failed to guess the video frame rate
==> Found audio stream: 0
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/kyle/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1366x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (ATI Radeon AVIVO Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 4096x4096
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
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)
Unknown/missing audio format -> no sound
Uninit audio: ffmpeg
ADecoder init failed :(
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
dec_audio: Allocating 6144 bytes for input buffer.
dec_audio: Allocating 65536 + 65536 = 131072 bytes for output buffer.
FAAD: Decoder init done (0Bytes)!
FAAD: Negotiated samplerate: 44100Hz channels: 2
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying preferred audio driver 'pulse', options '[none]'
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: PulseAudio audio output
AO: Author: Lennart Poettering
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
A: 0.0 V: 0.0 A-V: 0.000 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0
EOF code: 1

Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: faad
FAAD: Closing decoder!
Uninit video: ffmpeg
Sending request: TEARDOWN rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/ RTSP/1.0
CSeq: 6
User-Agent: MPlayer (LIVE555 Streaming Media v2011.01.24)
Session: 6650967828521254222

Received 180 new bytes of response data.
Received a complete TEARDOWN response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 6
Session: 6650967828521254222
Connection: Close

vo: uninit ...

Exiting... (End of file)

comment:2 by kyl416@…, 13 years ago

Summary: Unable to play rtsp streams that require use_rtsp_over_tcpUnable to play rtsp streams that require rtsp-stream-over-tcp

comment:3 by kyl416@…, 13 years ago

With tcp:

mplayer -ao pulse -vo xv rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp -rtsp-stream-over-tcp
MPlayer SVN-r32880-4.4.5 (C) 2000-2011 MPlayer Team
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.

Playing rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp.
Resolving stream05.qt.slamtv.true.nl for AF_INET...
Connecting to server stream05.qt.slamtv.true.nl[87.233.153.15]: 554...

A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )'.
STREAM_LIVE555, URL: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Stream not seekable!

file format detected.

Initiated "video/H264" RTP subsession on port 41014
Initiated "audio/MPEG4-GENERIC" RTP subsession on port 56054
demux_rtp: Failed to guess the video frame rate
VIDEO: [H264] 0x0 0bpp 0.000 fps 0.0 kbps ( 0.0 kbyte/s)
FPS not specified in the header or invalid, use the -fps option.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
A: 0.0 V: 0.0 A-V: 0.000 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0

MPlayer interrupted by signal 13 in module: free_demuxer

MPlayer interrupted by signal 13 in module: free_demuxer

comment:4 by kyl416@…, 13 years ago

Forgot to add the verbose flage on the rtsp-stream-over-tcp output:

mplayer -ao pulse -vo xv rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp -rtsp-stream-over-tcp -v
MPlayer SVN-r32880-4.4.5 (C) 2000-2011 MPlayer Team
CPU vendor name: AuthenticAMD max cpuid level: 5
CPU: AMD Athlon(tm) II Dual-Core M320 (Family: 16, Model: 6, Stepping: 2)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 CMOV
get_path('codecs.conf') -> '/home/kyle/.mplayer/codecs.conf'
Reading /home/kyle/.mplayer/codecs.conf: Can't open '/home/kyle/.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.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/kyle/.mplayer/fonts'
Configuration: --prefix=/usr --enable-gui --enable-menu --enable-rpath --enable-dynamic-plugins --enable-xvmc --disable-inet6 --with-vidix-drivers=radeon --enable-dhahelper --enable-bl --confdir=/etc/mplayer --enable-radio --enable-radio-capture
CommandLine: '-ao' 'pulse' '-vo' 'xv' 'rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp' '-rtsp-stream-over-tcp' '-v'
Using nanosleep() timing
get_path('input.conf') -> '/home/kyle/.mplayer/input.conf'
Can't open input config file /home/kyle/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 91 binds
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('slamtv.sdp.conf') -> '/home/kyle/.mplayer/slamtv.sdp.conf'

Playing rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp.
get_path('sub/') -> '/home/kyle/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Resolving stream05.qt.slamtv.true.nl for AF_INET...
Connecting to server stream05.qt.slamtv.true.nl[87.233.153.15]: 554...

SDP:
v=0
o=- 1286886461782712 1286886461782713 IN IP4 127.0.1.1
s=default
e=NONE
c=IN IP4 0.0.0.0
b=RR:0
t=0 0
a=control:*
a=control:*
m=video 0 RTP/AVP 96
b=AS:600
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=000033; sprop-parameter-sets=Z01AM5JUDAS0IAAAAwBAAAAM0eMGVA==,aO48gA==; packetization-mode=1
a=control:trackID=1
m=audio 0 RTP/AVP 97
b=AS:1
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:97 mpeg4-generic/44100
a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1210; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
a=mpeg4-esid:10
a=control:trackID=2

A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )'.
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
STREAM_LIVE555, URL: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
STREAM: [RTSP and SIP] rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
STREAM: Description: standard RTSP and SIP
STREAM: Author: Ross Finlayson
STREAM: Comment: Uses LIVE555 Streaming Media library.
Stream not seekable!

file format detected.

Opening connection to 87.233.153.15, port 554...
...remote connection opened
Sending request: DESCRIBE rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp RTSP/1.0
CSeq: 2
User-Agent: MPlayer (LIVE555 Streaming Media v2011.01.24)
Accept: application/sdp

Received 1097 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 2
Cache-Control: no-cache
Content-length: 688
Date: Fri, 11 Feb 2011 02:56:44 GMT
Expires: Fri, 11 Feb 2011 02:56:44 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/

v=0
o=- 1286886461782712 1286886461782713 IN IP4 127.0.1.1
s=default
e=NONE
c=IN IP4 0.0.0.0
b=RR:0
t=0 0
a=control:*
a=control:*
m=video 0 RTP/AVP 96
b=AS:600
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=000033; sprop-parameter-sets=Z01AM5JUDAS0IAAAAwBAAAAM0eMGVA==,aO48gA==; packetization-mode=1
a=control:trackID=1
m=audio 0 RTP/AVP 97
b=AS:1
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:97 mpeg4-generic/44100
a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1210; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
a=mpeg4-esid:10
a=control:trackID=2

Initiated "video/H264" RTP subsession on port 56702
Increased video socket receive buffer to 2000000 bytes
Sending request: SETUP rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=1 RTSP/1.0
CSeq: 3
User-Agent: MPlayer (LIVE555 Streaming Media v2011.01.24)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

Received 311 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 3
Cache-Control: no-cache
Session: 8388914304453613865
Date: Fri, 11 Feb 2011 02:56:44 GMT
Expires: Fri, 11 Feb 2011 02:56:44 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

Initiated "audio/MPEG4-GENERIC" RTP subsession on port 50204
Increased audio socket receive buffer to 126976 bytes
Sending request: SETUP rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=2 RTSP/1.0
CSeq: 4
User-Agent: MPlayer (LIVE555 Streaming Media v2011.01.24)
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
Session: 8388914304453613865

Received a complete SETUP response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 4
Session: 8388914304453613865
Cache-Control: no-cache
Date: Fri, 11 Feb 2011 02:56:44 GMT
Expires: Fri, 11 Feb 2011 02:56:44 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

Sending request: PLAY rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/ RTSP/1.0
CSeq: 5
User-Agent: MPlayer (LIVE555 Streaming Media v2011.01.24)
Session: 8388914304453613865
Range: npt=0.000-

Received a complete PLAY response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 5
Session: 8388914304453613865
Range: npt=now-
RTP-Info: url=rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=1,url=rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=2

==> Found video stream: 0
demux_rtp: Failed to guess the video frame rate
==> Found audio stream: 0
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/kyle/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1366x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (ATI Radeon AVIVO Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 4096x4096
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
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)
Unknown/missing audio format -> no sound
Uninit audio: ffmpeg
ADecoder init failed :(
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
dec_audio: Allocating 6144 bytes for input buffer.
dec_audio: Allocating 65536 + 65536 = 131072 bytes for output buffer.
FAAD: Decoder init done (0Bytes)!
FAAD: Negotiated samplerate: 44100Hz channels: 2
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying preferred audio driver 'pulse', options '[none]'
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: PulseAudio audio output
AO: Author: Lennart Poettering
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
A: 0.0 V: 0.0 A-V: 0.000 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0
EOF code: 1

Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: faad
FAAD: Closing decoder!
Uninit video: ffmpeg
Sending request: TEARDOWN rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/ RTSP/1.0
CSeq: 6
User-Agent: MPlayer (LIVE555 Streaming Media v2011.01.24)
Session: 8388914304453613865

MPlayer interrupted by signal 13 in module: free_demuxer

MPlayer interrupted by signal 13 in module: free_demuxer

comment:5 by kyl416@…, 13 years ago

Cc: kyl416@… added

comment:6 by compn, 13 years ago

Cc: patriotact@… added

try mplayer ffmpeg://rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp

comment:7 by kyl416@…, 13 years ago

That works, but is there any reason why I can't play it with mplayer directly? I used to be able to about a year ago, but at some point it stopped working.

comment:8 by compn, 13 years ago

sounds like something changed and no one fixed it...

comment:9 by reimar, 13 years ago

It works fine for me with the 2010.11.17-1 version of live555 in Debian and latest MPlayer SVN, I'd suggest to try that to make sure it really is an issue in MPlayer.
So without a way to reproduce or at least a few backtraces that give a hint where and why it hangs I at least can't do much about it.

comment:10 by kyl416@…, 13 years ago

I ended up switching to the distribution version of live555, it's working now.

I was using the latest source of live555 compiled from source using "./genMakefiles linux-64bit". Not sure why that didn't work with mplayer though, it was working with VLC.

comment:11 by kyl416@…, 13 years ago

Correction, it's not working with the latest svn of mplayer, however the distribution package of live555 worked when I reverted to svn 31489 (and ffmpeg 23666 which was the revision that day so it will compile). I'm guessing it was something that was introduced in svn 31493.

comment:12 by kyl416@…, 13 years ago

It's been a while, but I got it working by specifying -fps 25 in the command line. However, if I fall back to that previous revision I don't need to specify the fps.

comment:13 by kyl416@…, 13 years ago

(In reply to comment #10)

It's been a while, but I got it working by specifying -fps 25 in the command
line. However, if I fall back to that previous revision I don't need to specify
the fps.

I forgot to mention, this is with the latest svn of mplayer and latest git of ffmpeg as of 6/26.

The output with -fps 25 added:

"mplayer -v -ao pulse -vo xv -rtsp-stream-over-tcp rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp -fps 25"

MPlayer SVN-r33733-4.5.2 (C) 2000-2011 MPlayer Team
CPU vendor name: AuthenticAMD max cpuid level: 5
CPU: AMD Athlon(tm) II Dual-Core M320 (Family: 16, Model: 6, Stepping: 2)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 CMOV
get_path('codecs.conf') -> '/home/kyle/.mplayer/codecs.conf'
Reading /home/kyle/.mplayer/codecs.conf: Can't open '/home/kyle/.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.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/kyle/.mplayer/fonts'
Configuration: --prefix=/usr --enable-gui --enable-menu --enable-rpath --enable-dynamic-plugins --disable-inet6 --with-vidix-drivers=radeon --enable-dhahelper --enable-bl --confdir=/etc/mplayer --enable-radio --enable-radio-capture --enable-xvmc
CommandLine: '-v' '-ao' 'pulse' '-vo' 'xv' '-rtsp-stream-over-tcp' 'rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp' '-fps' '25'
Using nanosleep() timing
get_path('input.conf') -> '/home/kyle/.mplayer/input.conf'
Can't open input config file /home/kyle/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 91 binds
Setting up LIRC support...
mplayer: could not open config files /home/kyle/.lircrc and /etc/lirc/lirc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.
get_path('slamtv.sdp.conf') -> '/home/kyle/.mplayer/slamtv.sdp.conf'

Playing rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp.
get_path('sub/') -> '/home/kyle/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Resolving stream05.qt.slamtv.true.nl for AF_INET...
Connecting to server stream05.qt.slamtv.true.nl[87.233.153.15]: 554...

SDP:
v=0
o=- 15085113838116832717 15085113838116832717 IN IP4 slamtv.nl
s=video
i=N/A
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 1.0.6
a=recvonly
a=type:broadcast
a=charset:UTF-8
a=control:*
a=control:*
m=audio 0 RTP/AVP 96
b=AS:128
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:96 mpeg4-generic/44100/2
a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1210; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
a=control:trackID=1
m=video 0 RTP/AVP 97
b=AS:700
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01AM5pyAwEtgIgAAAMACAAAAwGQeMGIkA==,aO+8gA==;
a=control:trackID=2

A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )'.
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
STREAM_LIVE555, URL: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
STREAM: [RTSP and SIP] rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
STREAM: Description: standard RTSP and SIP
STREAM: Author: Ross Finlayson
STREAM: Comment: Uses LIVE555 Streaming Media library.
Stream not seekable!

file format detected.

Opening connection to 87.233.153.15, port 554...
...remote connection opened
Sending request: DESCRIBE rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp RTSP/1.0
CSeq: 2
User-Agent: MPlayer (LIVE555 Streaming Media v2011.06.16)
Accept: application/sdp

Received 1149 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 2
Cache-Control: no-cache
Content-length: 740
Date: Sun, 26 Jun 2011 19:58:06 GMT
Expires: Sun, 26 Jun 2011 19:58:06 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/

v=0
o=- 15085113838116832717 15085113838116832717 IN IP4 slamtv.nl
s=video
i=N/A
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 1.0.6
a=recvonly
a=type:broadcast
a=charset:UTF-8
a=control:*
a=control:*
m=audio 0 RTP/AVP 96
b=AS:128
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:96 mpeg4-generic/44100/2
a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1210; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
a=control:trackID=1
m=video 0 RTP/AVP 97
b=AS:700
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01AM5pyAwEtgIgAAAMACAAAAwGQeMGIkA==,aO+8gA==;
a=control:trackID=2

Initiated "audio/MPEG4-GENERIC" RTP subsession on port 34202
Increased audio socket receive buffer to 126976 bytes
Sending request: SETUP rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=1 RTSP/1.0
CSeq: 3
User-Agent: MPlayer (LIVE555 Streaming Media v2011.06.16)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

Received 310 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 3
Cache-Control: no-cache
Session: 709932539863614779
Date: Sun, 26 Jun 2011 19:58:06 GMT
Expires: Sun, 26 Jun 2011 19:58:06 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

Initiated "video/H264" RTP subsession on port 48140
Increased video socket receive buffer to 2000000 bytes
Sending request: SETUP rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=2 RTSP/1.0
CSeq: 4
User-Agent: MPlayer (LIVE555 Streaming Media v2011.06.16)
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
Session: 709932539863614779

Received a complete SETUP response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 4
Session: 709932539863614779
Cache-Control: no-cache
Date: Sun, 26 Jun 2011 19:58:06 GMT
Expires: Sun, 26 Jun 2011 19:58:06 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

Sending request: PLAY rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/ RTSP/1.0
CSeq: 5
User-Agent: MPlayer (LIVE555 Streaming Media v2011.06.16)
Session: 709932539863614779
Range: npt=0.000-

Received a complete PLAY response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 5
Session: 709932539863614779
Range: npt=now-
RTP-Info: url=rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=1,url=rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=2

==> Found audio stream: 0
==> Found video stream: 0
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
get_path('sub/') -> '/home/kyle/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1366x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (ATI Radeon AVIVO Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 4096x4096
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[h264 @ 0xe32940]Unsupported bit depth: 0
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
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!
AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying preferred audio driver 'pulse', options '[none]'
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: PulseAudio audio output
AO: Author: Lennart Poettering
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
FPS forced to be 25.000 (ftime: 0.040).
Starting playback...
Increasing filtered audio buffer size from 0 to 46144
Unsupported PixelFormat 61
Unsupported PixelFormat 53
[h264 @ 0xe32940]Frame num gap 102 98
[h264 @ 0xe32940]Frame num gap 102 99
[h264 @ 0xe32940]Frame num gap 102 100
[h264 @ 0xe32940]no picture
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 384 x 288 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (384x288->384x288,flags=0,'MPlayer',0x32315659)
VO: [xv] 384x288 => 384x288 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@…> and others
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 143 for hw scaling
* [vo] Exporting mp_image_t, 384x288x12bpp YUV planar, 165888 bytes
Unicode font: 5103 glyphs.
Unicode font: 5103 glyphs.
audio stream has been synchronized using RTCP 55 24% 2% 5.6% 1 0
video stream has been synchronized using RTCP
A: 5.1 V: 5.1 A-V: 0.003 ct: 0.033 194/194 15% 1% 6.1% 4 0
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: ffmpeg
Uninit video: ffmpeg
Sending request: TEARDOWN rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/ RTSP/1.0
CSeq: 6
User-Agent: MPlayer (LIVE555 Streaming Media v2011.06.16)
Session: 709932539863614779

vo: uninit ...

Exiting... (Quit)

Without -fps it outputs the following (notice the line "demux_rtp: Failed to guess the video frame rate")

mplayer -v -ao pulse -vo xv -rtsp-stream-over-tcp rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
MPlayer SVN-r33733-4.5.2 (C) 2000-2011 MPlayer Team
CPU vendor name: AuthenticAMD max cpuid level: 5
CPU: AMD Athlon(tm) II Dual-Core M320 (Family: 16, Model: 6, Stepping: 2)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 CMOV
get_path('codecs.conf') -> '/home/kyle/.mplayer/codecs.conf'
Reading /home/kyle/.mplayer/codecs.conf: Can't open '/home/kyle/.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.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/kyle/.mplayer/fonts'
Configuration: --prefix=/usr --enable-gui --enable-menu --enable-rpath --enable-dynamic-plugins --disable-inet6 --with-vidix-drivers=radeon --enable-dhahelper --enable-bl --confdir=/etc/mplayer --enable-radio --enable-radio-capture --enable-xvmc
CommandLine: '-v' '-ao' 'pulse' '-vo' 'xv' '-rtsp-stream-over-tcp' 'rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp'
Using nanosleep() timing
get_path('input.conf') -> '/home/kyle/.mplayer/input.conf'
Can't open input config file /home/kyle/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 91 binds
Setting up LIRC support...
mplayer: could not open config files /home/kyle/.lircrc and /etc/lirc/lirc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.
get_path('slamtv.sdp.conf') -> '/home/kyle/.mplayer/slamtv.sdp.conf'

Playing rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp.
get_path('sub/') -> '/home/kyle/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Resolving stream05.qt.slamtv.true.nl for AF_INET...
Connecting to server stream05.qt.slamtv.true.nl[87.233.153.15]: 554...

SDP:
v=0
o=- 15085113838116832717 15085113838116832717 IN IP4 slamtv.nl
s=video
i=N/A
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 1.0.6
a=recvonly
a=type:broadcast
a=charset:UTF-8
a=control:*
a=control:*
m=audio 0 RTP/AVP 96
b=AS:128
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:96 mpeg4-generic/44100/2
a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1210; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
a=control:trackID=1
m=video 0 RTP/AVP 97
b=AS:700
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01AM5pyAwEtgIgAAAMACAAAAwGQeMGIkA==,aO+8gA==;
a=control:trackID=2

A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )'.
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
Filename for url is now rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
STREAM_LIVE555, URL: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
STREAM: [RTSP and SIP] rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp
STREAM: Description: standard RTSP and SIP
STREAM: Author: Ross Finlayson
STREAM: Comment: Uses LIVE555 Streaming Media library.
Stream not seekable!

file format detected.

Opening connection to 87.233.153.15, port 554...
...remote connection opened
Sending request: DESCRIBE rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp RTSP/1.0
CSeq: 2
User-Agent: MPlayer (LIVE555 Streaming Media v2011.06.16)
Accept: application/sdp

Received 1149 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 2
Cache-Control: no-cache
Content-length: 740
Date: Sun, 26 Jun 2011 20:00:12 GMT
Expires: Sun, 26 Jun 2011 20:00:12 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/

v=0
o=- 15085113838116832717 15085113838116832717 IN IP4 slamtv.nl
s=video
i=N/A
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 1.0.6
a=recvonly
a=type:broadcast
a=charset:UTF-8
a=control:*
a=control:*
m=audio 0 RTP/AVP 96
b=AS:128
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:96 mpeg4-generic/44100/2
a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1210; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
a=control:trackID=1
m=video 0 RTP/AVP 97
b=AS:700
a=3GPP-Adaptation-Support:1
a=3GPP-Adaptation-Support:1
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01AM5pyAwEtgIgAAAMACAAAAwGQeMGIkA==,aO+8gA==;
a=control:trackID=2

Initiated "audio/MPEG4-GENERIC" RTP subsession on port 50740
Increased audio socket receive buffer to 126976 bytes
Sending request: SETUP rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=1 RTSP/1.0
CSeq: 3
User-Agent: MPlayer (LIVE555 Streaming Media v2011.06.16)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

Received 311 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 3
Cache-Control: no-cache
Session: 3807198972606617356
Date: Sun, 26 Jun 2011 20:00:12 GMT
Expires: Sun, 26 Jun 2011 20:00:12 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=0-1

Initiated "video/H264" RTP subsession on port 35320
Increased video socket receive buffer to 2000000 bytes
Sending request: SETUP rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=2 RTSP/1.0
CSeq: 4
User-Agent: MPlayer (LIVE555 Streaming Media v2011.06.16)
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
Session: 3807198972606617356

Received a complete SETUP response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 4
Session: 3807198972606617356
Cache-Control: no-cache
Date: Sun, 26 Jun 2011 20:00:12 GMT
Expires: Sun, 26 Jun 2011 20:00:12 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=2-3

Sending request: PLAY rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/ RTSP/1.0
CSeq: 5
User-Agent: MPlayer (LIVE555 Streaming Media v2011.06.16)
Session: 3807198972606617356
Range: npt=0.000-

Received a complete PLAY response:
RTSP/1.0 200 OK
Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )
Cseq: 5
Session: 3807198972606617356
Range: npt=now-
RTP-Info: url=rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=1,url=rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/trackID=2

==> 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/kyle/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1366x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (ATI Radeon AVIVO Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 4096x4096
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[h264 @ 0xe32940]Unsupported bit depth: 0
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
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)
Unknown/missing audio format -> no sound
Uninit audio: ffmpeg
ADecoder init failed :(
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
dec_audio: Allocating 6144 bytes for input buffer.
dec_audio: Allocating 65536 + 65536 = 131072 bytes for output buffer.
FAAD: Decoder init done (0Bytes)!
FAAD: Negotiated samplerate: 44100Hz channels: 2
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying preferred audio driver 'pulse', options '[none]'
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: PulseAudio audio output
AO: Author: Lennart Poettering
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
A: 0.0 V: 0.0 A-V: 0.000 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0
EOF code: 1

Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: faad
FAAD: Closing decoder!
Uninit video: ffmpeg
Sending request: TEARDOWN rtsp://stream05.qt.slamtv.true.nl/slamtv.sdp/ RTSP/1.0
CSeq: 6
User-Agent: MPlayer (LIVE555 Streaming Media v2011.06.16)
Session: 3807198972606617356

vo: uninit ...

Exiting... (End of file)

comment:14 by reimar, 13 years ago

Resolution: fixed
Status: newclosed

There were _no_ changes _whatsoever_ that changed the MPlayer code in _any_ way between r31489 and r31493.
At some point live555 was changed so that if you receive a stream with both audio and video but try to read _only_ video first it will hang and either not receive any data at all or at most one video frame.
MPlayer SVN r33793 contains a hack to avoid that issue but IMO that neither was nor is a bug in _MPlayer_.

Note: See TracTickets for help on using tickets.