View Full Version : EVR support in KMP
scratchy
05-03-2008, 07:08 AM
hey guys,
OK Haali's Renderer is smooooooooooth...but EVR does "unsharp masking" and it's got that amazing 3D look that makes everything jump off the screen :eek:
of course it doesn't work (too) well in KMP with ATi cards :confused: :o
EVR C/A in YV12/YUY2 on XP SP2 didn't work for me in the past....it was freezing all the time :(
I'm trying it in RGB32 with the latest beta(not from kyh) in high+superspeed mode.
does it work fine in regular EVR(not C/A) on Vista ?
I love KMP, all it needs is working EVR support and a fix for the PS2.0 video scaler resize with ATi cards(it's making ghost lines atm).
it's been fixed in MPC HC by changing a PS sum from 1.0 to 0.98
anyhow, please comment if you got EVR working fine, and not freezing randomly :confused:
scratchy
05-03-2008, 09:01 AM
OK so EVR C/A seems to work just fine on XP SP2...........just watched a complete movie w/o any freezing
I'm in RGB32HQ from ffdshow and High Speed+SuperSpeed mode....I guess that's the Video Transform Filter that was freezing with EVR :eek:
and I can use PS scripts, that's just perfect......I love the deinterlacing script because it doesn't blur(blending in ffdshow does) and the unsharp masking script looks very good too :)
[Primary Filtergraph]
0) - KMP MOV/MP4 Source
1) - MPC - MPA Decoder Filter
2) - ffdshow Video Decoder
3) - ffdshow Audio Decoder
4) - Enhanced Video Renderer(C/A)
5) - ReClock Audio Renderer
[Video Info]
Decoder - (MPEG2) ffdshow Video Decoder
Format - Major Type: Video - Sub Type: RGB32
VideoInfo2: RGB 1280X-768, 32 bits
[Audio Info]
Decoder - (0xFF) MPC - MPA Decoder Filter
Format - Major Type: Audio - Sub Type: PCM
WaveFormatEx: ExtPCM(0xFFFE), 48000 Hz, 24 Bits, 2 Ch
[Basic Video DSP]
+All Video DSPs are disabled!
Internal brightness: 100%
[Advanced Video DSP]
+All Video DSPs are disabled!
[Audio DSP]
+All Audio DSPs are disabled!
+Pre amplification: Main: (100%)
[Subtitle Settings]
+Draw Mode(Selected): VMR
+Draw Mode(In use): On Overlay
+Text Rendering Method: Rasterizer
+Support HTML Tags(SMI)
[KMPlayer]
+Version: 2.9.3.1430(1,899,520, 3/4/2008 5:36:48 PM)
+libcodec.dll: Exist(4,459,520, 2/25/2008 3:06:28 PM)
+libmplay.dll: Exist(438,784, 2/25/2008 3:06:30 PM)
+PProcDLL.dll: Exist(1,769,472, 2/25/2008 3:07:04 PM)
+LibDTS.dll: Exist(144,384, 2/25/2008 3:06:30 PM)
+liba52.dll: Exist(56,320, 2/25/2008 3:06:28 PM)
+libfaad2.dll: Exist(212,480, 2/25/2008 3:06:30 PM)
+libmad.dll: Exist(92,672, 2/25/2008 3:06:30 PM)
+libmpeg2.dll: Exist(126,464, 2/25/2008 3:06:30 PM)
+theora.dll: Exist(196,608, 2/25/2008 3:07:48 PM)
+OggVorbis.dll: Exist(1,165,312, 2/25/2008 3:07:02 PM)
+xviddll.dll: Exist(655,872, 2/25/2008 3:08:16 PM)
+Old_QUARTZ.DLL: Exist(770,048, 2/25/2008 3:07:02 PM)
+AboutDll.dll: Exist(105,472, 2/25/2008 3:03:38 PM)
+DTView.dll: Exist(104,448, 2/25/2008 3:04:36 PM)
+MPlayer.dll: Missed
+ImLoader.dll: Exist(856,064, 2/25/2008 3:05:22 PM)
--------------------
[File Info]
--------------------
General
Complete name : Mongol.mov
Format : QuickTime
Format/Info : Quictime movie
Format/Family : MPEG-4
File size : 118 MiB
PlayTime : 2mn 20s
Bit rate : 7032 Kbps
StreamSize : 111 KiB
Movie name : "Mongol" Trailer #2
Performer : Yahoo! Movies
Encoded date : UTC 2008-03-20 02:15:18
Tagged date : UTC 2008-03-20 02:15:22
Copyright : © 2008, Picturehouse.
Video #2
Codec : H.264
Codec/Info : H.264 (3GPP)
PlayTime : 2mn 20s
Bit rate : 6833 Kbps
Width : 1280 pixels
Height : 544 pixels
Display Aspect ratio : 2.35
Frame rate : 23.976 fps
Minimum frame rate : 23.952 fps
Maximum frame rate : 24.169 fps
Bits/(Pixel*Frame) : 0.401
StreamSize : 114 MiB
Encoded date : UTC 2008-03-20 01:58:10
Tagged date : UTC 2008-03-20 02:15:22
Audio #1
Codec : AAC LC
Codec/Info : AAC Low Complexity
PlayTime : 2mn 20s
Bit rate : 192 Kbps
Bit rate mode : CBR
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 3.22 MiB
Encoded date : UTC 2008-03-20 01:58:10
Tagged date : UTC 2008-03-20 02:15:22
--------------------
[System Info]
--------------------
CPU 0: 3457MHz, Intel(R) Core(TM)2 Duo CPU E4700 @ 2.60GHz, x86 Family 6 Model 15 Stepping 11
CPU 1: 3458MHz, Intel(R) Core(TM)2 Duo CPU E4700 @ 2.60GHz, x86 Family 6 Model 15 Stepping 11
OS: Windows XP Professional(Version 5.1 Build 2600) Service Pack 2
Video: ATI Radeon HD 2600 PRO
DirectX: 9.0c(4.09.00.0904)
Memory: All: 2,096,492 KB, Available: 1,487,328 KB, Used: 29%
CodePage: 1252, Charset:1
Instruction: MMX MMX2 SSE SSE2 SSE3 64Bits
EVR C/A in YV12/YUY2 on XP SP2 didn't work for me in the past.
? ([Only registered and activated users can see links])
Please write a short guide how to activate and use EVR C/A with KMP.
scratchy
05-03-2008, 05:10 PM
sure, it's simple
install this : [Only registered and activated users can see links]
and you're good to go :cool:
if you set "3D surfaces" in KMP, then you can use PS scripts on top of it.
but if you set "bicubic(PS 2.0)" in the scaler resizing options of KMP, then you get ghost lines with ATi (even if you don't rescale)........just like in MPC HC before the fix mentioned above, and in HR(which leads me to believe that KMP is using code from MPC because Haali wrote the PS bicubic script of MPC and HR, but don't ban me again........I don't care)
here's what I'm talking about :
[Only registered and activated users can see links]
so stick to "bilinear" on ATi cards :(
the fix for MPC HC is here :
[Only registered and activated users can see links]
maybe KMP can also be fixed ? :(
look how sharp EVR is (it's a thumbnail) :
[Only registered and activated users can see links] ([Only registered and activated users can see links])
maybe KMP can also be fixed ?
Probably yes, but it can take some time, as there is a new developer. He is slowly catching up and getting new experience. I will inform you about any fixes related to EVR right away.
I tried EVR, but the video playback is really sluggish and it is freezing all the time. I will stick to Haalis renderer for now (Haali isn´t that bad). Does HR take advantage of the 3d surfaces with bicubic resizing?
scratchy
05-03-2008, 08:04 PM
you have an ATi card ?
yes EVR does "unsharp masking" so it sucks a bit of CPU, and it's so smooth that it's a good idea to run it with Reclock....and pstrip in double-frame rate(24fps in 48hz)....then you get perfect smoothness :cool:
you also need to run in highspeed mode, and disable the PS scripts to avoid freezes I think(need to run more tests w/ the PS scripts).
HR has its own PS2.0 bicubic resize(similar to the one in MPC/KMP because he wrote them all.......Haali is one of the most skilled coder w/ shaders)...and the ATi drivers seem buggy, so it needs a fix to avoid ghost lines :(
you have an ATi card ?
Nope, I have an old Geforce 6600GT (CPU: Athlon64 3200+) ... need to upgrade after the summer :)
I am the friend of the KISS principle ... and this workaround looks like a lot of work ;p
scratchy
05-07-2008, 12:43 AM
to get back on the EVR/HR compare, it's like HR would be "Picture A" and EVR would be "Picture B" :
[Only registered and activated users can see links]
I use unsharp masking@33 in ffdshow in RGB32.
HR looks more natural(more details due to not being oversharpened?!) and EVR's got that stunning 3D look(because it does some sort of unsharp masking even further)..........it's a tough choice to choose between "natural" and "unsharpened to death" :o
scratchy
05-07-2008, 09:04 PM
here's a very good test video :
[Only registered and activated users can see links]
It's a panning 23.976fps scene, that's poorly encoded.........so if it's not played perfectly smoothly, it exhibits tearing/blinking.
so far only HR+Reclock play it well several times in a row in 24fps@48hz...
scratchy
05-08-2008, 09:03 PM
MPC HC + EVR in 24fps@48Hz can play this video smoothly, but not KMP + EVR.
ah well...........
scratchy
05-13-2008, 08:05 PM
ok I've done more EVR/HR comparisons.
HR is so smooth, but EVR has that amazing 3D look.....like everything jumps out of the screen :)
hopefully, kmpkmp will be able to fix the random freezing and make his EVR custom presenter more stable ? :(
here's a good comparison I did between RGB/YV/YUY output from ffdshow :
[Only registered and activated users can see links]
basically only HR does hardware YUY>RGB conversion(but with the wrong RGB coeffs, the picture is too blue and not green enough)......all the other renderers do a low quality RGB conversion...
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.