[MPlayer-users] Does mplayer support wowza server H264 streaming?

psboy psboy.liu at gmail.com
Tue Oct 5 04:34:04 CEST 2010


2010/10/4 Carl Eugen Hoyos <cehoyos at ag.or.at>

> psboy <psboy.liu <at> gmail.com> writes:
>
>
> I tried -fps from 1-35,
>
> How does the output look like for 25 (or 30)?
>

here is fps 25 result
desktop:~/mplayer$ ./mplayer rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_750.mp4-v
 -prefer-ipv4 -fps 25
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_750.mp4'
'-v' '-prefer-ipv4' '-fps' '25'
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_750.mp4.conf') ->
'/home/psboy/.mplayer/bigbuckbunny_750.mp4.conf'

Playing rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_750.mp4.
get_path('sub/') -> '/home/psboy/.mplayer/sub/'
STREAM_RTSP, URL: rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_750.mp4
Filename for url is now rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_750.mp4
Filename for url is now rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_750.mp4
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=- 175362577 175362577 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=4D4015;sprop-parameter-sets=Z01AFZZTA8EbdoA=,aOkjiAA=
a=cliprect:0,0,268,476
a=framesize:97 476-268
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_750.mp4
Filename for url is now rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_750.mp4
STREAM_LIVE555, URL: rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_750.mp4
STREAM: [RTSP and SIP] rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_750.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_750.mp4RTSP/1.0
CSeq: 2
User-Agent: MPlayer (LIVE555 Streaming Media v2010.09.25)
Accept: application/sdp


Received 1042 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_750.mp4/
Date: Mon, 4 Oct 2010 22:06:27 EDT
Content-Length: 709
Session: 2121310446;timeout=60
Expires: Mon, 4 Oct 2010 22:06:27 EDT
Cseq: 2
Content-Type: application/sdp
Server: Wowza Media Server 2.1.2.04 build25716

v=0
o=- 2121310446 2121310446 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=4D4015;sprop-parameter-sets=Z01AFZZTA8EbdoA=,aOkjiAA=
a=cliprect:0,0,268,476
a=framesize:97 476-268
a=control:trackID=2

Initiated "audio/MPEG4-GENERIC" RTP subsession on port 54364
Increased audio socket receive buffer to 112640 bytes
Sending request: SETUP rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_750.mp4/trackID=1RTSP/1.0
CSeq: 3
User-Agent: MPlayer (LIVE555 Streaming Media v2010.09.25)
Transport: RTP/AVP;unicast;client_port=54364-54365


Received 278 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Date: Mon, 4 Oct 2010 22:06:27 EDT
Transport:
RTP/AVP;unicast;client_port=54364-54365;source=184.72.239.14;server_port=7054-7055
Session: 2121310446;timeout=60
Expires: Mon, 4 Oct 2010 22:06:27 EDT
Cseq: 3
Server: Wowza Media Server 2.1.2.04 build25716


Initiated "video/H264" RTP subsession on port 52204
Increased video socket receive buffer to 2000000 bytes
Sending request: SETUP rtsp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_750.mp4/trackID=2RTSP/1.0
CSeq: 4
User-Agent: MPlayer (LIVE555 Streaming Media v2010.09.25)
Transport: RTP/AVP;unicast;client_port=52204-52205
Session: 2121310446


Received 278 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Date: Mon, 4 Oct 2010 22:06:28 EDT
Transport:
RTP/AVP;unicast;client_port=52204-52205;source=184.72.239.14;server_port=7052-7053
Session: 2121310446;timeout=60
Expires: Mon, 4 Oct 2010 22:06:28 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_750.mp4/RTSP/1.0
CSeq: 5
User-Agent: MPlayer (LIVE555 Streaming Media v2010.09.25)
Session: 2121310446
Range: npt=0.000-


Received 203 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
Range: npt=0.0-596.458
Session: 2121310446;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
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
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
[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
FPS forced to be 25.000  (ftime: 0.040).
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_750.mp4/RTSP/1.0
CSeq: 6
User-Agent: MPlayer (LIVE555 Streaming Media v2010.09.25)
Session: 2121310446


Received 108 new bytes of response data.
Received a complete TEARDOWN response:
RTSP/1.0 200 OK
Session: 2121310446;timeout=60
Cseq: 6
Server: Wowza Media Server 2.1.2.04 build25716


alsa-uninit: pcm closed
vo: uninit ...

Exiting... (End of file)

>
> Please do not top-post here, it is considered rude, Carl Eugen
>

I am sorry.
I don't know that will be rude.
Does this mail reply looks better than previous one?


> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>



-- 
Greets


WS Liu


More information about the MPlayer-users mailing list