Mielr
This user is offline.
yavasizadoo![]()
R.I.P. "Creamy" 2002(?) - 08/01/2010
Orinoco_Womble
This user is offline.
smurrrrheeeeIf television is chewing gum for the mind, then the prequels are the worlds first visual laxative.
Arnie.d
This user is offline.
Jedi Knight
g-force
This user is offline.
Padawan LearnerMoth3r
This user is offline.
Better Grumpy than DopeyWXM
This user is offline.
Padawan Learner

= 3D CG artist for STAR WARS: EP IV 2004 Special Edition REVISITED =
Moth3r
This user is offline.
Better Grumpy than Dopeyg-force
This user is offline.
Padawan LearnerWXM
This user is offline.
Padawan Learner
= 3D CG artist for STAR WARS: EP IV 2004 Special Edition REVISITED =
Arnie.d
This user is offline.
Jedi Knightresonator
This user is offline.
As far as the upscaling to anamorphic is concerned you should definatly check out a small tool called "Video Enhancer" (www.thedeemon.com), it's the only resizing/upscaling method I know of that is temporal-based and gets detail and sharpness off the neighbouring frames. I've tried various upscaling algorithms (Lanczos, SSpline, RedGiant's InstantHD), and they all do pretty well but the "SuperResolution" does more than noticibly better. 30$ well spent for me. There's a version for AfterEffects available too, but it costs a 100.
g-force
This user is offline.
Padawan Learnerresonator said:
As far as the upscaling to anamorphic is concerned you should definatly check out a small tool called "Video Enhancer" (www.thedeemon.com), it's the only resizing/upscaling method I know of that is temporal-based and gets detail and sharpness off the neighbouring frames. I've tried various upscaling algorithms (Lanczos, SSpline, RedGiant's InstantHD), and they all do pretty well but the "SuperResolution" does more than noticibly better. 30$ well spent for me. There's a version for AfterEffects available too, but it costs a 100.
I can think of a couple other temporal based sharpness filters, the best of which is currently used in my GOUT stabilization script. ;) I think it is important to temper people's expectations about "super-resolution". Super-resolution only works for things that are moving. This is a good thing for sources that suffer from DVNR smearing such as the GOUT, but for sources without smearing, all you're doing is getting rid of motion blur. Since all of the motion blur on the Pre-THX LDs is intentional, this would probably not be a good thing.
The best upsizers actually use Edge-Directed Interpolation. Arnie.d has already indicated that he plans on using NNEDI (Neural-Network Edge-Directed Interpolation) so I think he's already heading in the right direction.
-G
g-force
This user is offline.
Padawan LearnerWXM said:
Darn, I was hoping you, Mother, or someone else knew a trick for easily wiping those dupe frames...
Mother and G-Force, would you say that your scripts above are better than the "Average" dll that I use? I would guess it would just be a different route to exactly the same result. What could the diffference be?
The doom9 forums are full of avisynth scripts to get rid of those dupe frames. Check it out! Luckily, the LD catures should give you exactly the same number of frames every time.
I would guess that the averaging script that Moth3r posted would give you EXACTLY the same results as whatever average you are using, as long as you give yours only 3 sources, so no worries! The median script though (yes Orinoco_Womble, it's the same concept as TOOT) should give even better results with 3 sources than an average of 3 sources, and a 3-source median may even be better than a 5-source average.
-G
g-force
This user is offline.
Padawan LearnerArnie.d said:
I'll give that one a try as soon as I get my new voltage convertor.
You know, I just thought of something. That voltage converter may be adding some noise to your captures due to the fact that the computer ground and the LD player ground are no longer the same. You may get better results if you can run your PC off of the voltage converter also. This may be possible if you flip the switch near the power input of your PC to 115 instead of 230. Just a thought.
-G
Kurgan
This user is offline.
WormGood luck!
Arnie.d
This user is offline.
Jedi Knightg-force said:
Arnie.d said:
I'll give that one a try as soon as I get my new voltage convertor.
You know, I just thought of something. That voltage converter may be adding some noise to your captures due to the fact that the computer ground and the LD player ground are no longer the same. You may get better results if you can run your PC off of the voltage converter also. This may be possible if you flip the switch near the power input of your PC to 115 instead of 230. Just a thought.
-G
I can't switch my PC to 115. But the LD player doesn't have ground (if I think I know what you mean by ground).
g-force
This user is offline.
Padawan LearnerArnie.d said:
g-force said:
Arnie.d said:
I'll give that one a try as soon as I get my new voltage convertor.
You know, I just thought of something. That voltage converter may be adding some noise to your captures due to the fact that the computer ground and the LD player ground are no longer the same. You may get better results if you can run your PC off of the voltage converter also. This may be possible if you flip the switch near the power input of your PC to 115 instead of 230. Just a thought.
-G
I can't switch my PC to 115. But the LD player doesn't have ground (if I think I know what you mean by ground).
Bummer. Yeah, it still has a ground, just not a chassis ground. Second best is to make sure the PC and the voltage converter are connected to the same outlet.
-G
Arnie.d
This user is offline.
Jedi Knightg-force said:
Arnie.d said:
g-force said:
Arnie.d said:
I'll give that one a try as soon as I get my new voltage convertor.
You know, I just thought of something. That voltage converter may be adding some noise to your captures due to the fact that the computer ground and the LD player ground are no longer the same. You may get better results if you can run your PC off of the voltage converter also. This may be possible if you flip the switch near the power input of your PC to 115 instead of 230. Just a thought.
-G
I can't switch my PC to 115. But the LD player doesn't have ground (if I think I know what you mean by ground).
Bummer. Yeah, it still has a ground, just not a chassis ground. Second best is to make sure the PC and the voltage converter are connected to the same outlet.
-G
But do you really think it will make a difference for the image quality and why? I'm not convinced.
g-force
This user is offline.
Padawan LearnerArnie.d said:
But do you really think it will make a difference for the image quality and why? I'm not convinced.
You just want to minimize ground loops so that no AC line noise is introduced.
-G
Max_Rebo
This user is offline.
The great blue elephant of the skyg-force said:
WXM said:
Darn, I was hoping you, Mother, or someone else knew a trick for easily wiping those dupe frames...
Mother and G-Force, would you say that your scripts above are better than the "Average" dll that I use? I would guess it would just be a different route to exactly the same result. What could the diffference be?
The doom9 forums are full of avisynth scripts to get rid of those dupe frames. Check it out! Luckily, the LD catures should give you exactly the same number of frames every time.
I would guess that the averaging script that Moth3r posted would give you EXACTLY the same results as whatever average you are using, as long as you give yours only 3 sources, so no worries! The median script though (yes Orinoco_Womble, it's the same concept as TOOT) should give even better results with 3 sources than an average of 3 sources, and a 3-source median may even be better than a 5-source average.
-G
I've been thinking about it and I'm still not sure if a median filter would be better, in your example you made the assumption that only a third of pixels duffer from noise and that no one pixel suffers noise in two captures, which is a highly idealised situation.
I think the median method would be a good way avoiding bursts of static or dropouts that may not be reproduceable so only effect one capture but I can't see how it would help with the smaller random variations present in all analouge captures, when dealing with random variations taking the mean of the multiple values is surely the better way.
however I do like the idea of using temporalsoften with the scenechange parameter as this should take the mean value of the captures but ignore any with significant dropouts/static so should give the best of both approaches, but I have two questions/comments:
will the scenechange parameter allow the middle capture to be excluded from the average? as this would not be useful for it's original purpose and the differences are measured relative to the middle capture, so if the middle capture had a significant problem then the other two would be excluded and the problem would remain.
also from Avisynth.org: "scenechange=n parameter: Using this parameter will avoid blending across scene changes. 'n' defines the maximum average pixel change between frames. Good values for 'n' are between 5 and 30."
what does it really mean by 'average pixel change'? is it a percentage? if 5-30 is appropriate for a change in scene isn't 25 too great a difference for supposedly identical frames I wouldn't expect 2 captures of the same frame to be different by more that 1-2%
I hope that makes sense, if not I'll try to explain tomorrow.
Orinoco_Womble
This user is offline.
smurrrrheeeeMoth3r said:
Interesting. Did you use a TBC? Uncorrected VHS sources contain a fair bit of jitter or wobble from one capture to the next. Multi-capture averaging on this kind of source probably would end up blurring edges. Fortunately, laserdisc sources are much more stable.
Yeah, my video player has a built in TBC, which I think is only a line based unit and not a full frame jobbie as I'd like.
The tape I was trying to preserve is pretty fecked and the capture device was my DVD recorder, so probably not the best setup for testing the averaging method. I found I got better results from capturing once and running a noise filter over the MPG2. A better VRC/TBC/Capture setup and using a better CODEC would probably get better results than what I was geting.
g-force said:
something like this:interleave(source1,source2,source3)
temporalsoften(1,255,255)
selectevery(3,1)
Yep, this was the script that I used. Didn't know about the 25,2 bit though, will have to give that a try once I get a better capture device.
g-force said:
Also, there may be some benefit to throwing a mocomped-denoised source into the mix as well.
Sorry, didn't understand that bit at all. Umm, whats a mocomped-denoiser?
WXM: thanks for posting that 'before and after' pic. Wow, that's imporessive stuff! You not only removed noise but it looks like the colours are more vibrant and stable and even and the contrast is much better. I am definitely going to have to play around with this a bit more.
If television is chewing gum for the mind, then the prequels are the worlds first visual laxative.
g-force
This user is offline.
Padawan LearnerMax_Rebo said:
I hope that makes sense, if not I'll try to explain tomorrow.
I definitely understand what you are saying!
Max_Rebo said:
I've been thinking about it and I'm still not sure if a median filter would be better, in your example you made the assumption that only a third of pixels duffer from noise and that no one pixel suffers noise in two captures, which is a highly idealised situation.
I think the median method would be a good way avoiding bursts of static or dropouts that may not be reproduceable so only effect one capture but I can't see how it would help with the smaller random variations present in all analouge captures, when dealing with random variations taking the mean of the multiple values is surely the better way.
You are correct. But it will depend on what type of noise you have. The random variations you are used to with VHS are much smaller with LD. The biggest problem with LD is the noise introduced by such things as laser rot and dot crawl. These are not random variations that affect the entire frame equally, but rather isolated incidents that do not always occurr in the same place on every capture. I guess it all depends on the type of noise you have, and hopefully Arnie.d will try both!
Max_Rebo said:
will the scenechange parameter allow the middle capture to be excluded from the average? as this would not be useful for it's original purpose and the differences are measured relative to the middle capture, so if the middle capture had a significant problem then the other two would be excluded and the problem would remain.
You are correct. I didn't think of this situation. I could code up something that would replace the scenechange parameter to still average the 2 good frames.
Max_Rebo said:
what does it really mean by 'average pixel change'? is it a percentage? if 5-30 is appropriate for a change in scene isn't 25 too great a difference for supposedly identical frames I wouldn't expect 2 captures of the same frame to be different by more that 1-2%
The scenechange parameter is the maximum allowable average pixel difference in luma from one frame to the next. 25 may not be the best value especially if the captures are relatively noise free.
Orinoco_Womble said:
g-force said:
Also, there may be some benefit to throwing a mocomped-denoised source into the mix as well.Sorry, didn't understand that bit at all. Umm, whats a mocomped-denoiser?
That was Moth3r's quote, not mine! A mocomped-denoiser is one that motion compensates objects in previous and next frames to their positions in the current frame and does some sort of filtering (median, average, fft etc.) on those frames.
-G
Orinoco_Womble
This user is offline.
smurrrrheeeeg-force said:
That was Moth3r's quote, not mine! A mocomped-denoiser is one that motion compensates objects in previous and next frames to their positions in the current frame and does some sort of filtering (median, average, fft etc.) on those frames.
-G
Oops, aploogies dude. I got yours and Moth3r's quotes mixed up. Thanks for answering the question though.
This place just gets more and more interesting every day :)
If television is chewing gum for the mind, then the prequels are the worlds first visual laxative.
Arnie.d
This user is offline.
Jedi KnightOK, I received my new voltage convertor and did an average test of 3. I must say it does help to reduce the chroma noise. But since I capture in RGB the ,25,2 addition to the temperalsoften doesn't work and I don't want to convert to yuy2 or something like that, I want to keep it RGB.
Or I could just abandon the RGB stuff and capture in yuy2.
About the capture card settings, wouldn't it be best to just set them to the defaults and manually adjust brightness and saturation later using avisynth?
Max_Rebo
This user is offline.
The great blue elephant of the skyArnie.d said:
OK, I received my new voltage convertor and did an average test of 3. I must say it does help to reduce the chroma noise. But since I capture in RGB the ,25,2 addition to the temperalsoften doesn't work and I don't want to convert to yuy2 or something like that, I want to keep it RGB.
Or I could just abandon the RGB stuff and capture in yuy2.
About the capture card settings, wouldn't it be best to just set them to the defaults and manually adjust brightness and saturation later using avisynth?
I did a couple of tests and the scenechange parameter isn't going to be of any real use, I worked out two very noisey frames are up to about 5% different, but even a badly corrupted frame isn't much more different on average(I added in ~4000 white pixels and this only made it 6% different). So I would ignore the scenechange parameter and stick with capturing in RGB.
If you were iterested comparing the average of 5 captures you can use either of these scripts:
interleave(source1,source2,source3,source4,source5)
temporalsoften(2,255,255)
selectevery(5,2)
or:
merge(merge(merge(source1,source2),merge(source3,source4)),source5,0.2)
as for the capture card settings, I'm not an expert so I'll let someone else answer that.