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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st November 2009, 06:58   #1741  |  Link
Mark_A_W
3 eyed CRT supporter
 
Join Date: Jan 2008
Location: Or-strayl-ya
Posts: 563
Quote:
Originally Posted by fuzz! View Post
Damn.. thanks for that. Kinda sucks though having to go into MPC-HC settings and change the video renderer when you want to play a DVD.. so I think I'll just skip the whole madVR thing.

Well, I could be wrong - but it doesn't work with DVDs for me (neither does Haali). I'm on Vista.


But, Zoomplayer allows you to configure DVDs and media files differently.

Mark
Mark_A_W is offline   Reply With Quote
Old 1st November 2009, 12:28   #1742  |  Link
yesgrey
Registered User
 
Join Date: Sep 2004
Posts: 1,295
Quote:
Originally Posted by sucht View Post
i mean it's ok to resize them but madvr will then use the wrong *.3dlut file (in this case the HD one).
Quote:
Originally Posted by sucht View Post
what do i have to put in there for the "YCbCr BT.601 -> YCbCr BT.709" color space conversion?
I can tell you what to put in there to create that file, but it would be preferable for you to use a batch file to rename the SD 3dlut files in madVR directory as HD files, and another one to revert it. Then, simply by clicking the files, you could set up the correct 3DLUTs. It would be more accurate.
I've done something similar to switch 3DLUTs accordingly the display I'm using. Here is how it should look like in your case:
Code:
@echo off
rem Set SD 3DLUT files as HD
ren "hd - pc.3dlut"     "keephd - pc.3dlut"
ren "hd - video.3dlut"  "keephd - video.3dlut"
ren "sd - pc.3dlut"     "hd - pc.3dlut"
ren "sd - video.3dlut"  "hd - video.3dlut"
and
Code:
@echo off
rem Restore HD 3DLUT files
ren "hd - pc.3dlut"     "sd - pc.3dlut"
ren "hd - video.3dlut"  "sd - video.3dlut"
ren "keephd - pc.3dlut"     "hd - pc.3dlut"
ren "keephd - video.3dlut"  "hd - video.3dlut"
Quote:
Originally Posted by sucht View Post
i hope you can understand what i'm trying to say, in my somewhat limited english.
Don't worry, my english is also somewhat limited...
yesgrey is offline   Reply With Quote
Old 1st November 2009, 14:22   #1743  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by yesgrey3 View Post
it would be preferable for you to use a batch file to rename the SD 3dlut files in madVR directory as HD files, and another one to revert it
well OK, but did you run some comparisons on Rec.601 test patterns between ColorMatrix() and a 601>709 LUT from cr3dlut?

IMHO the whole point of ColorMatrix() is that you can put it in a "SD" ffdshow profile, and it'll all be automatic...besides "opt=0" is supposed to be quite accurate
leeperry is offline   Reply With Quote
Old 1st November 2009, 16:01   #1744  |  Link
yesgrey
Registered User
 
Join Date: Sep 2004
Posts: 1,295
Quote:
Originally Posted by leeperry View Post
well OK, but did you run some comparisons on Rec.601 test patterns between ColorMatrix() and a 601>709 LUT from cr3dlut?
No. I've asked tritical about it and he confirmed that using t3dlut with a 3DLUT file should be slightly more accurate.

Here is the file to create a 3DLUT for 601>709:
Code:
# Example input file for cr3dlut v2.2 and up 
#
# Settings for creating a 3D LUT for Y'CbCr (BT.601) -> Y'CbCr (BT.709)
#

# Set input bitdepth
Input_Bit_Depth          8

# Set source video format
Input_Video_Format       HD   YCbCr
Input_YCbCr_Matrix       3


# Set output bitdepth
Output_Bit_Depth         16

# Set display video format
Output_Video_Format      HD   YCbCr
Change the output bit depth to your desire, although it should be better to use 16bit and activate dither in t3dlut.
yesgrey is offline   Reply With Quote
Old 1st November 2009, 16:09   #1745  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
ok cool! I'll run comparisons ASAP between ColorMatrix() and this LUT w/ rgb3dlut and t3dlut(rgb3dlut is much faster than t3dlut)
leeperry is offline   Reply With Quote
Old 1st November 2009, 16:53   #1746  |  Link
yesgrey
Registered User
 
Join Date: Sep 2004
Posts: 1,295
Quote:
Originally Posted by leeperry View Post
w/ rgb3dlut and t3dlut(rgb3dlut is much faster than t3dlut)
I think rgb3dlut only supports RGB output. YCbCr output was added only with t3dlut, I suppose, hence the name difference.
yesgrey is offline   Reply With Quote
Old 1st November 2009, 17:07   #1747  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by yesgrey3 View Post
I think rgb3dlut only supports RGB output. YCbCr output was added only with t3dlut, I suppose, hence the name difference.
indeed

but t3dlut is very CPU consuming IIRC, ColorMatrix is OK
leeperry is offline   Reply With Quote
Old 1st November 2009, 17:50   #1748  |  Link
73ChargerFan
Registered User
 
73ChargerFan's Avatar
 
Join Date: Dec 2006
Posts: 523
fuzz, mpc-hc has an option to move all settings to an ini file.
1) Create 2 directories, each with their own copy of mpc-hc, each with their own ini.
2) In the first, set up madVR and under options/formats modify the associations for all video except "DVD file (vob ifo)" and de-select Autoplay of DVD. Not this copy will run for everything except DVDs.
3) Exit mpc-hc
4) In the other directory, rename mpc-hc.exe to mpc-hc-dvd.exe and set it up for dvds, using a different renderer of your choice.
5) Under options/formats modify the associations, select on "DVD file (vob ifo)" and Autoplay DVD.

Voila! Now, you can do other tweaks to the dvd version also, like decoding with ffdshow which allows better upscaling options.

The caveat is that if you are in the regular (non-dvd) mpc-hc.exe, don't open a dvd from within the program.
73ChargerFan is offline   Reply With Quote
Old 4th November 2009, 12:51   #1749  |  Link
noee
Registered User
 
Join Date: Jan 2007
Posts: 530
Anybody trying madVR with MPC-HC in Win7 x64 with the HD4200 IGP?

I'm curious about h/w config and what settings are "working".
noee is offline   Reply With Quote
Old 6th November 2009, 03:09   #1750  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by yesgrey3 View Post
I've asked tritical about it and he confirmed that using t3dlut with a 3DLUT file should be slightly more accurate.

Here is the file to create a 3DLUT for 601>709:
righty! Kazuya has been kind enough to encode a rec.601 720p test pattern in h264: http://www.mediafire.com/?l2nvegywmxq

Code:
ColorMatrix(mode="Rec.601->Rec.709",clamp=0,opt=0)
colorYUV(levels="tv->pc")
=198 fps



Code:
ConvertToYUY2()
t3dlut(lutfile="C:\601-709.3dlut",destcs=0,threads=4)
ConvertToYV12()
colorYUV(levels="tv->pc")
= 84 fps



Code:
ffdshow RGB32HQ TV>PC BT.601 w/ dithering in HR


so....there's still that strange bar right in the middle of the green levels, something's not set properly in ColorMatrix? like chroma alignment? we had the same exact problem when I was trying to get the same colors as the PS script through a LUT

Last edited by leeperry; 25th December 2009 at 22:43.
leeperry is offline   Reply With Quote
Old 6th November 2009, 09:43   #1751  |  Link
Kazuya
Kodi + Potplayer addict
 
Join Date: Apr 2009
Location: France
Posts: 69
Which bar ?
The one who makes a thin border at the right and bottom of the green boxes ?

I saw it but I was thinking it was the sharpness that makes it appear.
Kazuya is offline   Reply With Quote
Old 6th November 2009, 12:26   #1752  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
I completely disabled all sharpening and I'm sending native res to madVR...it should remain untouched.

we already had this problem before, yesgrey is aware of it...sometimes I would just get a black bar right there.
leeperry is offline   Reply With Quote
Old 6th November 2009, 13:15   #1753  |  Link
yesgrey
Registered User
 
Join Date: Sep 2004
Posts: 1,295
Quote:
Originally Posted by leeperry View Post
we already had this problem before, yesgrey is aware of it...sometimes I would just get a black bar right there.
If I remember correctly this was due to not using the right chroma placement option.
Try adding "cplaceU=1, cplaceD=1" to t3dlut call.

Also, you could try using yv12toyuy2 and yuy2toyv12 instead of the Avisynth core functions.
yesgrey is offline   Reply With Quote
Old 6th November 2009, 13:21   #1754  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
ok I'll try! but t3dlut is a CPU hog...I'd rather have ColorMatrix() do it properly in the first place. Hopefully tritical could have it worked out, but OK...I'll try to play around w/ additional settings first.

also, yv12toyuy2 requires mod4..not too convenient.

Last edited by leeperry; 6th November 2009 at 13:54.
leeperry is offline   Reply With Quote
Old 9th November 2009, 04:32   #1755  |  Link
Shark321
Registered User
 
Join Date: Oct 2009
Posts: 3
Quote:
Originally Posted by madshi View Post
EEDI/NEDI? I don't even know how it works. I don't expect it would run well on a GPU pixel shader. If you hate aliasing I'd suggest to use Lanczos4 (sharp, but has ringing) or SoftCubic50 (soft, but no ringing).
Here is some info about Edge-Directed Interpolation. Just look at the images at the bottom of the page, amazing results!

http://chiranjivi.tripod.com/EDITut.html

p.s.

I've tried using MadVR 0.11 and had some great results, but it crashed about once per hour (mostly when moving 30 seconds forward or back in the movie). Using Halis again.
Shark321 is offline   Reply With Quote
Old 9th November 2009, 10:50   #1756  |  Link
Kazuya
Kodi + Potplayer addict
 
Join Date: Apr 2009
Location: France
Posts: 69
I want it !!!!
Kazuya is offline   Reply With Quote
Old 9th November 2009, 11:32   #1757  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,650
Looks to be the holy grail of interpolation, can we get it?
ryrynz is offline   Reply With Quote
Old 9th November 2009, 12:21   #1758  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
NEDI looks awesome!

And if i understood the math correctly, its relatively easy to calculate too, especially on shaders.
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline   Reply With Quote
Old 9th November 2009, 14:44   #1759  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
looks like NEDI has already been improved with iNEDI.
But even iNEDI has already been improved with ICBI

http://www.comp.leeds.ac.uk/bmvc2008.../papers/43.pdf

The scaled images are near-perfect.

And its up to 10times faster when compared to NEDI

EDIT:
And even ICBI has been surpassed:

http://www.eurasip.org/Proceedings/E...1569192778.pdf
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC

Last edited by tetsuo55; 9th November 2009 at 14:49.
tetsuo55 is offline   Reply With Quote
Old 9th November 2009, 14:58   #1760  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by tetsuo55 View Post
looks like NEDI has already been improved with iNEDI.
But even iNEDI has already been improved with ICBI

http://www.comp.leeds.ac.uk/bmvc2008.../papers/43.pdf

The scaled images are near-perfect.

And its up to 10times faster when compared to NEDI

EDIT:
And even ICBI has been surpassed:

http://www.eurasip.org/Proceedings/E...1569192778.pdf
Good find !!
madshi is offline   Reply With Quote
Reply

Tags
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:35.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.