[MPlayer-users] Does mplayer support wowza server H264 streaming?
psboy
psboy.liu at gmail.com
Tue Oct 5 08:46:18 CEST 2010
I found if i change rtsp to rtmp,
then mplayer can playing wowza streaming (wowza server need some modify to
support rtmp).
But another issue occurred....
Mplayer normally playing for a while and freezing.
When movie freeze,console show a lot of "Cache not filling!" messages.
It freezed and i can just use ctrl+c to stop mplayer.
I google and found this similar issue as
http://www.pubbs.net/201005/mplayer/53530-mplayer-users-freeze-with-radio-streams.html
But i have no idea how to fix it....
Below is complete console messages
desktop:~/mplayer$ ./mplayer rtmp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4-v
-prefer-ipv4 -fps 25 -cache 1024 -cache-min 80
MPlayer SVN-r32440-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: 'rtmp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4'
'-v' '-prefer-ipv4' '-fps' '25' '-cache' '1024' '-cache-min' '80'
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 rtmp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4.
get_path('sub/') -> '/home/psboy/.mplayer/sub/'
[ffmpeg] Opening rtmp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4
STREAM: [ffmpeg] rtmp://
ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/bigbuckbunny_450.mp4
STREAM: Description: FFmpeg
STREAM: Author:
STREAM: Comment:
CACHE_PRE_INIT: 0 [0] 0 pre:838860 eof:0
Cache fill: 79.69% (835584 bytes)
LAVF_check: FLV format
libavformat file format detected.
[flv @ 0x9da6a60] Estimating duration from bitrate, this may be inaccurate
==> Found video stream: 0
======= VIDEO Format ======
biSize 66
biWidth 320
biHeight 180
biPlanes 0
biBitCount 0
biCompression 875967048='H264'
biSizeImage 0
Unknown extra header dump: [1] [4d] [40] [c] [ff] [e1] [0] [a] [67] [4d]
[40] [c] [96] [53] [2] [83] [2f] [3a] [1] [0] [5] [68] [e9] [23] [88] [0]
===========================
[lavf] stream 0: video (h264), -vid 0
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 20557 (0x504D)
Channels: 2
Samplerate: 48000
avg byte/sec: 0
Block align: 1
bits/sample: 16
cbSize: 80
Unknown extra header dump: [11] [90] [8] [c4] [0] [0] [20] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [1] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
==========================================================================
[lavf] stream 1: audio (aac), -aid 0
LAVF: 1 audio and 1 video streams found
LAVF: build 3428096
VIDEO: [H264] 320x180 0bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x34363248 size:320x180 fps:24.000 ftime:=0.0417
Clip info:
audiochannels: 2
audiosamplerate: 48000
videoframerate: 24
aacaot: 2
avclevel: 12
avcprofile: 77
audiocodecid: mp4a
videocodecid: avc1
width: 320
height: 180
moovposition: 35506721
duration: 596
get_path('sub/') -> '/home/psboy/.mplayer/sub/'
Cache not responding!
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
Cache not responding!
==========================================================================
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...
Increasing filtered audio buffer size from 0 to 65536
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 320 x 180 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x180->320x180,flags=4,'MPlayer',0x32315659)
VO: [xv] 320x180 => 320x180 Planar YV12 [zoom]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 57 for hw scaling
*** [vo] Exporting mp_image_t, 320x180x12bpp YUV planar, 86400 bytes
Fontconfig warning: no <cachedir> elements found. Check configuration.
Fontconfig warning: adding <cachedir>/var/cache/fontconfig</cachedir>
Fontconfig warning: adding <cachedir>~/.fontconfig</cachedir>
Unicode font: 255 glyphs.
Unicode font: 255 glyphs.
A: 0.1 V: 0.2 A-V: -0.016 ct: -0.006 6/ 6 ??% ??% ??,?% 2 0 77%
[h264 @ 0x8994d80]no picture
[h264 @ 0x8994d80]no picture
A: 21.5 V: 21.7 A-V: -0.179 ct: -0.681 526/526 5% 0% 0.9% 2 0 0%
Cache not filling!
Cache not filling!
Cache not filling!
A: 21.6 V: 24.0 A-V: -2.460 ct: -0.685 527/527 5% 0% 0.9% 3 0 0%
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
A: 21.6 V: 27.0 A-V: -5.416 ct: -0.689 528/528 5% 0% 0.9% 4 0 0%
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
A: 21.7 V: 30.0 A-V: -8.372 ct: -0.693 529/529 5% 0% 0.9% 5 0 0%
Cache not filling!
Cache not filling!
Cache not filling!
A: 21.8 V: 30.1 A-V: -8.364 ct: -0.701 532/532 5% 0% 0.9% 7 0 0%
[h264 @ 0x8994d80]concealing 180 DC, 180 AC, 180 MV errors
A: 22.0 V: 30.3 A-V: -8.344 ct: -0.721 539/539 5% 0% 0.9% 10 0 0%
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
A: 22.4 V: 30.7 A-V: -8.304 ct: -0.761 549/549 5% 0% 0.8% 10 0 0%
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
A: 22.9 V: 31.2 A-V: -8.256 ct: -0.809 561/561 5% 0% 0.8% 10 0 0%
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
A: 23.3 V: 31.6 A-V: -8.220 ct: -0.845 570/570 5% 0% 0.8% 10 0 0%
Cache not filling!
Cache not filling!
Cache not filling!
Cache not filling!
A: 23.4 V: 31.6 A-V: -8.212 ct: -0.853 572/572 5% 0% 0.8% 10 0 0%
Cache not filling!
Cache not filling!
Cache not filling!
A: 23.5 V: 33.0 A-V: -9.568 ct: -0.857 573/573 5% 0% 0.8% 10 0 0%
Cache not filling!
Cache not filling!
Cache not filling!
MPlayer interrupted by signal 2 in module: enable_cache
MPlayer interrupted by signal 2 in module: video_read_frame
ds_fill_buffer: EOF reached (stream: video)
A: 23.5 V: 33.0 A-V: -9.564 ct: -0.861 573/573 5% 0% 0.8% 10 0 0%
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: faad
FAAD: Closing decoder!
Uninit video: ffmpeg
Deleting stream...
Successfully enabled DPMS
alsa-uninit: pcm closed
vo: uninit ...
Exiting... (Quit)
More information about the MPlayer-users
mailing list