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 > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th February 2006, 22:21   #161  |  Link
Xesdeeni
Registered User
 
Join Date: Aug 2002
Posts: 467
Quote:
Originally Posted by akoten
At least AVIsynth-script support is a thing VD really should support, don't you think?
You can't get VirtualDub to work with AVISynth scripts? It works fine for me. I've had no problem on 5 computers across 8 different o/s installations (Windows ME, Windows 2000, Windows XP SP1 & SP2). I've been using VirtualDub to test my scripts before feeding them to anything else since before version 1.4. The only time I used VirtualDubMod was when I wanted to edit an AC3 audio stream without decoding and re-encoding it.

Xesdeeni
Xesdeeni is offline   Reply With Quote
Old 7th February 2006, 08:49   #162  |  Link
akoten
Registered User
 
Join Date: Apr 2004
Posts: 17
Quote:
Originally Posted by Xesdeeni
You can't get VirtualDub to work with AVISynth scripts? It works fine for me. I've had no problem on 5 computers across 8 different o/s installations (Windows ME, Windows 2000, Windows XP SP1 & SP2). I've been using VirtualDub to test my scripts before feeding them to anything else since before version 1.4. The only time I used VirtualDubMod was when I wanted to edit an AC3 audio stream without decoding and re-encoding it.

Xesdeeni
I mean support for EDITING AVIsynth scripts

AKo
akoten is offline   Reply With Quote
Old 7th February 2006, 16:05   #163  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
VDubMod had it, Avery never felt like keeping it and fleshing it out. Ask him or fcchandler (vdub-mpeg2) what their plans in the area are.
foxyshadis is offline   Reply With Quote
Old 26th February 2006, 19:44   #164  |  Link
zlab
Registered User
 
Join Date: Oct 2003
Posts: 21
Hi,
I hvave difficulty to run mvbob() inside the mvbob.rar package,
it always return error: "Scipt error: there is no function named: corrector"
anyone kind enough to give me a hand?
I also found a script mvbob1 seen work as good as mvbob as follows:

function MVbob1(clip c,int "blksize", int "pel", int "lambda")
{
order=(c.getparity==true)? 1:0

blksize=default(blksize,8)
scd=(blksize==8)? 300 : round(300/4)
pel=default(pel,1)
lambda=(blksize==8)? default(lambda,2000) : default(lambda,1000)

bobd=c.Leakkernelbob(order=order).verticalreduceby2()
fields=c.separatefields()
mvf=bobd.mvanalyse(blksize=blksize,pel=pel,isb=false)
mvb=bobd.mvanalyse(blksize=blksize,pel=pel,isb=true)

even1=c.separatefields().selecteven()
odd1a=fields.mvcompensate(mvf,mode=1,thscd1=scd).selecteven()
odd1b=fields.mvcompensate(mvb,mode=1,thscd1=scd).selecteven()
odd1=mergeluma(odd1a,odd1b,0.5).mergechroma(odd1b,0.5)

even2=c.separatefields().selectodd()
odd2a=fields.mvcompensate(mvf,mode=1,thscd1=scd).selectodd()
odd2b=fields.mvcompensate(mvb,mode=1,thscd1=scd).selectodd()
odd2=mergeluma(odd2a,odd2b,0.5).mergechroma(odd1b,0.5)

even=interleave(even1,odd1).weave()
odd=interleave(even2,odd2).weave()

interleave(even,odd)
}

what's the different?
also, someone send me a script, use whenever the edge not proper deinterlace, usage: mvbob().AAAFaster()

function AAAFaster(clip clp, bool "Scale2X")
{
Scale2X = default( Scale2X, false )
clp.Lanczos4Resize(clp.Width * 2, clp.Height * 2)
TurnLeft().SangNom().TurnRight().SangNom()
return Scale2X ? last : ReduceBy2()
}
zlab is offline   Reply With Quote
Old 26th February 2006, 21:52   #165  |  Link
AVIL
Registered User
 
Join Date: Nov 2004
Location: Spain
Posts: 408
Hi,

The filter "corrector" is not included in the last version of mvtools. Its now a standalone plugin, available at Fizick site.

See:
http://forum.doom9.org/showthread.ph...515#post786515
AVIL is offline   Reply With Quote
Old 27th February 2006, 00:34   #166  |  Link
zlab
Registered User
 
Join Date: Oct 2003
Posts: 21
Thanks for your kindly info.

Last edited by zlab; 27th February 2006 at 01:09.
zlab is offline   Reply With Quote
Old 27th February 2006, 17:06   #167  |  Link
Xesdeeni
Registered User
 
Join Date: Aug 2002
Posts: 467
The most impressive thing about the Olympics was the outstanding standards conversion. The video was all 50i HD converted to 60i HD for American broadcast. I saw a few artifacts, but in general, the conversion was fabulous. I suspect on SD broadcasts, the artificacts would have been invisible.

Maybe someday this mocomp technique will approach that quality on PC-powered machines.

Xesdeeni
Xesdeeni is offline   Reply With Quote
Old 10th April 2006, 22:59   #168  |  Link
kle500
Registered User
 
kle500's Avatar
 
Join Date: Sep 2003
Location: Athens Greece
Posts: 84
Hello everyone.
I am trying to do a standards conversion on NTSC(i) -> PAL(i), and i wanted to give a try to MVBOB.
I downloaded the Mvbob.rar file, and used this script.

#Import ("C:\Program Files\AviSynth 2.5\plugins\mvfpsscd.avs")
import("C:\Program Files\AviSynth 2.5\plugins\mvbob\mvbob.avs")
LoadPlugin("C:\DVD UTILS\dgmpgdec146\DGDecode.dll")
Mpeg2Source("G:\test\VIDEO_TS\test.d2v",idct=0)
mvbob()
lanczos4resize(width,576)
converttoyv12()
MVfps(50)
converttoyuy2()
assumebff().separatefields().selectevery(4,0,3).weave()

but i get "THERE IS NO FUNCTION NAMED MVFPS".
I tryied Avisynth 2.54 - 2.55 - 2.56, none of them worked.
I am sorry for the noobie question, but i am completly lost here.
Can someone suggest a script on testing the Standards Conversion with Motion Compensation?

Right now i am using other deinterlacers with good results, but not good results in panning camera.
That's why i want to test this aproach.
Any help will be welcome.

Kind Regards
kle500 is offline   Reply With Quote
Old 11th April 2006, 08:01   #169  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
try uncomment the first line that loads the mvfps function

[edit]

btw, if you want to try out a mocomp script, here's a simple one that gives good results on talking heads and such. deinterlacing isn't so important if your output is interlaced too - the artefacts aren't bad if your threshold is too low.

try leakkernelbob + clouded's "motionprotectedfps", then resize to pal and re-interlace. it's very fast, especially if you're used to mvbob + mvfps...
__________________
sucking the life out of your videos since 2004

Last edited by Mug Funky; 11th April 2006 at 08:06.
Mug Funky is offline   Reply With Quote
Old 11th April 2006, 19:10   #170  |  Link
Backwoods
ReMember
 
Backwoods's Avatar
 
Join Date: Nov 2003
Posts: 416
Quote:
Originally Posted by Xesdeeni
The most impressive thing about the Olympics was the outstanding standards conversion. The video was all 50i HD converted to 60i HD for American broadcast. I saw a few artifacts, but in general, the conversion was fabulous. I suspect on SD broadcasts, the artificacts would have been invisible.

Maybe someday this mocomp technique will approach that quality on PC-powered machines.

Xesdeeni
Thought so? I thought the complete opposite. It looked like a blocky mess to me.
Backwoods is offline   Reply With Quote
Old 11th April 2006, 19:45   #171  |  Link
kle500
Registered User
 
kle500's Avatar
 
Join Date: Sep 2003
Location: Athens Greece
Posts: 84
Quote:
Originally Posted by Mug Funky
try uncomment the first line that loads the mvfps function

[edit]

btw, if you want to try out a mocomp script, here's a simple one that gives good results on talking heads and such. deinterlacing isn't so important if your output is interlaced too - the artefacts aren't bad if your threshold is too low.

try leakkernelbob + clouded's "motionprotectedfps", then resize to pal and re-interlace. it's very fast, especially if you're used to mvbob + mvfps...
Realy appreciate you help.
I did uncomment the first line of the above script, but it didn't make any difference.
I am trying now this script:

Import ("C:\Program Files\AviSynth 2.5\plugins\mvfpsscd.avs")
import("C:\Program Files\AviSynth2.5\plugins\mvbob\mvbob.avs")
LoadPlugin("C:\DVD UTILS\dgmpgdec146\DGDecode.dll")
Mpeg2Source("G:\test\VIDEO_TS\test.d2v",idct=0)

leakkernelbob(order=1,threshold=2)
motionprotectedfps(50)
lanczosresize(720,576)
assumetff()
separatefields().selectevery(4,0,3).weave()

I am encoding right now.
It is a clip from XXX movie NTSC Interlaced that has a lot of outdoors movement.
I hope i will see better results than with simple kernelbob + convertfps.
Do you think that MvBob gives better results?
I wish i could make it work, so i could try it to the same clip.
kle500 is offline   Reply With Quote
Old 11th April 2006, 20:55   #172  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
at least use securedeint() instead of leakkernelbob() since securedeint() avoids severe interlacing artifacts especially with handycam footage. Also it gives you better definition due to EEDI2 interpolation.

mvbob() would be even better, but it needs a lot of time to process.
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 11th April 2006, 21:02   #173  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,718
scharfi,

could you update MVBob to use MaskTools v2 alpha?

Would it also be possible to add the option to input YUY2 data in MVBob and then output YV12? I understand that it must convert the colorspace to YV12 at some point so it would be nice if the colorspace was left to YV12 in the end to avoid having to do another YUY2->YV12 conversion.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 11th April 2006, 21:30   #174  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
I have plans to update it.

But not in the near future due to lacking time.
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 11th April 2006, 22:00   #175  |  Link
kle500
Registered User
 
kle500's Avatar
 
Join Date: Sep 2003
Location: Athens Greece
Posts: 84
I've try the clip i mentioned before, and the panning is almost excelent using motionprotectFps, but i have some observations.

Using Leakkernelbob (order=X, threshold=1), gives me very good speed.
Using, Tdeint, i get much lower speed, but i get many many artifacts and lines (allthough i try to alter the threshold).
Using Securedeint(), i get wrong field, but sloooow speed (how can i change the order?).

These are the observations for the deinterlacers, but my main problem is that i have some tearing effects in the background.
For example, i have a small clip with some metalic curtains in the backround (i am sorry but i don't know how to call these).
You know, the metalic horizontal curtains everybody has in offices.
So, there are 3 White Ropes going vertical the curtains.
When the camera moves, these ropes get very very distorted.
What function can i call in MotionprottectFPS, to alter this?

Kind regards
George
kle500 is offline   Reply With Quote
Old 11th April 2006, 22:06   #176  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
you may try the raising the iterate parameter of motionprotectedfps().

also place an assumetff() or assumebff() before securedeint to ensure correct handling.
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 11th April 2006, 22:52   #177  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
I can update it, since MT2 conversion is simple and adding an option for boulder is quick, but I'm in no way implying this is the way it'll work in scharfi's future releases. I added a yv12out boolean parameter.

Code:
		getparity(i) ? i.separatefields().eedi2(field = 3) : i.separatefields().eedi2(field = 2)
I believe this should be simplified to
Code:
i.separatefields().eedi2(field=-2)
In addition most of the isyv12 protections are useless, as ianb says a spurious ConvertToYV12 takes 0 time and no memory copies. (Just a pointer copy.)

Anyway, I, uh, have no interlaced material to test, so I just chopped up some cg video with one of your bob-to-interlace lines. It seemed to work the same, and was marginally faster... don't expect miracles though. (Looks very very good with cgi, btw.)

I submit the modified mvbob to your vetting. As usual, masktools2 is at its thread.

@kle500
Ugh, venetian blinds are going to be hard, if they're near the limit of pixel-differentiation. Many high-frequency patterns like that cause trouble for bobbers.

Last edited by foxyshadis; 11th April 2006 at 22:56.
foxyshadis is offline   Reply With Quote
Old 12th April 2006, 06:41   #178  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,718
Thanks
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 12th April 2006, 08:28   #179  |  Link
kle500
Registered User
 
kle500's Avatar
 
Join Date: Sep 2003
Location: Athens Greece
Posts: 84
@scharfis_brain
Even if i raise the Iterate, there is no difference.
I tested the Mvfpsscd(50), and i see lower distortion in the above clip i mention.
But, way slower than with MotionProtectFPS(50).

Forgive me for my ignorance but, do you suggest to use Mvfpsscd in my clips?
As i mentioned before, i have NTSC interlaced videos that are all shot with camera (a lot of panning).
Any good suggestions?
kle500 is offline   Reply With Quote
Old 11th June 2006, 02:10   #180  |  Link
zambelli
Doom9ing since 2001
 
zambelli's Avatar
 
Join Date: Oct 2001
Location: Seattle, WA, USA
Posts: 2,002
@scharfis_brain:

Hi Scharfis! I'm having some trouble getting MVbob() and SecureDeint() to work with the latest MVtools (1.3.0). Could you please take a look at http://forum.doom9.org/showthread.ph...637#post838637 and let me know if I'm doing something obviously wrong? Thanks!
zambelli is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:34.


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