[vlc-devel] issue on live555 testProg

ZhengWen ZHU ahuazhu at gmail.com
Thu Nov 17 09:07:15 CET 2011


Hello, friends

I am meeting a difficult with live555 testProg/testH264VideoStreamer.  when
i copy a test.264 file to the testProg folder and start the
./testH264VideoStreamer demo, I can play the rtsp stream on the same PC
using  *mplayer rtsp://127.0.0.1:8554/testStream* and  *mplayer rtsp://
114.212.84.248:8554/testStream* (114.212.83.117 is the real IP of the
host), but when  I try on an other host , which in the same sub-net of the
server, using *mplayer rtsp://114.212.84.248:8554/testStream* it doesn't
work ( I will paste the output below).

My platform is :  Both Ubuntu 10.04 i386 on server and client. live555
latest version, and have turn off firewall both on server and client.

The mplayer output:




ahuazhu at azhu:~/live/testProgs$ sudo mplayer -v rtsp://
114.212.84.248:8554/testStream
[sudo] password for ahuazhu:
MPlayer 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 13
CPU: Intel(R) Core(TM)2 Quad CPU    Q9400  @ 2.66GHz (Family: 6, Model: 23,
Stepping: 10)
extended cpuid-level: 8
extended cache-info: 201351232
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/ahuazhu/.mplayer/codecs.conf'
Reading /home/ahuazhu/.mplayer/codecs.conf: Can't open
'/home/ahuazhu/.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.
Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-xvmc
--enable-menu --disable-arts --enable-largefiles --language=all
--disable-libdvdcss-internal --disable-dvdread-internal
--disable-libavutil_a --disable-libavcodec_a --disable-libavformat_a
--disable-libpostproc_a --disable-libswscale_a --enable-joystick
--target=i586-linux --enable-runtime-cpudetection --enable-debug
--enable-mga --enable-3dfx --enable-tdfxfb --disable-gui
CommandLine: '-v' 'rtsp://114.212.84.248:8554/testStream'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/ahuazhu/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/ahuazhu/.mplayer/input.conf'
Can't open input config file /home/ahuazhu/.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('testStream.conf') -> '/home/ahuazhu/.mplayer/testStream.conf'

Playing rtsp://114.212.84.248:8554/testStream.
get_path('sub/') -> '/home/ahuazhu/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://114.212.84.248:8554/testStream
Filename for url is now rtsp://114.212.84.248:8554/testStream
Filename for url is now rtsp://114.212.84.248:8554/testStream
Resolving 114.212.84.248 for AF_INET6...
Couldn't resolve name for AF_INET6: 114.212.84.248
Connecting to server 114.212.84.248[114.212.84.248]: 8554...
librtsp: server responds: 'RTSP/1.0 400 Bad Request'
Filename for url is now rtsp://114.212.84.248:8554/testStream
Filename for url is now rtsp://114.212.84.248:8554/testStream
STREAM_LIVE555, URL: rtsp://114.212.84.248:8554/testStream
STREAM: [RTSP and SIP] rtsp://114.212.84.248:8554/testStream
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 114.212.84.248, port 8554...
...remote connection opened
Sending request: DESCRIBE rtsp://114.212.84.248:8554/testStream RTSP/1.0
CSeq: 2
User-Agent: MPlayer (LIVE555 Streaming Media v2010.11.17)
Accept: application/sdp


Received 768 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 2
Date: Thu, Nov 17 2011 08:05:03 GMT
Content-Base: rtsp://114.212.84.248:8554/testStream/
Content-Type: application/sdp
Content-Length: 597

v=0
o=- 1321515656372155 1 IN IP4 114.212.84.248
s=Session streamed by "testH264VideoStreamer"
i=test.264
t=0 0
a=tool:LIVE555 Streaming Media v2011.10.18
a=type:broadcast
a=control:*
a=source-filter: incl IN IP4 * 114.212.84.248
a=rtcp-unicast: reflection
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "testH264VideoStreamer"
a=x-qt-text-inf:test.264
m=video 18888 RTP/AVP 96
c=IN IP4 232.215.102.158/255
b=AS:500
a=rtpmap:96 H264/90000
a=fmtp:96
packetization-mode=1;profile-level-id=42C00C;sprop-parameter-sets=Z0LADNkBYJaEAAADAAQAAAMAODxQqSA=,aMuDyyA=
a=control:track1

Initiated "video/H264" RTP subsession on port 18888
Increased video socket receive buffer to 2000000 bytes
Sending request: SETUP rtsp://114.212.84.248:8554/testStream/track1 RTSP/1.0
CSeq: 3
User-Agent: MPlayer (LIVE555 Streaming Media v2010.11.17)
Transport: RTP/AVP;multicast;client_port=18888-18889


Received 189 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 3
Date: Thu, Nov 17 2011 08:05:03 GMT
Transport:
RTP/AVP;multicast;destination=232.215.102.158;source=114.212.84.248;port=18888-18889;ttl=255
Session: 0E965FF1


Sending request: PLAY rtsp://114.212.84.248:8554/testStream/ RTSP/1.0
CSeq: 4
User-Agent: MPlayer (LIVE555 Streaming Media v2010.11.17)
Session: 0E965FF1
Range: npt=0.000-


Received 192 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 4
Date: Thu, Nov 17 2011 08:05:03 GMT
Range: npt=0.000-
Session: 0E965FF1
RTP-Info: url=rtsp://
114.212.84.248:8554/testStream/track1;seq=58587;rtptime=2919587676


==> 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/ahuazhu/.mplayer/sub/'
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo
5.
[VO_3DFX] Unable to open /dev/3dfx.
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 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
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object
file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[VO_XV] Using Xv Adapter #0 (Nouveau GeForce 8/9 Textured 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)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
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)
EOF code: 1    0 ??% ??% ??,?% 0 0

Uninit video: ffmpeg
Sending request: TEARDOWN rtsp://114.212.84.248:8554/testStream/ RTSP/1.0
CSeq: 5
User-Agent: MPlayer (LIVE555 Streaming Media v2010.11.17)
Session: 0E965FF1


Received 65 new bytes of response data.
Received a complete TEARDOWN response:
RTSP/1.0 200 OK
CSeq: 5
Date: Thu, Nov 17 2011 08:05:13 GMT


vo: uninit ...

Exiting... (End of file)





Thanks for your help in advance

regards ahuazhu
2011.11.17
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111117/ac5baee7/attachment.html>


More information about the vlc-devel mailing list