[MPlayer-users] Reading rtsp stream problem
Renaud Dardenne
R.Dardenne at student.ulg.ac.be
Fri May 20 17:14:08 CEST 2005
Hi everybody,
I have a problem to try to read a rtsp stream.
I tried with tmplayer 1.0pre7 and with the daily snapshot.
I installed live.com and I tried to compile Mplayer with the
--enable-live option while configure but without success.
So, with a 'normal' mplayer, here is the output (I'm sure of the address):
"./mplayer -V http://192.168.2.106/mpeg4/video.sdp
<javascript:dl('http://192.168.2.106/mpeg4/video.sdp',1);>"
--------------------------------------------------------------------------------------
MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 5)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
CommandLine: '-V' 'http://192.168.2.106/mpeg4/video.sdp
<javascript:dl('http://192.168.2.106/mpeg4/video.sdp',1);>'
init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.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 Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.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('video.sdp.conf') -> '/root/.mplayer/video.sdp.conf'
Playing http://192.168.2.106/mpeg4/video.sdp
<javascript:dl('http://192.168.2.106/mpeg4/video.sdp',1);>.
Filename for url is now http://192.168.2.106/mpeg4/video.sdp
<javascript:dl('http://192.168.2.106/mpeg4/video.sdp',1);>
Filename for url is now http://192.168.2.106/mpeg4/video.sdp
<javascript:dl('http://192.168.2.106/mpeg4/video.sdp',1);>
Resolving 192.168.2.106 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.2.106
Connecting to server 192.168.2.106[192.168.2.106]:80 ...
--- HTTP DEBUG HEADER --- START ---
protocol: [HTTP/1.0]
http minor version: [0]
uri: [(null)]
method: [(null)]
status code: [200]
reason phrase: [OK]
body size: [563]
Fields:
0 - Date: Sat, 24 Jan 1970 09:05:38 GMT
1 - Server: Boa/0.94.13
2 - Connection: close
3 - Content-Length: 563
4 - Last-Modified: Sat, 24 Jan 1970 07:42:49 GMT
5 - Content-Type: text/plain
--- HTTP DEBUG HEADER --- END ---
Content-Type: [text/plain]
Content-Length: [563]
Cache size set to 320 KBytes
Connected to server: 192.168.2.106
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:563
Cache fill: 0.17% (563 bytes) Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename http://192.168.2.106/mpeg4/video.sdp
<javascript:dl('http://192.168.2.106/mpeg4/video.sdp',1);> ext: .sdp
Checking for MOV
Checking for VIVO
header block 1 size: 61
AVS: avs_check_file - attempting to open file
http://192.168.2.106/mpeg4/video.sdp
<javascript:dl('http://192.168.2.106/mpeg4/video.sdp',1);>
AVS: failed to load avs_create_script_environment()
AVS: Init failed
Checking for PVA
Checking for MPEG-TS...
COULDN'T READ ENOUGH DATA, EXITING TS_CHECK
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=30269 size=1866280216
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
Not MPEG System Stream format... (maybe Transport Stream?)
Checking for DV
ds_fill_buffer: EOF reached (stream: video)
LAVF_check: no clue about this gibberish!
vo: x11 uninit called but X11 not inited..
Exiting... (End of file)
--------------------------------------------------------------------------------------
The stream is an mpeg4 stream whose here is the content:
v=0
o=- 2014969016618 2014969016630 IN IP4 0.0.0.0
s=AXIS Media Presentation
e=NONE
b=RR:0
a=mpeg4-iod:
"data:application/mpeg4-iod;base64,AoCgAE8BAf///wOARwABQChkYXRhOmFwcGxpY2F
0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUUE9BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADLgACQCpkYXRhOm
FwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LACwD10EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAA
AAA"
m=video 31902 RTP/AVP 96
c=IN IP4 239.241.125.146/5
b=AS:8000
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=255;
config=000001B0F5000001B509000001000000012008D48D880325
14043C14440F;
a=mpeg4-esid:201
--------------------------------------------------------------------------------------
Does anyone have an idea?
Thank you.
More information about the MPlayer-users
mailing list