[MPlayer-users] pullup slowness
Robert Henney
robh at rut.org
Thu Feb 2 06:12:26 CET 2006
I had been noticing that my AMD-K7 550 was no longer able to play
smoothly some of my dvds with the pullup filter enabled, even dvds that
had played quite smoothly before. the mplayer binaries I was compiling
from the current cvs were too cpu intensive, while a 050201 mplayer
binary that I still had around had no issues.
some benchmarking between the current and 050201 binaries showed
negligible differences when not using the pullup filter, but major
differences when pullup was used. the current binary averaged 17%
slower.
so I investigated the cvs logs for changes to pullup.c and vf_pullup.c,
and noticed the cvs commit to disable direct rendering on Mar 20. That
probably accounts for some of the decrease in speed seen.
At that point I figured I could just copy pullup.c and vf_pullup.c from
the 050201 source over to my copy of the current one as a quick
solution, but strangely after compiling there is still an 8% speed
decrease (only when using the pullup filter) compared with the pure
050201 binary.
either I'm not getting all of the filter copied over, or a library or
something that the pullup filter builds against has gotten much slower
in the last year, or a change in how the filter is now compiled is not
as efficient (at least with the old filter source), or I'm missing
something else that may be obvious.
I have pulled from cvs a new 050201 source copy and recompiled just to
be certain I hadn't done anything special when I made the old binary.
it seems to behaive identically and is 17% faster than current cvs when
using pullup, and 8% faster than using the old pullup filter in the
current cvs when using pullup.
benchmarking tested (repeatedly) w/ "-frames 1000 -nosound -vf pullup -benchmark -vo null dvd://2"
-------------- next part --------------
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 1
model name : AMD-K7(tm) Processor
stepping : 2
cpu MHz : 548.942
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat mmx syscall mmxext 3dnowext 3dnow
bogomips : 1094.45
-------------- next part --------------
; 20050201 cvs (next line only indicated when it was retrieved)
MPlayer dev-CVS-060201-21:57-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon K7 (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Playing dvd://2.
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 21 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8200.0 kbps (1025.0 kbyte/s)
Opening video filter: [pullup]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [lavc]
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
Opening video filter: [expand]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 0
VO: [null] 720x480 => 720x540 Mpeg PES
V: 0.0 1/ 1 ??% ??% ??,?% 0 0
[...]
BENCHMARKs: VC: 7.951s VO: 33.972s A: 0.000s Sys: 3.978s = 45.900s
BENCHMARK%: VC: 17.3216% VO: 74.0122% A: 0.0000% Sys: 8.6662% = 100.0000%
Exiting... (End of file)
-------------- next part --------------
MPlayer dev-CVS-060124-11:36-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon K7 (Family: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Playing dvd://2.
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 21 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8200.0 kbps (1025.0 kbyte/s)
Opening video filter: [pullup]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [lavc]
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
Opening video filter: [expand]
Expand: -1 x -1, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
VO: [null] 720x480 => 720x540 Mpeg PES
V: 0.0 1/ 1 ??% ??% ??,?% 0 0
[...]
BENCHMARKs: VC: 8.612s VO: 41.795s A: 0.000s Sys: 4.186s = 54.593s
BENCHMARK%: VC: 15.7743% VO: 76.5579% A: 0.0000% Sys: 7.6678% = 100.0000%
Exiting... (End of file)
-------------- next part --------------
MPlayer dev-CVS-060201-21:02-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon K7 (Family: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Playing dvd://2.
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 21 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8200.0 kbps (1025.0 kbyte/s)
Opening video filter: [pullup]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Opening video filter: [lavc]
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
Opening video filter: [expand]
Expand: -1 x -1, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
VO: [null] 720x480 => 720x540 Mpeg PES
V: 0.0 1/ 1 ??% ??% ??,?% 0 0
[...]
BENCHMARKs: VC: 8.479s VO: 36.762s A: 0.000s Sys: 4.270s = 49.511s
BENCHMARK%: VC: 17.1247% VO: 74.2512% A: 0.0000% Sys: 8.6241% = 100.0000%
Exiting... (End of file)
More information about the MPlayer-users
mailing list