[MPlayer-users] Does mplayer support wowza server H264 streaming?
psboy
psboy.liu at gmail.com
Mon Oct 4 09:38:06 CEST 2010
Hi,
I use MPlayer SVN-r32437-4.3.3 with live555 v2010.09.25.
When i use mplayer playing wowza server streaming,
it just show EOF reached and quit mplayer.
Even i try -rtsp-stream-over-tcp still got the same result.(EOF reached and
quit)
If i use vlc play the same stream,vlc can play without any problem.
Does anyone have any idea?
Below is my console messages
desktop:~/mplayer$ ./mplayer rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4-v
MPlayer SVN-r32437-4.3.3 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (Family: 15, Model: 2, Stepping: 9)
extended cpuid-level: 4
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: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 CMOV
get_path('codecs.conf') -> '/home/psboy/.mplayer/codecs.conf'
Reading /home/psboy/.mplayer/codecs.conf: Can't open
'/home/psboy/.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: --yasm=
CommandLine: 'rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4'
'-v'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/psboy/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/psboy/.mplayer/input.conf'
Can't open input config file /home/psboy/.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('bigbuckbunny_450.mp4.conf') ->
'/home/psboy/.mplayer/bigbuckbunny_450.mp4.conf'
Playing rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4.
get_path('sub/') -> '/home/psboy/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4
Filename for url is now rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4
Filename for url is now rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4
Resolving ec2-184-72-239-149.compute-1.amazonaws.com for AF_INET6...
Couldn't resolve name for AF_INET6:
ec2-184-72-239-149.compute-1.amazonaws.com
Resolving ec2-184-72-239-149.compute-1.amazonaws.com for AF_INET...
Connecting to server
ec2-184-72-239-149.compute-1.amazonaws.com[184.72.239.149]:
1935...
SDP:
v=0
o=- 1298910338 1298910338 IN IP4 184.72.239.14
s=WowzaMediaServer
c=IN IP4 184.72.239.14
t=0 0
a=sdplang:en
a=range:npt=0- 596.458
a=control:*
m=audio 0 RTP/AVP 96
a=rtpmap:96 mpeg4-generic/48000/2
a=fmtp:96
profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=119008c400002000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
a=control:trackID=1
m=video 0 RTP/AVP 97
a=rtpmap:97 H264/90000
a=fmtp:97
packetization-mode=1;profile-level-id=4D400C;sprop-parameter-sets=Z01ADJZTAoMvOg==,aOkjiAA=
a=cliprect:0,0,180,320
a=framesize:97 320-180
a=control:trackID=2
A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'Wowza Media Server
2.1.2.04 build25716'.
Filename for url is now rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4
Filename for url is now rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4
STREAM_LIVE555, URL: rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4
STREAM: [RTSP and SIP] rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4
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 184.72.239.149, port 1935...
...remote connection opened
Sending request: DESCRIBE rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4RTSP/1.0
CSeq: 2
User-Agent: MPlayer (LIVE555 Streaming Media v2010.09.25)
Accept: application/sdp
Received 1039 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
Content-Base: rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4/
Date: Mon, 4 Oct 2010 03:29:37 EDT
Content-Length: 707
Session: 159417920;timeout=60
Expires: Mon, 4 Oct 2010 03:29:37 EDT
Cseq: 2
Content-Type: application/sdp
Server: Wowza Media Server 2.1.2.04 build25716
v=0
o=- 159417920 159417920 IN IP4 184.72.239.14
s=WowzaMediaServer
c=IN IP4 184.72.239.14
t=0 0
a=sdplang:en
a=range:npt=0- 596.458
a=control:*
m=audio 0 RTP/AVP 96
a=rtpmap:96 mpeg4-generic/48000/2
a=fmtp:96
profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=119008c400002000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
a=control:trackID=1
m=video 0 RTP/AVP 97
a=rtpmap:97 H264/90000
a=fmtp:97
packetization-mode=1;profile-level-id=4D400C;sprop-parameter-sets=Z01ADJZTAoMvOg==,aOkjiAA=
a=cliprect:0,0,180,320
a=framesize:97 320-180
a=control:trackID=2
Initiated "audio/MPEG4-GENERIC" RTP subsession on port 44408
Increased audio socket receive buffer to 112640 bytes
Sending request: SETUP rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4/trackID=1RTSP/1.0
CSeq: 3
User-Agent: MPlayer (LIVE555 Streaming Media v2010.09.25)
Transport: RTP/AVP;unicast;client_port=44408-44409
Received 277 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Date: Mon, 4 Oct 2010 03:29:38 EDT
Transport:
RTP/AVP;unicast;client_port=44408-44409;source=184.72.239.14;server_port=6974-6975
Session: 159417920;timeout=60
Expires: Mon, 4 Oct 2010 03:29:38 EDT
Cseq: 3
Server: Wowza Media Server 2.1.2.04 build25716
Initiated "video/H264" RTP subsession on port 59180
Increased video socket receive buffer to 2000000 bytes
Sending request: SETUP rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4/trackID=2RTSP/1.0
CSeq: 4
User-Agent: MPlayer (LIVE555 Streaming Media v2010.09.25)
Transport: RTP/AVP;unicast;client_port=59180-59181
Session: 159417920
Received 277 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Date: Mon, 4 Oct 2010 03:29:38 EDT
Transport:
RTP/AVP;unicast;client_port=59180-59181;source=184.72.239.14;server_port=6984-6985
Session: 159417920;timeout=60
Expires: Mon, 4 Oct 2010 03:29:38 EDT
Cseq: 4
Server: Wowza Media Server 2.1.2.04 build25716
Sending request: PLAY rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4/RTSP/1.0
CSeq: 5
User-Agent: MPlayer (LIVE555 Streaming Media v2010.09.25)
Session: 159417920
Range: npt=0.000-
Received 202 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
Range: npt=0.0-596.458
Session: 159417920;timeout=60
Cseq: 5
RTP-Info: url=trackID=1;seq=1;rtptime=0,url=trackID=2;seq=1;rtptime=0
Server: Wowza Media Server 2.1.2.04 build25716
==> 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/psboy/.mplayer/sub/'
X11 opening display: :0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":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
Disabling DPMS
DPMSDisable stat: 1
[VO_XV] Using Xv Adapter #0 (ATI Mach64 Back-end Overlay Scaler)
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x030201).
[xv common] Maximum source image dimensions: 720x2048
==========================================================================
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: [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: 48000Hz channels: 2
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Trying preferred audio driver 'alsa', options '[none]'
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.18
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: got buffersize=96000
alsa-init: got period size 1500
alsa: 48000 Hz/2 channels/4 bpf/96000 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under development
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/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://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4/RTSP/1.0
CSeq: 6
User-Agent: MPlayer (LIVE555 Streaming Media v2010.09.25)
Session: 159417920
Received 107 new bytes of response data.
Received a complete TEARDOWN response:
RTSP/1.0 200 OK
Session: 159417920;timeout=60
Cseq: 6
Server: Wowza Media Server 2.1.2.04 build25716
alsa-uninit: pcm closed
vo: uninit ...
Exiting... (End of file)
--
Greets
WS Liu
More information about the MPlayer-users
mailing list