[MPlayer-users] -vo: x11 uninit called but X11 not inited..

hong liu l1436636 at yahoo.com
Tue Aug 28 02:07:58 CEST 2007


I have installed mplayer of new version on my laptop. It works well for playing local video files.
However when I used it to receive streaming video from a rtsp server, it failed. Then I added -v
and the output is shown as below:
----------------------------------------------------------
MPlayer dev-SVN-r24045-4.1.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  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/hong/.mplayer/codecs.conf'
Reading /home/hong/.mplayer/codecs.conf: Can't open '/home/hong/.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: --enable-gui --enable-largefiles --enable-menu --enable-debug --realcodecsdir=/usr/local/RealPlayer
CommandLine: 'rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov' '-v'
init_freetype
get_path('font/font.desc') -> '/home/hong/.mplayer/font/font.desc'
font: can't open file: /home/hong/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/hong/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/hong/.mplayer/input.conf'
Can't open input config file /home/hong/.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
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('ColinByrne_140207.mov.conf') -> '/home/hong/.mplayer/ColinByrne_140207.mov.conf'

Playing rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov.
get_path('sub/') -> '/home/hong/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov
Filename for url is now rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov
Filename for url is now rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov
Resolving mp4.radiolynx.co.uk for AF_INET6...
Couldn't resolve name for AF_INET6: mp4.radiolynx.co.uk
Resolving mp4.radiolynx.co.uk for AF_INET...
Connecting to server mp4.radiolynx.co.uk[88.208.204.117]: 554...
SDP:
v=0
o=StreamingServer 3397248080 1171464248000 IN IP4 88.208.204.117
s=\ColinByrne_140207.mov
u=http:///
e=admin@
c=IN IP4 0.0.0.0
b=AS:451
t=0 0
a=control:*
a=maxprate:40.000000
a=range:npt=0- 172.12000
m=audio 0 RTP/AVP 96
b=AS:190
b=TIAS:186
a=maxprate:16
a=rtpmap:96 X-QT/44100/1
a=control:trackID=4
m=video 0 RTP/AVP 97
b=AS:265
b=TIAS:256
a=maxprate:40
a=rtpmap:97 H264/90000
a=control:trackID=5
a=cliprect:0,0,240,320
a=framesize:97 320-240
a=fmtp:97 packetization-mode=1;profile-level-id=4D400D;sprop-parameter-sets=J01ADakYKD5gDUGAQa2wrXvfAQ==,KN4JiA==

A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'DSS/5.5.1 (Build/489.8; Platform/Win32; Release/Darwin; )'.
Filename for url is now rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov
Filename for url is now rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov
STREAM_LIVE555, URL: rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov
STREAM: [RTSP and SIP] rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.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://mp4.radiolynx.co.uk/ColinByrne_140207.mov RTSP/1.0
CSeq: 1
Accept: application/sdp
User-Agent: MPlayer (LIVE555 Streaming Media v2007.08.03)


Received DESCRIBE response: RTSP/1.0 200 OK
Server: DSS/5.5.1 (Build/489.8; Platform/Win32; Release/Darwin; )
Cseq: 1
Last-Modified: Wed, 14 Feb 2007 14:44:08 GMT
Cache-Control: must-revalidate
Content-length: 588
Date: Tue, 28 Aug 2007 00:01:28 GMT
Expires: Tue, 28 Aug 2007 00:01:28 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov/


Need to read 588 extra bytes
Read 588 extra bytes: v=0
o=StreamingServer 3397248080 1171464248000 IN IP4 88.208.204.117
s=\ColinByrne_140207.mov
u=http:///
e=admin@
c=IN IP4 0.0.0.0
b=AS:451
t=0 0
a=control:*
a=maxprate:40.000000
a=range:npt=0- 172.12000
m=audio 0 RTP/AVP 96
b=AS:190
b=TIAS:186
a=maxprate:16
a=rtpmap:96 X-QT/44100/1
a=control:trackID=4
m=video 0 RTP/AVP 97
b=AS:265
b=TIAS:256
a=maxprate:40
a=rtpmap:97 H264/90000
a=control:trackID=5
a=cliprect:0,0,240,320
a=framesize:97 320-240
a=fmtp:97 packetization-mode=1;profile-level-id=4D400D;sprop-parameter-sets=J01ADakYKD5gDUGAQa2wrXvfAQ==,KN4JiA==

Initiated "audio/X-QT" RTP subsession on port 32804
Increased audio socket receive buffer to 109568 bytes 
Sending request: SETUP rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov/trackID=4 RTSP/1.0
CSeq: 2
Transport: RTP/AVP;unicast;client_port=32804-32805
User-Agent: MPlayer (LIVE555 Streaming Media v2007.08.03)


Received SETUP response: RTSP/1.0 200 OK
Server: DSS/5.5.1 (Build/489.8; Platform/Win32; Release/Darwin; )
Cseq: 2
Last-Modified: Wed, 14 Feb 2007 14:44:08 GMT
Cache-Control: must-revalidate
Session: 47038481834890
Date: Tue, 28 Aug 2007 00:01:29 GMT
Expires: Tue, 28 Aug 2007 00:01:29 GMT
Transport: RTP/AVP;unicast;source=88.208.204.117;client_port=32804-32805;server_port=6970-6971;ssrc=000055B1


Initiated "video/H264" RTP subsession on port 32806
Increased video socket receive buffer to 2000000 bytes 
Sending request: SETUP rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov/trackID=5 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=32806-32807
Session: 47038481834890
User-Agent: MPlayer (LIVE555 Streaming Media v2007.08.03)


Received SETUP response: RTSP/1.0 200 OK
Server: DSS/5.5.1 (Build/489.8; Platform/Win32; Release/Darwin; )
Cseq: 3
Session: 47038481834890
Last-Modified: Wed, 14 Feb 2007 14:44:08 GMT
Cache-Control: must-revalidate
Date: Tue, 28 Aug 2007 00:01:28 GMT
Expires: Tue, 28 Aug 2007 00:01:28 GMT
Transport: RTP/AVP;unicast;source=88.208.204.117;client_port=32806-32807;server_port=6970-6971;ssrc=000061A8


Sending request: PLAY rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov/ RTSP/1.0
CSeq: 4
Session: 47038481834890
Range: npt=0.000-
User-Agent: MPlayer (LIVE555 Streaming Media v2007.08.03)


Received PLAY response: RTSP/1.0 200 OK
Server: DSS/5.5.1 (Build/489.8; Platform/Win32; Release/Darwin; )
Cseq: 4
Session: 47038481834890
Range: npt=0.00000-172.12000
RTP-Info: url=rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov/trackID=4;seq=30183;rtptime=20680,url=rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov/trackID=5;seq=18906;rtptime=8965


==> 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.00  ftime:=0.0000
FPS not specified in the header or invalid, use the -fps option.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 44100 Hz, 1 ch, s16le, 0.0 kbit/0.00% (ratio: 0->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Building audio filter chain for 44100Hz/1ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 44100Hz/1ch/s16le
[dummy] Was reinitialized: 44100Hz/1ch/s16le
ao2: 44100 Hz  1 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 1 channels (requested: 1)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:   8/8  (4096 bytes/frag)  free:  32768
AO: [oss] 44100Hz 1ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/1ch/s16le -> 44100Hz/1ch/s16le...
[dummy] Was reinitialized: 44100Hz/1ch/s16le
[dummy] Was reinitialized: 44100Hz/1ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
ds_fill_buffer: EOF reached (stream: audio)  
EOF code: 1  nown) of 172.1 (02:52.1) ??,?% 

Uninit audio filters...
[libaf] Removing filter dummy 
Uninit audio: pcm
Sending request: TEARDOWN rtsp://mp4.radiolynx.co.uk/ColinByrne_140207.mov/ RTSP/1.0
CSeq: 5
Session: 47038481834890
User-Agent: MPlayer (LIVE555 Streaming Media v2007.08.03)


Received TEARDOWN response: RTSP/1.0 200 OK
Server: DSS/5.5.1 (Build/489.8; Platform/Win32; Release/Darwin; )
Cseq: 5
Session: 47038481834890
Connection: Close


vo: x11 uninit called but X11 not inited..

Exiting... (End of file)
--------------------------------------------------------------------------

From the output, it has already detected the audio and video formats and connected to the server. 
I don't understand what it is means by "vo:x11 uninit called but X11 not inited". But it worked for
playing local video files. 

Thank you for your help!



       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 


More information about the MPlayer-users mailing list