GOUT image stabilization :: 1 < 7 > 44

  • Reply
  • Print
Arnie.d's avatar
RE: GOUT image stabilization
Tweaking scripts is never done :)
Unless you stop tweaking...
Last edited on April 28, 2008 at 7:39 PM by Arnie.d
Fez: I am so excited about Star Whores.
Hyde: Fezzy, man, it's Star Wars.
g-force's avatar
RE: GOUT image stabilization
So I got a new request for a detailed list of all the Avisynth plugins that are required to run the script. Here is the list with links to the .dlls.

-required Avisynth version: 2.5.8 or higher
AVS 2.5.8 Alpha 2 from here:
http://sourceforge.net/project/showfiles.php?group_id=57023

-required to make .d2v file from raw .vob files after ripping them from DVD
DGIndex.exe from here:
http://neuron2.net/dgmpgdec/dgmpgdec149.zip

-required dll's (place just the indicated .dll from each of these in Avisynth "plugins" folder)

DGDecode.dll from here:
http://neuron2.net/dgmpgdec/dgmpgdec149.zip

DePan.dll from here:
http://avisynth.org.ru/depan/depan1100.zip

DePanEstimate.dll from here:
http://avisynth.org.ru/depan/depanestimate192.zip

mvtools.dll from here:
http://avisynth.org.ru/mvtools/mvtools-v1.9.3.zip

mt_masktools-26.dll from here:
http://manao4.free.fr/masktools-v2.0a35.zip

nnedi.dll from here:
http://bengal.missouri.edu/~kes25c/nnedi_v1.3.zip

RemoveDirt.dll from here:
http://home.arcor.de/kassandro/RemoveDirt/RemoveDirt.zip

RemoveGrain.dll from here:
http://home.pages.at/kassandro/RemoveGrain/RemoveGrain.zip

Repair.dll from here:
http://home.pages.at/kassandro/RemoveGrain/RemoveGrain.zip

hope this helps!

-G
dark_jedi's avatar
RE: GOUT image stabilization
Thanks alot g-force,this will really help out guys that are new to avisynth,sometimes it is hard to find the neccesary plugins,especially the older ones.
I hope you don't mind,but I went ahead and made a complete package,all plugins in one download.

here you go peeps:
http://rapidshare.com/files/111299252/GOUT_image_stabilization_required_plugins_package.rar.html

thanks again g-force

DJ

Some people!

g-force's avatar
RE: GOUT image stabilization
Thanks DJ! I don't mind at all, in fact I was going to do the same thing, except I realized that I can't do it here at work, so I just posted the links instead.

-G
Oldschooljedi's avatar
RE: GOUT image stabilization
g-force said:

Thanks OSJ! Just out of curiosity, which version of the script did you use? You really might want to consider re-doing them, as the most recent version (1.05) of the script is superior to anything before it. Dare I say I'm done? I think I'm officially done!

-G


I did use version 0.31 because I wasn't able to download your updated scripts for a while.

I will do some encodings with your latest script for sure.

Your actual script v.1.05 has no parameters (for cropping and so on) for the PAL DVD so i wanted to ask if I can use your parameters posted in earlier scripts or can you not recommend it?

Here they come!!!

g-force's avatar
RE: GOUT image stabilization
Oldschooljedi said:


I will do some encodings with your latest script for sure.

Your actual script v.1.05 has no parameters (for cropping and so on) for the PAL DVD so i wanted to ask if I can use your parameters posted in earlier scripts or can you not recommend it?


Ugh. I know, I've changed the crop values a few times in order to remove some artifacts, and I have not re-calculated what the PAL values should be, nor am I even sure they were ever right. I just couldn't figure out what was going on since your processed clips were my only PAL references, so I axed the whole PAL resizing stuff. If you would like, I could re-evaluate the appropriate crop values if you could encode and post a short, bright, unprocessed clip (no resizing, no cropping etc.) that shows the borders well. Might be worthwhile to post ESB and ROTJ raw clips as well, since you are anxious to do those too. I'm a ways off from doing the subtitles for ROTJ though.

I think you'll be happy with the quality and the speed of the script since your last encode. Sorry you have to do it again, but it'll be worth it! Post that clip and we'll get it right this time!

-G
gltaylor74's avatar
RE: GOUT image stabilization
Thanks guys for posting all the filters! It's a great help.
g-force's avatar
RE: GOUT image stabilization
gltaylor74 said:

Thanks guys for posting all the filters! It's a great help.


No problem. Make sure to use Avisynth 2.5.8 otherwise the "font_width" of the subtitles won't work.
Also, maybe dark_jedi would care to update his care package with the font in case not everyone has it.

-G
Oldschooljedi's avatar
RE: GOUT image stabilization
g-force said:

Ugh. I know, I've changed the crop values a few times in order to remove some artifacts, and I have not re-calculated what the PAL values should be, nor am I even sure they were ever right. I just couldn't figure out what was going on since your processed clips were my only PAL references, so I axed the whole PAL resizing stuff. If you would like, I could re-evaluate the appropriate crop values if you could encode and post a short, bright, unprocessed clip (no resizing, no cropping etc.) that shows the borders well. Might be worthwhile to post ESB and ROTJ raw clips as well, since you are anxious to do those too. I'm a ways off from doing the subtitles for ROTJ though.

I think you'll be happy with the quality and the speed of the script since your last encode. Sorry you have to do it again, but it'll be worth it! Post that clip and we'll get it right this time!

-G


This would be a cool thing. I posted some short PAL-clips here:

http://rapidshare.com/files/111522530/SW.zip.html

I have had no idea to do the subtitles of ROTJ too, so I decided to use the commercial DVD Rebuilder (be sure I don't get paid by them) with your script so I can make the encodings with selectable and not hard encoded subtitles.

Earlier in this treat there were some thoughts about tweaking the script for several scenes individually. DVD Rebuilder does a single .avs for every single chapter of the DVD so it would maybe be possible to tweak the script seperately for every chapter. But this is only a thought. Anyway, there is also a free version of DVD Rebuilder avaiable for download, but with limitations in functionality.

Another way to make the DVD would be to rip it on HDD, demux all streams (audio and subtitles) with PGCdemux and after encoding of the m2v-file remuxing the original subtitle streams with the original audio or the monomix or whatever by muxman. This can be done without any commercial tools and the subtitles stay selectable.

Here they come!!!

g-force's avatar
RE: GOUT image stabilization
Thanks OSJ! I can't view them while at work, since they block rapidshare, but I will look at them tonight at home.

I have updated the script on page one with what I'm pretty sure (90% sure) are the correct crop values for the PAL ANH. I will test them on the clips OSJ posted later.

The current script has a setting at the beginning that allows you to choose PAL or NTSC, and then the rest of the script crops and resizes the appropriate amount automatically. Give it a try!

-G
Oldschooljedi's avatar
RE: GOUT image stabilization
Thanks! This is a cool thing!

I posted short clips of ANH, ESB and ROTJ. If they are to short, let me know.
Last edited on April 30, 2008 at 5:24 PM by Oldschooljedi
g-force's avatar
RE: GOUT image stabilization
Oldschooljedi said:

Thanks! This is a cool thing!

I posted short clips of ANH, ESB and ROTJ. If they are to short, let me know.


OSJ,

those clips are very useful. Thank you. Turns out the PAL version is cropped on all sides more than the NTSC. I have updated the script on the first page with the correct crop values (only for ANH so far though) so give that a shot.

thanks,

-G
Oldschooljedi's avatar
RE: GOUT image stabilization
Thank you for the updated script!
I will test it as soon as I can; this will be a busy weekend for me so it will probably be next week. When I run the script, do I have only to set "PAL = true" at the beginning or in every line that has a "PAL = false" in your script?

Here they come!!!

g-force's avatar
RE: GOUT image stabilization
Oldschooljedi said:

When I run the script, do I have only to set "PAL = true" at the beginning or in every line that has a "PAL = false" in your script?


Only once at the beginning.

-G
Oldschooljedi's avatar
RE: GOUT image stabilization
Thanks!

Here they come!!!

Oldschooljedi's avatar
RE: GOUT image stabilization
Finished the encoding with your updated script.

The speed of the encoding is much faster, encoding itself became a real sprinter.

The "PAL =false" function in your latest script is very useful and comfortable.

Maybe I did use the wrong plugin because the last encoding looks more noisy to me than the previos encodings...

Here they come!!!

g-force's avatar
RE: GOUT image stabilization
Oldschooljedi said:


Maybe I did use the wrong plugin because the last encoding looks more noisy to me than the previos encodings...


No, it will look that way. The problem is that, before, I was actually using the FFT filter to do some of the stabilization work, but that caused a lot of banding in dark scenes that I just couldn't live with. It also caused bad motion estimates in places that actually added to the instablilty in spots. This version trys to maintain more of the grain of the original, which I never really meant to remove in the first place. I have thought about an option to remove more grain for those that hate the grain, but it will slow down the encoding considerably, and I'm not sure how artifact free it will be. Hopefully you can live with it, but if not, let me know. BUT, isn't the image so much more stable now?!!!! (for instance, compare the "Along time ago..." scene)

-G
dark_jedi's avatar
RE: GOUT image stabilization
so how long is it taking you guys to encode the whole film?
and what encoder are you using?

thanks

Some people!

g-force's avatar
RE: GOUT image stabilization
dark_jedi said:

so how long is it taking you guys to encode the whole film?
and what encoder are you using?

thanks


I'm currently running at 2-3 fps, so I'm thinking it'll take a couple days. But my computer is a few years old. I haven't actually started to do the whole thing yet, just select parts. I've been using HC Encoder.

-G
Oldschooljedi's avatar
RE: GOUT image stabilization
@ g-force:

I see, I must make some more encodings. I just encoded the scene of the arrival in Mos Eisley, which is a very grainy scene.

@ dark_jedi:

It took about one week for one complete episode, but I used an older script, that was working much, much slower than the actual one and my PC is quite slow, because it is an older one. I did use HCEncoder for the encodings. Just give it a try, it is worth it!!!

Last edited on May 5, 2008 at 9:50 PM by Oldschooljedi

Here they come!!!

dark_jedi's avatar
RE: GOUT image stabilization
damn that is a loooong time,is that a free encoder,I was thinking of using CCE SP.

Some people!

Oldschooljedi's avatar
RE: GOUT image stabilization
With the actual script runs much faster, I've been using an older one.

Here they come!!!

g-force's avatar
RE: GOUT image stabilization
dark_jedi said:

damn that is a loooong time,is that a free encoder,I was thinking of using CCE SP.


HCEncoder is free. I've heard that CCE is a little better.

-G
g-force's avatar
RE: GOUT image stabilization
Well, I tried a test encoding last night to try to do a fast degrain stage. As I suspected, there were too many artifacts. So, if you're looking for good degraining, it's gonna be Slooooooow. I'll keep playing around with some and make a suggestion soon. But, this will at least involve putting an FFT3D in, or re-calculating the motion vectors to do an MVDegrain. These are both painfully slow and these would need to be in addition to what I'm doing in the latest script.

-G
boba feta's avatar
RE: GOUT image stabilization
Personally, I like the grain.

Thanks for all your hard work g-force I'm gonna try give that script a crack this weekend if I can sort out a decent encoder. I'll be using the PAL DVD as a source and I'll let you know how it goes.

Thanks again.

"I love Darth Editous and I'm not ashamed to admit it." ~ADigitalMan

Members reading this topic: None