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. |
9th June 2008, 11:13 | #261 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,389
|
I guess the problem comes from the fact that mt_merge needs to perform a resizing operation when luma=true, but Avisynth does not support resizing of "planar hacked" YUY2 input ... ?
However: yup, most probably you don't need luma=true. It seems that you're currently dealing with masks provided by MVMask(). Those masks contain the needed information on all three planes, so using the normal U=3,V=3 in mt_merge should do what you want. If that's not the case, you have to construct your mask clip manually by means of YtoUV() operations.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
9th June 2008, 13:39 | #262 | Link |
Registered User
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
|
Didée!
Code:
mask=Planar2Interleaved(maskpl) HorizontalReduceBy2(mask).YtoUV() mask=Merge(mask) maskpl=Interleaved2Planar(mask) mask YUY2 in interleaved colorspace. This will be work? yup. |
10th June 2008, 10:37 | #263 | Link |
Registered User
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
|
Please advice:
Code:
mmask=Planar2Interleaved(mmaskpl) YtoUV(HorizontalReduceBy2(mmask),HorizontalReduceBy2(mmask)) mmask=MergeLuma(mmask) mmaskpl=Interleaved2Planar(mmask) Now right? yup. |
10th June 2008, 11:21 | #264 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,389
|
Seems to be correct, yes.
Small nitpick: it does a little more work than necessary. More efficient: Code:
mmask = mmaskpl.Planar2Interleaved() mmask2 = mmask.HorizontalReduceBy2() mmaskpl = YtoUV(mmask2,mmask2,mmask).Interleaved2Planar()
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
6th September 2008, 18:09 | #267 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
laplace is equivalent to "1 1 1 1 -8 1 1 1 1 8", while "1 1 1 1 -8 1 1 1 1" gets interpreted as "1 1 1 1 -8 1 1 1 1 16". The same applies to sobel ("0 -1 0 -1 0 1 0 1 0 2" and robert ("0 0 0 0 2 -1 0 -1 0 2").
__________________
|
22nd December 2008, 10:55 | #269 | Link | |
LaTo INV.
Join Date: Jun 2007
Location: France
Posts: 701
|
Hi!
I have a little problem with the pi value... Maybe a bug! In the documentation: Quote:
Code:
mt_lut("pi 2 / sin 255 *") It would be great to fix this |
|
22nd December 2008, 20:30 | #270 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
Fixed in 2.0a36
__________________
|
9th October 2009, 22:27 | #271 | Link |
Registered User
Join Date: Jun 2009
Location: Toulouse - France
Posts: 12
|
Hi,
very much for this job, and to share it. I'm using it to produce some movies for a little dance show. I hope I will do somedays something usefull like that ! Bye, Et le bonjour de Toulouse
__________________
---- just a french , please forgive my english ---- |
3rd April 2010, 16:17 | #273 | Link |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
REQUEST: mt_InFix
Any possibility that the MaskTools v2 developers could add a filter that translates reverse polish expressions to InFix notation - call it mt_Infix, if you will, or maybe make it an option in the mt_polish filter.
This would greatly assist non-programmers, such as myself, in deciphering and modifying the calculations/operations involved in scripted functions developed by others. Thanks.
__________________
Nostalgia's not what it used to be Last edited by WorBry; 3rd April 2010 at 16:24. |
3rd April 2010, 19:56 | #274 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
adamhj, worbry : see my signature for the new version.
__________________
|
3rd April 2010, 20:52 | #275 | Link |
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
Wow, that was fast. Really excellent. Thanks alot.
Although self explanatory, I guess the documentation needs to be updated to include mt_InFix in the filter list. Thanks again.
__________________
Nostalgia's not what it used to be |
9th April 2010, 14:56 | #277 | Link |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
One is for avisynth 2.5, the other one for avisynth 2.6
__________________
|
10th April 2010, 11:48 | #278 | Link |
Registered User
Join Date: Jul 2002
Posts: 587
|
ah thanks i thought that was the case so i used 25 but i wanted to make sure because i saw a lot of these scripts for denoising and what not and most state 26 is needed so i hoped there was nothing in 26 they truly needed that 25 didn't have.
better safe than sorry so i asked lol thx! |
10th April 2010, 13:07 | #279 | Link |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
It would be nice if this was made clearer in the documentation, as I see a lot of scripts posted that erroneously use mt_masktools26.dll with Avisynth 2.5.
In practice, what problems can arise from using the wrong version? |
10th April 2010, 14:24 | #280 | Link | |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
Quote:
__________________
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|