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 18th March 2012, 19:32   #621  |  Link
stoffal
Registered User
 
Join Date: Jul 2005
Posts: 17
Wonderful new clips, Fred! Quality work made in Flanders =)
I can't wait to see the updated script... Cheers!
Chris
stoffal is offline   Reply With Quote
Old 18th March 2012, 19:55   #622  |  Link
phate89
Registered User
 
Join Date: Apr 2009
Posts: 153
Quote:
Originally Posted by videoFred View Post
Hello Rubento,

The script is updated. I will upload it as soon as possible.

Fred.
Great... I'm starting now for the first time to play with your script... But at this point i'll wait the version with updated plugins and script..
Thanks!
phate89 is offline   Reply With Quote
Old 21st March 2012, 15:46   #623  |  Link
Boffee
Registered User
 
Join Date: Oct 2011
Location: Worthing, UK
Posts: 24
I am trying Fred's script but now get error in Line 229:-

StackHorizontal:image heights do not match. I have tried changing the values from 28 to 32 but no differerence. Anyone help

Last edited by Boffee; 21st March 2012 at 15:49. Reason: spelling
Boffee is offline   Reply With Quote
Old 21st March 2012, 15:55   #624  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
Quote:
Originally Posted by Boffee View Post
I am trying Fred's script but now get error in Line 229:-

StackHorizontal:image heights do not match. I have tried changing the values from 28 to 32 but no differerence. Anyone help
Hello Boffee,

What is the size of the source file?

Fred.
__________________
About 8mm film:
http://www.super-8.be
Film Transfer Tutorial and example clips:
https://www.youtube.com/watch?v=W4QBsWXKuV8
More Example clips:
http://www.vimeo.com/user678523/videos/sort:newest
videoFred is offline   Reply With Quote
Old 21st March 2012, 18:48   #625  |  Link
Boffee
Registered User
 
Join Date: Oct 2011
Location: Worthing, UK
Posts: 24
Hello Fred

According to gspot it is 720 x 576 which was taken with a camcorder and a condensor lens, I have tried the script on another video taken from a CCTV camera pointing at the gate of a projector, which is 640 x 480 but I get the same error. I have changed your degraining/sharpening part to that as posted in post #37 as i get error "illegal instruction line 161" if I leave it as original. Don't think my single core pc will run MVDegrainMulti for some reason although I have all the plugins in the script and plugins folder.

Last edited by Boffee; 21st March 2012 at 19:16. Reason: added more info.
Boffee is offline   Reply With Quote
Old 22nd March 2012, 07:31   #626  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
Hi Boffee,

Your single core pc should run MVDegrainMulti and this has nothing to do with the StackHorizontal error.
Please upload a clip and send me the script you are using, I will take a look at it.

Fred.
__________________
About 8mm film:
http://www.super-8.be
Film Transfer Tutorial and example clips:
https://www.youtube.com/watch?v=W4QBsWXKuV8
More Example clips:
http://www.vimeo.com/user678523/videos/sort:newest
videoFred is offline   Reply With Quote
Old 22nd March 2012, 12:50   #627  |  Link
Boffee
Registered User
 
Join Date: Oct 2011
Location: Worthing, UK
Posts: 24
Thanks for your help Fred. Video is at http://vimeo.com/39078729. I have send a copy of the script which causes error on line 160. Only difference is SETMTMODE is disabled as far as I can see.

Last edited by Boffee; 24th March 2012 at 09:11. Reason: changed url
Boffee is offline   Reply With Quote
Old 22nd March 2012, 22:20   #628  |  Link
egrimisu
Registered User
 
egrimisu's Avatar
 
Join Date: Jan 2008
Location: Romania - neighbor of Dracula
Posts: 327
Quote:
Originally Posted by librarian View Post
A better way :
Code:
rest=last
w=rest.width()
h=rest.height()
calm = rest.temporalsoften(1,255,255,32,2).merge(rest,0.25)#.repair(rest,1).removegrain(11)
calm = calm.temporalsoften(1,255,255,16,2).merge(calm,0.25)
LOP = calm.bicubicresize(w/4,h/4).bicubicresize(w,h,1,0)#gaussianblur(4)#
HIP = rest.bicubicresize(w/4,h/4).bicubicresize(w,h,1,0)#gaussianblur(4)#
HIP = mt_makediff(rest,HIP)
mix = LOP.mt_adddiff(HIP,U=2,V=2)
sup1=rest.msuper(levels=1)
sup2=mix.removegrain(11).msuper()
bv2=sup2.manalyse(isb=true, delta=2,blksize=16,overlap=8,DCT=5)
bv1=sup2.manalyse(isb=true, delta=1,blksize=16,overlap=8,DCT=5)
fv1=sup2.manalyse(isb=false,delta=1,blksize=16,overlap=8,DCT=5)
fv2=sup2.manalyse(isb=false,delta=2,blksize=16,overlap=8,DCT=5)

return rest.mdegrain2(sup1,bv1,fv1,bv2,fv2,thSAD=640)
As to downsize 1/4 --> upsize 1 see here
Thanks for the script, strobes are removed but also alot of grains, is there a way to preserve the grains, i mean as much as possible. Also shadow are inserted like blending can this be fixed?
__________________
I7 920 @ 3.60GHz + Thermalright Ultra 120 Extreme
Asus P6T Deluxe, 6GB Corsair XMS3 1600MHZ 8-8-8-24
2x1TB Samsung + 1x500GB Samsung,
Corsair 520W, Thermaltake Soprano DX
GeForge GTX280
egrimisu is offline   Reply With Quote
Old 23rd March 2012, 02:22   #629  |  Link
librarian
Registered User
 
Join Date: Nov 2011
Posts: 63
Quote:
Originally Posted by egrimisu View Post
Thanks for the script, strobes are removed but also alot of grains, is there a way to preserve the grains, i mean as much as possible. Also shadow are inserted like blending can this be fixed?
That script is essentially a degrainer (and temporal stabilizer).

Code:
Save grain (before the script):

grain=mt_makediff(removegrain(4))# any degrainer you like

reinsert grain (after the script):

mt_adddiff(grain)
In addition you can try to:
use mdegrain1 (and may be to lower blksize to 8 and overlap to 4),
and/or reduce the thresholds in temporalsoften,
but both operations may lessen the desired effects.

Last edited by librarian; 23rd March 2012 at 02:32.
librarian is offline   Reply With Quote
Old 23rd March 2012, 11:40   #630  |  Link
egrimisu
Registered User
 
egrimisu's Avatar
 
Join Date: Jan 2008
Location: Romania - neighbor of Dracula
Posts: 327
Quote:
Originally Posted by librarian View Post
That script is essentially a degrainer (and temporal stabilizer).

Code:
Save grain (before the script):

grain=mt_makediff(removegrain(4))# any degrainer you like

reinsert grain (after the script):

mt_adddiff(grain)
In addition you can try to:
use mdegrain1 (and may be to lower blksize to 8 and overlap to 4),
and/or reduce the thresholds in temporalsoften,
but both operations may lessen the desired effects.
Thanks, some of the grains are kept, much better than without it.

My last and more important concern is that the wholse script introduces blending, is this something that can be fixed?
__________________
I7 920 @ 3.60GHz + Thermalright Ultra 120 Extreme
Asus P6T Deluxe, 6GB Corsair XMS3 1600MHZ 8-8-8-24
2x1TB Samsung + 1x500GB Samsung,
Corsair 520W, Thermaltake Soprano DX
GeForge GTX280
egrimisu is offline   Reply With Quote
Old 31st March 2012, 16:25   #631  |  Link
TheoRI
Registered User
 
Join Date: Jan 2012
Posts: 8
Dear Fred,

I am waiting for the new script you mentioned earlier in the month and was wondering when you could upload it.

Kind Regards,
Theo
TheoRI is offline   Reply With Quote
Old 1st April 2012, 05:54   #632  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Same here, heh, heh.
I like the work of videofred and tried to use part of your script into other applications. Now I would like to learning and use the stabilization.
I had problems with Deshaker and Depan package , so I'd like to stabilize some videos with slight movement.
Thanks a lot.
GMJCZP is offline   Reply With Quote
Old 14th April 2012, 15:07   #633  |  Link
TheoRI
Registered User
 
Join Date: Jan 2012
Posts: 8
Fred,

Is there any news on the new version of the script?

Kind Regards,
Theo
TheoRI is offline   Reply With Quote
Old 18th April 2012, 23:26   #634  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
Quote:
I had problems with Deshaker and Depan package , so I'd like to stabilize some videos with slight movement.
Thanks a lot.
A simple Stab() works wonders sometimes.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 10th May 2012, 15:48   #635  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Quote:
Originally Posted by Emulgator View Post
A simple Stab() works wonders sometimes.
Thanks Emulgator. I'll try.
GMJCZP is offline   Reply With Quote
Old 12th May 2012, 06:39   #636  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
It works very well, I activate the mirror option for to fill the black parts. Thanks.
Just noticed that sometimes the right side of the image does not fill it, it will be offset = -1?
GMJCZP is offline   Reply With Quote
Old 20th May 2012, 08:19   #637  |  Link
Honeyko
Registered User
 
Honeyko's Avatar
 
Join Date: Oct 2007
Posts: 313
///Warning: total Avisynth newb///

- - - -

I have:

1. Installed Avisynth (v2.5; it's in my Program Items folder).

2. Installed VirtualDub-1.9.10

3. Downloaded Fred's stuff.

4. Have a file ready to process ("abc.avi") in C:\test

....what do I next?


Note: I don't want to change a thing as far as the basic settings of Fred's script go; it looks like he's done a phenominal job of tweaking the heck out of it.
Honeyko is offline   Reply With Quote
Old 20th May 2012, 09:52   #638  |  Link
stoffal
Registered User
 
Join Date: Jul 2005
Posts: 17
Hello Honeyko,
welcome to this forum and to digital film restauration...
If you have downloaded the latest version of Fred's script, you can unpack the zip file. Here you will find some help files explaining what to do with the files. After setting up everything, you will need to adapt the avisynth script to your needs. Open it and read through it, modify it so it works with your file. It is really no "one click solution" -- you will need to understand what the script does, but then you have it all in your hands ! It might help you to take a look at the Avisynth website and go through some tutorial scripts there. Hope it helps!
stoffal is offline   Reply With Quote
Old 20th May 2012, 10:04   #639  |  Link
Honeyko
Registered User
 
Honeyko's Avatar
 
Join Date: Oct 2007
Posts: 313
Quote:
Originally Posted by stoffal View Post
Hello Honeyko,
welcome to this forum and to digital film restauration...
If you have downloaded the latest version of Fred's script, you can unpack the zip file. Here you will find some help files explaining what to do with the files. After setting up everything...
That's the tricky part. Just setting everything up is about as obtuse as it could possibly be. (By "total newb", I meant exactly that. I.e., how do you even open a script in Avisynth? -- There certainly seems to be a lot of other software which calls Avisynth, but using it straight-up is something I've never done.)

I'm trying to avoid massive duplication of learning-curves here. A link to a simple 1-2-3 guide would be handy here.
Quote:
you will need to adapt the avisynth script to your needs. Open it and read through it, modify it so it works with your file. It is really no "one click solution"....
Well, actually, there should be, *in this case*. My file is a plain vanilla progressive XviD avi, already cropped, mod16, yadda yadda. XviD is installed. x264 is there as well (if that's used). I don't need to worry about audio, resizing, combing or anything at all other than modifying path names to point to it.

If the input is better handled as mpeg2 or something else, I can easily convert it ahead of time.
Honeyko is offline   Reply With Quote
Old 20th May 2012, 10:39   #640  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
Quote:
Originally Posted by Honeyko View Post
how do you even open a script in Avisynth?
This is not the thread to discuss this. Learn the Avisynth basics first and then come back here.

Fred.
__________________
About 8mm film:
http://www.super-8.be
Film Transfer Tutorial and example clips:
https://www.youtube.com/watch?v=W4QBsWXKuV8
More Example clips:
http://www.vimeo.com/user678523/videos/sort:newest
videoFred 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 20:06.


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