[MPlayer-users] MPlayer playing video really fast

aeiiyoup aeiiyoup at gmail.com
Sun Feb 3 14:01:54 CET 2008


On Sun, 3 Feb 2008 11:18:22 pm aeiiyoup wrote:
> Hi,
>
> I've discovered a problem which I've had with MPlayer for a long time.
> Basically the video plays really fast to the end. I've tried the
> workarounds on
> http://web.njit.edu/all_topics/Prog_Lang_Docs/html/mplayer/documentation.ht
>ml#known_bugs. The bug I am experiencing isn't on there.
>
> The distribution I am using is Gentoo Linux. I've had the problem with
> MPlayer 1.0_rc1_p20070824, 1.0_rc2_p24929-r1, 1.0_rc2_p24929-r2 and
> 1.0_rc2_p24929-r3. (-r represents a gentoo patch either to the ebuild or a
> file.)
>
> I even tried the latest snapshot from the MPlayer SVN repo as of Sun Feb  3
> 05:52:25 UTC 2008. (Latest change was 2008-02-02T17:22:07.871112Z) and bug
> still occurs.
>
> I'm using kernel 2.6.24 gentoo-sources (it's a vanilla kernel basically
> with a few minor patches http://dev.gentoo.org/~dsd/genpatches )
>
> I have a Intel(R) Pentium(R) M processor 1.86GHz GenuineIntel GNU/Linux
> I'm using the latest stable version of glibc in portage, which is 2.6.1.
> Upstream latest stable version is 2.7 (havn't tried that) and binutils 2.18
> I'm using Xorg 7.3 and xorg-server 1.4.0.90.
>
> This is my default gcc information.
>
> # gcc -v
> Using built-in specs.
> Target: i686-pc-linux-gnu
> Configured
> with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure
> --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2
> --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include
> --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2
> --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man
> --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info
> --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4
> --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
> --enable-nls --without-included-gettext --with-system-zlib
> --disable-checking --disable-werror --enable-secureplt
> --disable-libunwind-exceptions --disable-multilib --enable-libmudflap
> --disable-libssp --disable-libgcj --with-arch=i686
> --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix
> --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix
> gcc version 4.1.2 (Gentoo 4.1.2 p1.0.1)
>
> I've got a Intel Corporation Mobile 915GM/GMS/910GML Express Graphics
> Controller in this machine and am using the
> x11-drivers/xf86-video-i810-2.2.1_pre20080125
> (http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-*.*
>.*.tar.gz) Also tried the stable versions. Ie 2.2.0.
>
> The videos that cause MPlayer this grief can be found at: (Note it's
> softcore pr0n).
>
> Length: 2,639,444 (2.5M) http://andi-pink.com/videos/ironingteaser.avi
> Length: 2,816,342 (2.7M) http://andi-pink.com/videos/milkteaser.avi
> Length: 2,823,600 (2.7M) http://andi-pink.com/videos/popcornteaser.avi
> Length: 2,679,662 (2.6M) http://andi-pink.com/videos/orangeteaser.avi
>
> Also I've tried codeine 1.0.1.3 which is a frontend to xine-lib. This plays
> the videos fine. Also VLC 0.8.6d does as well.
>
> If you have any other questions ask them here and I'll try as best as I can
> to respond.
>
> -Aeiiyoup

Here's a copy of the log from the SVN checkout above that I did.

MPlayer dev-SVN-r25950-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.86GHz (Family: 6, Model: 13, Stepping: 
8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/home/user/.mplayer/codecs.conf'
Reading /home/user/.mplayer/codecs.conf: Can't 
open '/home/user/.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: 
CommandLine: '-v' 'ironingteaser.avi'
init_freetype
get_path('font/font.desc') -> '/home/user/.mplayer/font/font.desc'
font: can't open file: /home/user/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/user/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/user/.mplayer/input.conf'
Can't open input config file /home/user/.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('ironingteaser.avi.conf') -> '/home/user/.mplayer/ironingteaser.avi.conf'

Playing ironingteaser.avi.
get_path('sub/') -> '/home/user/.mplayer/sub/'
[file] File size is 2639444 bytes
STREAM: [file] ironingteaser.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: avi format
AVI file format detected.
list_end=0xFC9C
======= AVI Header =======
us/frame: 80000  (fps=12.500)
max bytes/sec: 79983
padding: 1
MainAVIHeader.dwFlags: (2048) TRUST_CKTYPE
frames  total: 413   initial: 0
streams: 2
Suggested BufferSize: 22380
Size:  720 x 480
==========================
list_end=0x7DF4
==> Found video stream: 0
[aviheader] Video stream found, -vid 0
====== STREAM Header =====
Type: vids   FCC: DIVX (58564944)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 10000000/800000 = 12.500
Start: 0   Len: 413
Suggested BufferSize: 22380
Quality 0
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 720
  biHeight 480
  biPlanes 1
  biBitCount 24
  biCompression 808802372='DX50'
  biSizeImage 2073600
===========================
Regenerating keyframe table for MPEG-4 video.
====== AVI Super Index Header ========
  FCC (indx) dwSize (32024) wLongsPerEntry(4)
  bIndexSubType (0) bIndexType (0)
  nEntriesInUse (1) dwChunkId (00db)
  dwReserved[0] (0) dwReserved[1] (0) dwReserved[2] (0)
===========================
ODML (00db): [0] 0x000000000000fca8 0x7d20 413
list_end=0xFB90
==> Found audio stream: 1
[aviheader] Audio stream found, -aid 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 16000/1 = 16000.000
Start: 0   Len: 528384
Suggested BufferSize: 12008
Quality 0
Sample size: 1
==========================
Found 'wf', 40 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 22
mp3.wID=4
mp3.fdwFlags=0x3E80
mp3.nBlockSize=1
mp3.nFramesPerBlock=16
mp3.nCodecDelay=1
==========================================================================
====== AVI Super Index Header ========
  FCC (indx) dwSize (32024) wLongsPerEntry(4)
  bIndexSubType (0) bIndexType (0)
  nEntriesInUse (1) dwChunkId (01wb)
  dwReserved[0] (0) dwReserved[1] (0) dwReserved[2] (0)
===========================
ODML (01wb): [0] 0x00000000000179c8 0x7d20 528384
list_end=0xFC9C
AVI: dmlh found (size=248) (total_frames=413)
list_end=0x284654
Found movie at 0xFCA8 - 0x284654
AVI: ODML: Building ODML index (2 superindexchunks).
====== AVI Standard Index Header ========
  FCC (ix00) dwSize (32024) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (413) dwChunkId (00db)
  qwBaseOffset (0x225D0) dwReserved3 (0)
===========================
====== AVI Standard Index Header ========
  FCC (ix01) dwSize (32024) wLongsPerEntry(2)
  bIndexSubType (0) bIndexType (1)
  nEntriesInUse (405) dwChunkId (01wb)
  qwBaseOffset (0x1F6E8) dwReserved3 (0)
===========================
AVI index offset: 0x0 (movi=0xFCA8 idx0=0x1F6E8 idx1=0x225C8)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=55840 (5) audio size=528384 (528384)
VIDEO:  [DX50]  720x480  24bpp  12.500 fps  1116.8 kbps (136.3 kbyte/s)
[V] filefmt:3  fourcc:0x30355844  size:720x480  fps:12.50  ftime:=0.0800
get_path('sub/') -> '/home/user/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x768 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
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 1920x1088
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using SSE optimized decore!
MP3lib: init layer2&3 finished, tables done

MPEG 1.0, Layer III, 48000 Hz 128 kbit Stereo, BPF: 384
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
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
ao2: 48000 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 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
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...
Increasing filtered audio buffer size from 0 to 65536
[ffmpeg] aspect_ratio: 1.500000
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.50:1 - prescaling to correct movie aspect.
VO Config (720x480->720x480,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x480 => 720x480 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: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 82 for hw scaling
[xv] dx: 0 dy: 0 dw: 720 dh: 480
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar, 518400 
bytes
A:   0.2 V:   0.0 A-V:  0.182 ct:  0.000   1/  1 ??% ??% ??,?% 0 0  [J
XXX initial  v_pts=0.000  a_pos=12000 (0.750) 
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar, 518400 
bytes
get_path('subfont.ttf') -> '/home/user/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
get_path('subfont.ttf') -> '/home/user/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[xv] dx: 0 dy: 0 dw: 720 dh: 480
A:   0.2 V:   0.1 A-V:  0.162 ct:  0.003   2/  2 ??% ??% ??,?% 0 0  [J
A:   0.2 V:   0.2 A-V:  0.088 ct:  0.007   3/  3 ??% ??% ??,?% 0 0  [J
A:   0.3 V:   0.2 A-V:  0.028 ct:  0.009   4/  4 ??% ??% ??,?% 0 0  [J
A:   0.3 V:   0.3 A-V:  0.025 ct:  0.012   5/  5 ??% ??% ??,?% 0 0  [J
A:   0.4 V:   0.4 A-V:  0.022 ct:  0.014   6/  6 ??% ??% ??,?% 0 0  [J
A:   0.5 V:   0.5 A-V:  0.020 ct:  0.016   7/  7 ??% ??% ??,?% 0 0  [J
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar, 518400 
bytes
A:   0.6 V:   0.6 A-V:  0.018 ct:  0.018   8/  8 34%  3%  0.6% 0 0  [J
A:   0.7 V:   0.6 A-V:  0.016 ct:  0.019   9/  9 30%  2%  0.6% 0 0  [J
A:   0.7 V:   0.7 A-V:  0.015 ct:  0.021  10/ 10 27%  2%  0.6% 0 0  [J
A:   0.8 V:   0.8 A-V:  0.013 ct:  0.022  11/ 11 24%  2%  0.6% 0 0  [J
A:   0.9 V:   0.9 A-V:  0.012 ct:  0.023  12/ 12 22%  1%  0.6% 0 0  [J
A:   1.0 V:   1.0 A-V:  0.011 ct:  0.025  13/ 13 20%  1%  0.6% 0 0  [J
A:   1.0 V:   1.0 A-V:  0.010 ct:  0.026  14/ 14 19%  1%  0.5% 0 0  [J
ds_fill_buffer: EOF reached (stream: video)  
A:   1.1 V:   1.0 A-V:  0.010 ct:  0.026  14/ 14 19%  1%  0.6% 0 0  [J
EOF code: 1  

Uninit audio filters...
[libaf] Removing filter dummy 
Uninit audio: mp3lib
Uninit video: ffmpeg
vo: uninit ...

Exiting... (End of file)



More information about the MPlayer-users mailing list