Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
#1 | Link |
|
Registered User
Join Date: Apr 2004
Posts: 1,025
|
Perfomance of ffdshow and divx decoders.
Tested video:
http://trailers.divx.com/Dreamworks/SharkTale_HD.zip Tested versions: ffdshow 2079 clsid (no pp) divx 6.8.4 (no pp, no logo) System: Windows XP SP3. CPU E2160 (2x1.8Ghz) Results: NULL: Code:
ffdshow User: 20s, kernel: 0s, total: 20s, real: 20s, fps: 166.6, dfps: 166.4 divx User: 11s, kernel: 0s, total: 11s, real: 23s, fps: 293.1, dfps: 139.6 VMR9: Code:
ffdshow User: 22s, kernel: 0s, total: 22s, real: 38s, fps: 147.5, dfps: 87.9 divx 6.8.4 User: 8s, kernel: 0s, total: 9s, real: 44s, fps: 358.9, dfps: 74.9 divx uses 2 cores (approx. 80% load) Last edited by IgorC; 16th August 2008 at 21:02. |
|
|
|
|
|
#2 | Link |
|
x264 developer
Join Date: Sep 2005
Location: Claremont, CA
Posts: 6,895
|
Its completely meaningless to do a benchmark between two different levels of threading; all it says is that "multithreading is faster than single threaded decoding," which everyone knows is obvious.
A more useful comparison would be to either do: 1. A singlethreaded-only comparison or 2. A comparison of ffmpeg-mt and divx, both multithreaded |
|
|
|
|
|
#7 | Link |
|
Registered User
Join Date: Aug 2007
Posts: 170
|
Tested video: same SharkTale sample.
Tested versions: ffdshow_rev2079_20080815_clsid (pp: off) DivX 6.8.4 (pp: off; film effect: off; logo: off) System: Windows XP SP3. CPU Athlon XP 1600+ (1.4Ghz) NULL Code:
ffdshow User: 39s, kernel: 0s, total: 39s, real: 42s, fps: 85.1, dfps: 79.2 DivX User: 52s, kernel: 0s, total: 52s, real: 56s, fps: 63.4, dfps: 58.9 Code:
ffdshow User: 36s, kernel: 0s, total: 36s, real: 49s, fps: 90.9, dfps: 67.6 DivX User: 54s, kernel: 0s, total: 55s, real: 72s, fps: 60.5, dfps: 46.0 |
|
|
|
|
|
#8 | Link |
|
Registered User
Join Date: Apr 2004
Posts: 1,025
|
So is it really important to have multithreading for ASP when actual cpus only use one core to decode 720p 1080p videos in real time?
Does it matter if there is mp3 decoder multithreaded for quad cores? Does it matter if there is AVC decoder for quad cores when 2 cores are more than enough to decode high bitrate dual layer Blu-ray streams? With all respect to Divx I see no usefullness around support of multithreading (2 cores) for ASP and (4 cores) for H.264 decoding. 1 core is enough to decode ASP and 2 are for H.264. |
|
|
|
|
|
#9 | Link |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 10,818
|
why not? try playing uber high res encodes...
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
|
#10 | Link |
|
Registered User
Join Date: Dec 2007
Posts: 489
|
Still with ffdshow on Intel video "cards" I can't play many DX50 (encoder XviD build 37) files on Vista=EVR output (just a black screen & sound) but with DivX I can play the same files without no problem look here http://forum.doom9.org/showthread.ph...99#post1171099 ! Why ?
![]() The problem it's only with ffdshow + Intel video "cards" & EVR output ! if I use VMR output or other video card ffdshow has no problem
__________________
Windows 7 x64, EVR CP Default Settings, Catalyst 9.11, HD4670, SAMSUNG LE32A656 HDMI, Realtek ALC889A, E8400, 4GB DDR2 Last edited by Mercury_22; 18th August 2008 at 09:17. |
|
|
|
|
|
#12 | Link | |
|
Registered User
Join Date: Dec 2007
Posts: 489
|
Quote:
![]() Thanks ! Disabling YV12 in ffdshow output settings solved the "problem" Do you know how to do the same thing in MPC-HC (if I use internal filters) ?
__________________
Windows 7 x64, EVR CP Default Settings, Catalyst 9.11, HD4670, SAMSUNG LE32A656 HDMI, Realtek ALC889A, E8400, 4GB DDR2 |
|
|
|
|
|
|
#14 | Link |
|
Registered User
Join Date: Feb 2005
Posts: 2,722
|
The DivX decoder perhaps outputs YUY2 by default.
The internal decoder of MPC-HC has no option to configure the output colorspace. Disabling YV12 is just a workaround. The real source of the problem are buggy drivers. |
|
|
|
|
|
#16 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 2,698
|
VLC and Mplayer are generaly less CPU intensive because of their close relationship with the parser/splitter/decoder/renderer (no dshow and windows overhead like reading extensions in registry, searching correct filter, creating a graph and initializing sync over dshow, optimal parseing/decoding workflow ect) result = reduced start time and alot less CPU stress @ playback ah and no dshow hell problems, for people without Hardware Accelleration capabilities there is no other choice then VLC or Mplayer except maybe CorePlayer and Betaplayer
__________________
all my compares are riddles so please try to decipher them yourselves :) current Main XviD PSNRLab version 1.1 current XviD PSNRLab update 1.1.3 MT1389xx Player Infos XviD EDP Build CVS (CruNchers Visual System ©) V 1.4 new with predefined profiles ;) Code:
Olivera: "We're expendable assets"
"and we've just been expended"
Last edited by CruNcher; 18th August 2008 at 02:07. |
|
|
|
|
|
#17 | Link | |
|
Registered User
Join Date: Dec 2007
Posts: 489
|
Quote:
__________________
Windows 7 x64, EVR CP Default Settings, Catalyst 9.11, HD4670, SAMSUNG LE32A656 HDMI, Realtek ALC889A, E8400, 4GB DDR2 |
|
|
|
|
|
|
#18 | Link |
|
Registered User
Join Date: Feb 2005
Posts: 2,722
|
I don't think that ffdshow forces YV12 output. If the renderer accepts YV12 input, then it will get YV12 input. The fact that your drivers are buggy is not ffdshow's fault. Note that I am certainly not an expert with regard to ffdshow's code. I have read and understood maybe 1% of it.
|
|
|
|
|
|
#19 | Link |
|
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 1,567
|
i wonder, how does the xvid decoder compare?
It's not only about speed of decoding but also about image quality (does the same frame look the same on all decoders?) And the handeling of errors and broken files. |
|
|
|
|
|
#20 | Link |
|
Registered User
Join Date: Apr 2004
Posts: 1,025
|
Afaik Xvid and ffdshow produce the same output without pp as it indicates exactly the same SSIM result http://forum.doom9.org/showthread.php?t=119262
Don't know about other decoders. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|