Why not register?


Post new topic Reply to topic  [ 18 posts ] 

All times are UTC [ DST ]

Author Message
PostPosted: Wed Jan 30, 2008 6:18 pm  Post subject: Ripping Questions
Reply with quote
User avatar
Offline

The Ancient One
Joined: Sat Oct 20, 2007 10:31 am
Posts: 3600
Since I don't want to continue spamming BadBugs's Gordian Knot Guide Thread I decided to create a new one. All questions on ripping can be posted below. :wacky:

Well, yes ... and here is the first one already: :D

I want to do a re-rip of Leprechaun 1, since my first rip was an AutoGK version. Quality is nice but I think it can be improved. The problem is that the DVD video covers darker parts (with a lot of noise) and brighter parts (with almost no noise at all).

Because of this I would like to apply different filters on different parts of the movie.

My AVS looks like this:

Code:
# AVS Created with notepad

#  PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\UnDot.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\Convolution3d.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\mt_maskTools.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\RemoveGrain.dll")

#  IMPORT
Import("C:\PROGRA~1\GORDIA~1\AviSynthIncludes\LimitedSharpenFaster.avsi")

#  SOURCE
mpeg2source("I:\Ripping\leprechaun.d2v")

#  CROPPING
crop(6,18,708,540)

#  DETERMINE parts with low or high noise
p0 = Trim(0, 440)          # LOW
p1 = Trim(441, 1366)       # HIGH
p2    = Trim(1367, 1562)      # LOW
p3 = Trim(1563, 15120)             # HIGH
p4    = Trim(15121, 18161)        # LOW
p5 = Trim(18162, 20988)        # HIGH
p6    = Trim(20989, 26085)        # LOW
p7 = Trim(26086, 28647)        # HIGH
p8    = Trim(28648, 29375)        # LOW
p9 = Trim(29376, 33713)        # HIGH
p10   = Trim(33714, 35176)        # LOW
p11    = Trim(35177, 38144)        # HIGH
p12   = Trim(38145, 48490)        # LOW
p13    = Trim(48491, 58248)        # HIGH
p14   = Trim(58249, 58276)        # LOW
p15    = Trim(58277, 58351)        # HIGH
p16   = Trim(58352, 58433)        # LOW
p17    = Trim(58434, 77149)        # HIGH
p18   = Trim(77150, 77285)        # LOW
p19    = Trim(77286, 87513)        # HIGH
p20   = Trim(87514, 88370)        # LOW
p21    = Trim(88371, 113389)       # HIGH
p22   = Trim(113390, 113494)      # LOW
p23    = Trim(113495, 113621)      # HIGH
p24   = Trim(113622, 113752)      # LOW
p25    = Trim(113753, 113896)      # HIGH
p26   = Trim(113897, 113986)      # LOW
p27    = Trim(113987, 125598)      # HIGH
p28   = Trim(125599, 131604)      # LOW

sharpen_smode    = 4
sharpen_strength = 40
sharpen_soft     = 20
p0   = p0.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p2  = p2.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p4  = p4.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p6  = p6.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p8  = p8.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p10 = p10.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p12    = p12.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p14    = p14.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p16    = p16.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p18    = p18.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p20    = p20.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p22    = p22.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p24    = p24.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p26    = p26.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)
p28    = p28.Undot().LimitedSharpenFaster(sharpen_smode, sharpen_strength, sharpen_soft)

grain_mode = 12
smooth_X   = 8
smooth_Y   = 8
p1  = p1.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p3  = p3.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p5  = p5.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p7  = p7.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p9  = p9.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p11 = p11.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p13    = p13.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p15    = p15.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p17    = p17.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p19    = p19.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p21    = p21.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p23    = p23.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p25    = p25.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")
p27    = p27.Removegrain(grain_mode).FluxSmoothST(smooth_X, smooth_Y).Convolution3d("moviehq")

# REBUILD clip
clip = p0+p1+p2+p3+p4+p5+p6+p7+p8+p9+p10+p11+p12+p13+p14+p15+p16+p17+p18+p19+p20+p21+p22+p23+p24+p25+p26+p27+p28

#  RESIZING
BicubicResize(704,368)


The rebuilding of the clip doesn't work. I get this ERROR message: "Splice: Frame Sizes don't match".

Is this a bad idea? Is it possible to apply different filters on different parts of the movie? And if yes, why doesn't this work? :(


Top
 Profile  
PostPosted: Fri Feb 01, 2008 8:45 am  Post subject:
Reply with quote
User avatar
Offline

The Devil, Probably
Joined: Fri Oct 26, 2007 3:40 pm
Posts: 2250
Location: Inside my body.
Looking at the script I can't see where Frame Sizes could possibly be different. Cropping is applied to the whole clip, so is the BicubicResize.

Sorry, can't help you here. :(

_________________
Keep downloaded files shared as long as possible! You wouldn't be able to download without people sharing the stuff.

Image Image Image Image Image Image
Image

Next release will be: La Cité Des Entfants Perdu (1995) + Making Of (Status: working on the subtitles)
Last release was: Svengali (1931)


Top
 Profile  
PostPosted: Wed Feb 13, 2008 10:51 pm  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

The Ancient One
Joined: Fri Jan 19, 2007 2:49 am
Posts: 2624
Location: Chernobyl
elchupacabra wrote:
Since I don't want to continue spamming BadBugs's Gordian Knot Guide Thread I decided to create a new one. All questions on ripping can be posted below. :wacky:


I never saw it as spamming, besides, the more questions you or others ask in the thread that get answered, the more information is there to be found easily :wink:
Unfortunately its not a sticky & neither is this, but this one is more likely to get lost in the bowels of DD history if you get what I mean so erm, spam away :lol:


Top
 Profile  
PostPosted: Wed Feb 13, 2008 11:01 pm  Post subject:
Reply with quote
User avatar
Offline

The Ancient One
Joined: Sat Oct 20, 2007 10:31 am
Posts: 3600
My idea was to let your thread be the guide and post only improvement suggestions and create a new one with all the questions.

Any idea I can't apply filters to different parts of the video though?


Top
 Profile  
PostPosted: Wed Feb 13, 2008 11:06 pm  Post subject:
Reply with quote
User avatar
Offline

The Ancient One
Joined: Fri Jan 19, 2007 2:49 am
Posts: 2624
Location: Chernobyl
I'm still no expert, but zone options allow you to add filters to certain sections... try Rogue, I know he knows his way round zones ;)

The basics of the guide are still intact on page 1, thats all I care about to tell you the truth so dont worry about using the following pages to ask all your questions as thats what theyre there for :mrgreen:


Top
 Profile  
PostPosted: Sat Mar 08, 2008 11:19 pm  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
GrimRipper wrote:
Sry Spud somehow I missed the part about the 3 segments :D. Here's an example of what you can do, it's the easiest way I can think of:
Code:
import("x:\xxx.avs")
LoadPlugin("x:\xxx.dll")
Mpeg2Source("x:\yoursource.d2v")
Crop(left,top,right,bottom)

set = last

C0 = set.LanczosResize(xxx,yyy)
C1 = set.LanczosResize(xxx,yyy).LimitedSharpen(ss_x=1.0,ss_y=1.0,Smode=4,strength=20)
C2 = set.LanczosResize(xxx,yyy).dehalo().LimitedSharpen(ss_x=1.0,ss_y=1.0,Smode=4,strength=40)

C0.Trim(startframe,endframe)+C1.Trim(startframe,endframe)+C2.Trim(startframe,endframe)


What it basicly would do is apply the settings that you put in C0,C1,C2 to the segments you trim with frame numbers in the end of the script. All you have to do is to play with the sharpening settings so that the movie would be on equal level of sharpness, of course you may also want to apply some denoisers to all parts and some sharpening to the clear picture segment if needed. As I said thats the easiest solution I could think of for it.

Try that...

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sat Mar 08, 2008 11:28 pm  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

The Ancient One
Joined: Sat Oct 20, 2007 10:31 am
Posts: 3600
I'll try it. Thanks spud. :wink:


Top
 Profile  
PostPosted: Sat Mar 08, 2008 11:41 pm  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
elchupacabra wrote:
I'll try it. Thanks spud. :wink:


obviously change the filters, but i'd try the resize suggestion because that could be the key ;)

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sat Mar 08, 2008 11:47 pm  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

The Ancient One
Joined: Fri Jan 19, 2007 2:49 am
Posts: 2624
Location: Chernobyl
Youd recommend Lanczos over spline36 when using zone options? why? This is a noob question as I'm using spline over lanczos due to the fact its new & built into the latest AVISynth & its what Lux & elguaxo tell me to use. :?

_________________
Image


Top
 Profile  
PostPosted: Sat Mar 08, 2008 11:51 pm  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
no, i mean apply the resize to each section if you are having framesize issues.

that post is quoted from about 4 years ago.

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sat Mar 08, 2008 11:54 pm  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

The Ancient One
Joined: Fri Jan 19, 2007 2:49 am
Posts: 2624
Location: Chernobyl
Ahhh, that makes sense & this damn poxy Wicker man has that problem, the exclusive clips need more cropping & are a different size after crop to the rest of the film. Thanks for pointing this one out as zone options, despite being a royal pain in the :moon: , are gonna be essential if I ever manage to get this thing deinterlaced smoothly :mrgreen:

_________________
Image


Top
 Profile  
PostPosted: Sat Mar 08, 2008 11:56 pm  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
I'm way behind with filters and ripping techniques, too busy to keep up with that stuff :lol:

I'm still using the old version of avisynth :(

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sun Mar 09, 2008 12:05 am  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

The Ancient One
Joined: Fri Jan 19, 2007 2:49 am
Posts: 2624
Location: Chernobyl
Well, Lux took a look at the vobsample last night after I Pm'd him on SBIG & so far hes had no luck although hes not given up. When he gives up that means no AFR of this crappy source as I aint got a clue what to do with this & I aint got time to go spending days trawling through doom9 posts looking for a resolution. I'm not a ripper, I do it for everyone else to enjoy & without help I'm screwed :lol: :shadey:

_________________
Image


Top
 Profile  
PostPosted: Sun Mar 09, 2008 12:29 pm  Post subject: Re:
Reply with quote
User avatar
Offline

The Ancient One
Joined: Tue Dec 28, 2004 8:07 pm
Posts: 4935
Location: Always one step behind
BadBugs wrote:
I'm still no expert, but zone options allow you to add filters to certain sections... try Rogue, I know he knows his way round zones ;)


Thanks matey. :beerchug:

Sorry I missed this, here's the crop sequence from my latest project:

Code:
#  CROPPING
a=trim(0,2148).crop(10,6,-8,-4).LanczosResize(704,384)
b=trim(2149,4331).crop(12,4,-8,-12).LanczosResize(704,384)
c=trim(4332,4401).crop(12,14,-8,-6).LanczosResize(704,384)
d=trim(4402,6874).crop(12,4,-8,-12).LanczosResize(704,384)
e=trim(6875,7012).crop(10,6,-8,-4).LanczosResize(704,384)
f=trim(7013,7066).crop(12,4,-8,-8).LanczosResize(704,384)
g=trim(7067,22237).crop(10,6,-8,-4).LanczosResize(704,384)
h=trim(22238,23283).crop(12,4,-8,-12).LanczosResize(704,384)
i=trim(23284,23336).crop(8,8,-8,-4).LanczosResize(704,384)
j=trim(23337,128409).crop(10,6,-8,-4).LanczosResize(704,384)
k=trim(128410,130071).crop(24,8,-8,-6).LanczosResize(704,384)

x=(a ++ b ++ c ++ d ++ e ++ f ++ g ++ h ++ i ++ j ++ k)

x.[whatever you wanna do next]


From here you can go on with the reassembled clip being 'last'.

I have some moving matte on that DVD in case you're wondering. :)


Top
 Profile  
PostPosted: Sun Mar 09, 2008 1:12 pm  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

The Ancient One
Joined: Sat Oct 20, 2007 10:31 am
Posts: 3600
Ok thanks a lot. So it was probably the resizing as spud said. :)

What does ++ do?


Top
 Profile  
PostPosted: Sun Mar 09, 2008 1:56 pm  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

The Ancient One
Joined: Tue Dec 28, 2004 8:07 pm
Posts: 4935
Location: Always one step behind
Code:
x=(a ++ b ++ c ++ d ++ e ++ f ++ g ++ h ++ i ++ j ++ k)


Makes one clip out of all the trimmed parts again. That's why you need to resize first, you can't merge sequences with different resolutions. :)


Top
 Profile  
PostPosted: Sun Mar 09, 2008 2:56 pm  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

The Ancient One
Joined: Sat Oct 20, 2007 10:31 am
Posts: 3600
Ok that was clear to me. Why ++ and not +? Is there any difference? :)


Top
 Profile  
PostPosted: Sun Mar 09, 2008 5:25 pm  Post subject: Re: Ripping Questions
Reply with quote
User avatar
Offline

The Ancient One
Joined: Tue Dec 28, 2004 8:07 pm
Posts: 4935
Location: Always one step behind
I've never tried it with just one + but here's some info on avisynth operators. Feel free to research:

http://avisynth.org/mediawiki/Operators

:beerchug:


Top
 Profile  
Display posts from previous:  Sort by  

All times are UTC [ DST ]

Post new topic Reply to topic  [ 18 posts ] 


Who is online

Users browsing this forum: No registered users and 4 guests


Moderator: Help Mods

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Frontpage / Forums / Scifi


What's blood for, if not for shedding?