[MPlayer-users] Slow next video

Klaus Stangl office at worldofmaya.com
Mon Aug 2 13:19:07 CEST 2010


 >Please don't break threads (and don't top post, it is considered rude),
 >Carl Eugen
Sorry for breaking the thread with my last post! I hope it's okay how I 
do it now!

I meanwhile installed MPlayer SVN-r31895-4.4.3 based on this guide:
http://ubuntuforums.org/showthread.php?p=9663442#post9663442
But I've the same problem with that version. Things I tried:
different graphics card (NVidia Geforce/Ion/Quadro, ATI 38xx & 4850)
different OS (Ubuntu Lucid, Mandriva 1 SpringED)
different PCs (Ion-based, AMD and Intel 4-Cores).
different video output driver like vdpau, xv...
I tried to compile mplayer by taking the tcsetattr(...)
out of /osdep/getch2.c and adding an additional output,
which doesn't improve the situation and just showed that it
happens after [[getch2 uninit]] output. There's no difference
between different kind of videos (mpeg/mpeg2/h264).

The delay happens between
[[[uninit getch2]]]
Config poped level=3

Here's a shorted mplayer output, the beginning of video 1 was created by 
using level 5, the interesting part is level 9:

MPlayer SVN-r31895-4.4.3 (C) 2000-2010 MPlayer Team

Playing 3D Masters 2010 Full Scale 22kg Helicopter 720p.mp4.
libavformat file format detected.
[lavf] stream 0: audio (aac), -aid 0, -alang und
[lavf] stream 1: video (h264), -vid 0
VIDEO:  [H264]  1280x720  24bpp  25.000 fps  2009.0 kbps (245.2 kbyte/s)
Clip info:
  major_brand: mp42
  minor_version: 0
  compatible_brands: isomavc1mp42
=================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
=================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 125.6 kbit/8.90% (ratio: 15698->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
=================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 H.264 VDPAU acceleration  [fs]
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
A:   4.1 V:   4.1 A-V:  0.000 ct:  0.023   0/  0 10%  6%  3.9% 11 0

......

FLIP_PAGE VID:11 -> OUT:7
A:   1.6 V:   1.6 A-V:  0.000 ct:  0.023   0/  0 25% 14%  8.1% 10 0
EOF code: -1


*** uninit(0xE4A)
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: faad
FAAD: Closing decoder!
Uninit video: ffmpeg
DEMUXER: freeing libavformat demuxer at 0x99e0be0
DEMUXER: freeing sh_audio at 0x9a0e758
DEMUXER: freeing sh_video at 0x9a0e828

[[[uninit getch2]]]

Config poped level=3
Config pushed level is now 4
get_path('Tareq Alsaadi rockt beim 3D masters in Venlo.mp4.conf') ->
'/home/administrator/.mplayer/Tareq Alsaadi rockt beim 3D masters in 
Venlo.mp4.conf'

[[[init getch2]]]

Playing Tareq Alsaadi rockt beim 3D masters in Venlo.mp4.
get_path('sub/') -> '/home/administrator/.mplayer/sub/'
[file] File size is 81750036 bytes
STREAM: [file] Tareq Alsaadi rockt beim 3D masters in Venlo.mp4
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: QuickTime/MPEG-4/Motion JPEG 2000 format
libavformat file format detected.
mp_seek(0x9b2cef0, 0, 65536)
..
mp_seek(0x9b2cef0, 0, 65536)
..
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x89acae0]All info found
mp_seek(0x9b2cef0, 0, 65536)
==> Found audio stream: 0
======= WAVE Format =======
Format Tag: 20557 (0x504D)
Channels: 2
Samplerate: 44100
avg byte/sec: 16064
Block align: 1
bits/sample: 16
cbSize: 2
Unknown extra header dump: [12] [10]
============================
[lavf] stream 0: audio (aac), -aid 0, -alang und
==> Found video stream: 1
aspect= 1280*1/(720*1)
======= VIDEO Format ======
   biSize 82
   biWidth 1280
   biHeight 720
   biPlanes 0
   biBitCount 24
   biCompression 875967048='H264'
   biSizeImage 2764800
Unknown extra header dump: [1] [64] [0] ... [b0]
===========================
[lavf] stream 1: video (h264), -vid 0
LAVF: 1 audio and 1 video streams found
LAVF: build 3427840
VIDEO:  [H264]  1280x720  24bpp  30.000 fps  2001.3 kbps (244.3 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:1280x720  fps:30.000  ftime:=0.0333
Clip info:
  major_brand: mp42
  minor_version: 0
  compatible_brands: isomavc1mp42
get_path('sub/') -> '/home/administrator/.mplayer/sub/'
demux_lavf_fill_buffer()
...
demux_lavf_fill_buffer()
=========================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
=========================
=========================
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: codecdata extracted from WAVEFORMATEX
FAAD: Decoder init done (0Bytes)!
FAAD: Negotiated samplerate: 44100Hz  channels: 2
FAAD: got 128kbit/s bitrate from MP4 header!
AUDIO: 44100 Hz, 2 ch, s16le, 128.5 kbit/9.11% (ratio: 16064->176400)
Selected audio codec: [faad] afm: faad (FAAD 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:  32/32  (16384 bytes/frag)  free: 524288
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...
FAAD: Decoded zero samples!
FAAD: Successfully decoded frame (4096 Bytes)!
....
FAAD: Successfully decoded frame (4096 Bytes)!
Increasing filtered audio buffer size from 0 to 65536
vd_ffmpeg data: cc310100, 80808865, 3efaff0d, 8f7b6c00
[VD_FFMPEG] Trying pixfmt=0.
[ffmpeg] aspect_ratio: 1.777778
VDec: vo config request - 1280 x 720 (preferred colorspace: H.264 VDPAU
acceleration)
Trying filter chain: vo
[vdpau] Creating H264 hardware decoder for 2 reference frames.
vo_debug: query(H.264 VDPAU acceleration) returned 0x60B7 (i=0)
VDec: using H.264 VDPAU acceleration as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (1280x720->1280x720,flags=1,'MPlayer',0x1DC80003)
VO: [vdpau] 1280x720 => 1280x720 H.264 VDPAU acceleration  [fs]
VO: Description: VDPAU with X11
VO: Author: Rajib Mahapatra <rmahapatra at nvidia.com> and others
[vdpau] Creating H264 hardware decoder for 2 reference frames.
[vdpau] Creating H264 hardware decoder for 2 reference frames.
[vdpau] Updating CSC matrix for BT.601


More information about the MPlayer-users mailing list