[MPlayer-users] rtsp streaming broken in Pre3? Pre2 appears more stable

HaJo Schatz hajo at hajo.net
Sat Jan 10 09:16:58 CET 2004


Hi List,

Just tried to install pre3 on a fedora1 dual Athlon machine and had
quite some trouble with rtsp streaming support. Here's what happens:

$ mplayer rtsp://213.200.64.230/encoder/swr3/livestream.rm
[...]
Playing rtsp://213.200.64.230/encoder/swr3/livestream.rm.
Connecting to server 213.200.64.230[213.200.64.230]:554 ...
librtsp: server responds: 'RTSP/1.0 404 Not Found'

Others seem to have different issues:
$ mplayer rtsp://62.153.249.11:554/live/dwelle/dwelle-video-dsl.rm
[...]
Playing rtsp://62.153.249.11:554/live/dwelle/dwelle-video-dsl.rm.
Connecting to server 62.153.249.11[62.153.249.11]:554 ...
Connect error : Connection refused
Unable to open URL:
rtsp://62.153.249.11:554/live/dwelle/dwelle-video-dsl.rm
Option stream url: This URL doesn't have a port part.
Option stream url: This URL doesn't have a hostname part.
File not found: 'live/dwelle/dwelle-video-dsl.rm'
Failed to open rtsp://62.153.249.11:554/live/dwelle/dwelle-video-dsl.rm



I then removed the whole ./libmpdemux/realrtsp/* and took this dir from
the pre2 release instead. After a fresh build, the links above work OK:
$ mplayer rtsp://213.200.64.230/encoder/swr3/livestream.rm
[...]
Playing rtsp://213.200.64.230/encoder/swr3/livestream.rm.
Connecting to server 213.200.64.230[213.200.64.230]:554 ...
Cache size set to 640 KBytes
Connected to server: 213.200.64.230
Cache fill: 18.75% (122880 bytes)    REAL file format detected.
skip_str: 12 bytes skipped
skip_str: 35 bytes skipped
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 44100
Block align: 640
bits/sample: 16
cbSize: 26
Unknown extra header dump: [80] [0] [10] [0] [17] [0] [80] [2] [10] [0]
[1] [0] [0] [3] [8] [0] [0] [25] [0] [0] [0] [0] [0] [2] [0] [4]
===========================
demux_real: invalid chunksize! (0)
Clip info:
 name: www.swr3.de SWR3 Live
 author: SWR3
 copyright: Copyright (c)2002
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/lib/codecs/cook.so.6.0'
Audio codec: [23] 44 Kbps Stereo Music High - RA8
Audio bitrate: 44.100 kbit/s (5513 bps)
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 5513->176400 (44.1 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
Video: no video
Starting playback...




And the other:
$mplayer rtsp://62.153.249.11:554/live/dwelle/dwelle-video-dsl.rm
[...]
Playing rtsp://62.153.249.11:554/live/dwelle/dwelle-video-dsl.rm.
Connecting to server 62.153.249.11[62.153.249.11]:554 ...
librtsp: server responds: 'REDIRECT
rtsp://62.153.249.11:554//live/dwelle/dwelle-video-dsl.rm RTSP/1.0'
rtsp_session: redirected to
rtsp://193.159.245.25:554/farm/*/encoder/dwelle/dwelle-video-dsl.rm
Connecting to server 193.159.245.25[193.159.245.25]:554 ...
Cache size set to 640 KBytes
Connected to server: 62.153.249.11
Cache fill: 13.75% (90112 bytes)    REAL file format detected.
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 44100
avg byte/sec: 32041
Block align: 651
bits/sample: 16
cbSize: 18
Unknown extra header dump: [5d] [0] [e] [0] [4] [0] [8b] [2] [8] [0] [1]
[0] [0] [1] [4] [0] [0] [25]
===========================
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
demux_real: invalid chunksize! (0)
VIDEO:  RV30 [30202002,010A9030]  320x240  (aspect 0.00)  15.00 fps
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/lib/codecs/cook.so.6.0'
Audio codec: [4] 32 Kbps Music
Audio bitrate: 32.041 kbit/s (4005 bps)
AUDIO: 44100 Hz, 1 ch, 16 bit (0x10), ratio: 4005->88200 (32.0 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
vo: X11 running at 1600x1200 with depth 16 and 16 bpp (":0.0" => local
display)
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
opening shared obj '/usr/lib/codecs/drv3.so.6.0'
Selected video codec: [rv30] vfm:realvid (Linux RealPlayer 8 RV30
decoder)
==========================================================================
Checking audio filter chain for 44100Hz/1ch/16bit ->
44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 1 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 1ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/1ch/16bit ->
44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 320 x 240 (preferred csp: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [x11] 320x240 => 320x240 Planar I420
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
Cannot seek in this file.: -1.814 ct: -0.027    5/  5   0%  0%  0.0% 0 0
4%%

I solved my problem that way, but maybe you guys want to look into it
along the road to 1.0-stable.

/HaJo




More information about the MPlayer-users mailing list