[MPlayer-users] RTMP streaming seems to be problematic...

Manuel Reimer Manuel.Spam at nurfuerspam.de
Fri Dec 9 17:39:54 CET 2011


Tom Evans wrote:
> You need to supply logs with verbose level:

See at end of mail.

It is the line
[rtmp @ 0x8bf59e0]Proto = rtmp, path = 
/vod/1316011807-6924a56f54048d0e28c28539368dfe57.mp4, app = vod, fname = 
mp4:1316011807-6924a56f54048d0e28c28539368dfe57.mp4

where the whole thing hangs nearly forever. Then things seem to continue and 
playback starts.

What's happening there?

If playback finally starts, then cache handling starts to suck. While playing 
there is no feedback about buffer status and while paused the buffer seems not 
to fill with new data.

I would expect to be able to pause playback to "pre-cache", so I'm able to play 
the video even on small bandwidth connections. This seems to be impossible with 
mplayer.

Yours

Manuel

-8<------------------------------------------------------------------------

MPlayer 20111124-4.4.4 (C) 2000-2011 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (Family: 15, Model: 107, 
Stepping: 2)
extended cpuid-level: 24
extended cache-info: 33587520
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: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/manuel/.mplayer/codecs.conf'
Reading optional codecs config file /home/manuel/.mplayer/codecs.conf: No such 
file or directory
Reading optional codecs config file /etc/mplayer/codecs.conf: No such file or 
directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/manuel/.mplayer/fonts'
Configuration: --prefix=/usr --mandir=/usr/man --confdir=/etc/mplayer 
--enable-gui --enable-menu --disable-arts --disable-smb --disable-vdpau 
--codecsdir=/usr/lib/codecs --language=en nl fr de es 
--enable-runtime-cpudetection --disable-libdvdcss-internal --disable-mp3lame 
--disable-mp3lame-lavc --disable-faac --disable-faac-lavc 
--disable-libopencore_amrnb --disable-libopencore_amrwb
CommandLine: '-v' 
'rtmp://85.239.122.162/vod/1316011807-6924a56f54048d0e28c28539368dfe57.mp4'
Using nanosleep() timing
get_path('input.conf') -> '/home/manuel/.mplayer/input.conf'
Reading optional input config file /home/manuel/.mplayer/input.conf: No such 
file or directory
Reading optional input config file /etc/mplayer/input.conf: No such file or 
directory
Falling back on default (hardcoded) input config
get_path('1316011807-6924a56f54048d0e28c28539368dfe57.mp4.conf') -> 
'/home/manuel/.mplayer/1316011807-6924a56f54048d0e28c28539368dfe57.mp4.conf'

Playing rtmp://85.239.122.162/vod/1316011807-6924a56f54048d0e28c28539368dfe57.mp4.
get_path('sub/') -> '/home/manuel/.mplayer/sub/'
[ffmpeg] Opening 
rtmp://85.239.122.162/vod/1316011807-6924a56f54048d0e28c28539368dfe57.mp4
Using network protocols without global network initialization. Please use 
avformat_network_init(), this will become mandatory later.
Using network protocols without global network initialization. Please use 
avformat_network_init(), this will become mandatory later.
[rtmp @ 0x8bf59e0]Handshaking...
[rtmp @ 0x8bf59e0]Server version 3.5.0.1
[rtmp @ 0x8bf59e0]Proto = rtmp, path = 
/vod/1316011807-6924a56f54048d0e28c28539368dfe57.mp4, app = vod, fname = 
mp4:1316011807-6924a56f54048d0e28c28539368dfe57.mp4
[rtmp @ 0x8bf59e0]Client bandwidth = 2500000
[rtmp @ 0x8bf59e0]Creating stream...
[rtmp @ 0x8bf59e0]Sending play command for 
'mp4:1316011807-6924a56f54048d0e28c28539368dfe57.mp4'
[rtmp @ 0x8bf59e0]New chunk size = 4096
STREAM: [ffmpeg] 
rtmp://85.239.122.162/vod/1316011807-6924a56f54048d0e28c28539368dfe57.mp4
STREAM: Description: FFmpeg
STREAM: Author:
STREAM: Comment:
LAVF_check: FLV format
libavformat file format detected.
[aac @ 0x8c72640]err{or,}_recognition separate: 1; 1
[aac @ 0x8c72640]err{or,}_recognition combined: 1; 65537
[aac @ 0x8c72640]Unsupported bit depth: 0
[h264 @ 0x8c72640]err{or,}_recognition separate: 1; 1
[h264 @ 0x8c72640]err{or,}_recognition combined: 1; 65537
[h264 @ 0x8c72640]Increasing reorder buffer to 1
[h264 @ 0x8c72640]no picture
[h264 @ 0x8c72640]no picture
[flv @ 0x8c02820]All info found
==> Found video stream: 0
======= VIDEO Format ======
   biSize 75
   biWidth 512
   biHeight 288
   biPlanes 0
   biBitCount 0
   biCompression 875967048='H264'
   biSizeImage 0
Unknown extra header dump: [1] [4d] [40] [15] [ff] [1] [0] [14] [27] [4d] [40] 
[15] [a9] [18] [10] [4] [b6] [0] [d4] [18] [4] [1a] [db] [a] [d7] [bd] [f0] [10] 
[1] [0] [4] [28] [de] [9] [c8]
===========================
[lavf] stream 0: video (h264), -vid 0
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 20557 (0x504D)
Channels: 2
Samplerate: 44100
avg byte/sec: 0
Block align: 1
bits/sample: 16
cbSize: 2
Unknown extra header dump: [12] [10]
==========================================================================
[lavf] stream 1: audio (aac), -aid 0
LAVF: 1 audio and 1 video streams found
LAVF: build 3478784
VIDEO:  [H264]  512x288  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:512x288  fps:25.000  ftime:=0.0400
Clip info:
  moovPosition: 23766261
  avcprofile: 77
  avclevel: 21
  aacaot: 2
  audiochannels: 2
  videoframerate: 25
get_path('sub/') -> '/home/manuel/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1600x1200 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] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (NV17 Video Texture)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[h264 @ 0x8c72640]err{or,}_recognition separate: 2; 1
[h264 @ 0x8c72640]err{or,}_recognition combined: 2; 196609
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 131072 = 323072 bytes for output buffer.
FFmpeg's libavcodec audio codec
[aac @ 0x8c72640]err{or,}_recognition separate: 1; 1
[aac @ 0x8c72640]err{or,}_recognition combined: 1; 65537
[aac @ 0x8c72640]Unsupported bit depth: 0
INFO: libavcodec "aac" init OK!
AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying every known audio driver...
ao2: 44100 Hz  2 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 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
Increasing filtered audio buffer size from 0 to 67584
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 512 x 288 (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 (512x288->512x288,flags=0,'MPlayer',0x32315659)
VO: [xv] 512x288 => 512x288 Planar YV12
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: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 310 for hw scaling
*** [vo] Exporting mp_image_t, 512x288x12bpp YUV planar, 221184 bytes
Unicode font: 5025 glyphs.
Unicode font: 5025 glyphs.
A:   0.2 V:   0.0 A-V:  0.180 ct:  0.000   0/  0 ??% ??% ??,?% 0 0



More information about the MPlayer-users mailing list