Sign In

GOUT image stabilization — Page 9

Author
Time
First off.... newbie here. Been studying these forums for a week and trying the various scripts and techiques against my SW collection. You all are amazing and I'm so glad to have found this resource and kindred spirits.

Attempting my first ANH_GOUT conversion... using G-force and Moth3r techniques.... NTSC version my frames are way off for the first SW Logo (mine=861) and roughly the first frame with Greedo for the subtitles is about 88304 vs 70663 most have. Not sure why my timecodes and frames are so off.

Used "ADigitalMan's Guide to MPEG2-AC3 Editing" for extraction and I believe all software and dlls to be current.

Ultimate goal is a stablized, 16:9, subtitled, cleaned ANH_GOUT to enjoy.

Thanks in advance.
Author
Time
Are you using "force film" in DGIndex?

Also, there is a blank cell on the DVD before the actual movie. If you have just carried out a straight file-mode rip from the DVD, and are loading the VOBs directly into DGIndex, there will be too many frames at the start of the video. You should either rip in IFO mode, or demux the video and load the M2V into DGIndex.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time
Tnx Moth3r for the reply... really have enjoyed learning from your anti-aliasing and sharpening techniques.

I did IFO rips... don't recall my "force film" setting. Upon review I was incorrect in my steps.... I didn't have Womble so I was just using DGIndex against the raw M2Vs.

Is not doing the Womble step the cause? If so is there any freeware that achieves what it is doing in this step (minus the 30 day trial)? Also, since I bypassed this step, I also didn't reencode the M2Vs in TmpEnc.

To the best of my knowledge the only side-effect I've come across not reencoding the M2Vs is this frame number matchup with the scripts you guys create. Everything else seems fine on video enhancements and audio sync.
Author
Time
 (Edited)
Kyp said:

Tnx Moth3r for the reply... really have enjoyed learning from your anti-aliasing and sharpening techniques.

I did IFO rips... don't recall my "force film" setting. Upon review I was incorrect in my steps.... I didn't have Womble so I was just using DGIndex against the raw M2Vs.

Is not doing the Womble step the cause? If so is there any freeware that achieves what it is doing in this step (minus the 30 day trial)? Also, since I bypassed this step, I also didn't reencode the M2Vs in TmpEnc.

To the best of my knowledge the only side-effect I've come across not reencoding the M2Vs is this frame number matchup with the scripts you guys create. Everything else seems fine on video enhancements and audio sync.


womble is used to correct the time code in the m2v but this is only needed if you demux with DVDdecrypter, I tend to rip a single un-split vob file with DVDdecrypter and then demux with VOBrator, this way you don't get any issues with the timecode and both programs are freeware. (actually these days I usually just use DGIndex directly on the VOB but as Moth3r said can give you a different frame count)

I've never used a 'force film' setting but I'm always using PAL sources so I doubt it matters for me.
Author
Time
OK... Used DVD Decrypter in IFO mode and demuxing. Used Womble to fix the GOPs. Used DGIndex afterwards. No change in my frame numbering... still way off as originally posted. Tempted to just manually figure my subtitle frame points but want to be able to edit and enhance the way the experts are doing it and arrive at the same frame numbers. 2006 GOUT EPS IV NTSC.
Author
Time
Kyp said:

OK... Used DVD Decrypter in IFO mode and demuxing. Used Womble to fix the GOPs. Used DGIndex afterwards. No change in my frame numbering... still way off as originally posted. Tempted to just manually figure my subtitle frame points but want to be able to edit and enhance the way the experts are doing it and arrive at the same frame numbers. 2006 GOUT EPS IV NTSC.


Take a look at the script on page one. Enter your "SW logo" frame (861) in the setup line that starts with "sw_frame_no". The rest of the script will put the subtitles in the right place for you.

-G
Author
Time
The frame numbers you give above suggest to me you have not used "force film" in DGIndex. The first appearance of the Star Wars title card should be in frame 689. If yours is 861, then you almost certainly have pulldown flags honored (because 3:2 pulldown makes 4 frames at 23.976fps into 5 frames at 29.97fps, and 5/4 * 689 = 861). Check what Field Operation you have selected.

I have never used Womble to fix GOPs. In fact, the only time I ever used Womble it output an MPEG-2 stream with broken sequence end codes.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time
Moth3r nailed it!

You had mentioned in your first reply about "force film" but I misunderstood your intent. I reviewed the ADigitalMan's Guide again and saw nothing about it so I infered you were suggesting to NOT have "force film" turned on.

So much to learn but that's half the fun of all this effort with the other half being the end results to enjoy.

Hopefully my processing time will now drop as well not having to process the extra frames.

Tnx again.
Author
Time
Thanks to all you guys for all this work on this.

I had a problem. I did everything I was supposed to, tried to play G-force's script, and got the error message:

"DePanEstimate: Can not load FFTW3.DLL!"

So I downloaded fftw3.dll. Still said the same thing. When I removed the two lines regarding DePan and DePanEstimate, it worked fine. Does anyone know what might be going on?

The other thing I was wondering was, this script looks beautiful, but is there any general script out there to change the colors back as close to the pre-93 releases as possible? I am trying to make it as close to the 77 version as possible, including the correct placement and font for the Greedo subtitles. (I can upload that clip if it's allowed)
Thanks!
Author
Time
(aside from a yellow boost, which seems to help)
Author
Time
I forgot that Depan needed fftw3.dll

make sure to put it in the folder:

C:\WINDOWS\system32

then it should work.

-G
Author
Time
Oh, one more thing. Replace the subtitle lines with Moth3r's from the anti-aliasing thread and that will be close to the correct placement.

-G
Author
Time
Thank you very much. That solved the problem!

I just had one more question- what exactly is AVIsynth doing to the video? Is it interlacing it? Converting it to 30fps? Because when I run the AVS file in TMPEGenc, no matter what setting I've used, there are the horizontal interlace lines in the final video.

Thanks again for all your help!
Author
Time
Davis said:

Thank you very much. That solved the problem!

I just had one more question- what exactly is AVIsynth doing to the video? Is it interlacing it? Converting it to 30fps? Because when I run the AVS file in TMPEGenc, no matter what setting I've used, there are the horizontal interlace lines in the final video.

Thanks again for all your help!


Glad I could help on that one. The script doesn't change the framerate, nor make it interlaced. I would suggest checking the settings in TMPEGenc first, and make sure you are encoding progressive. Then I would check your DGdecode settings and make sure it isn't trying to de-interlace the .vob files.

-G
Author
Time
Still have the lines. It’s not “DGIndex”- that is fine. It seems to be induced by AVIsynth itself. When I run the AVS file on the Star Wars video (not encoding at all, just playing it in Media Player), the horizontal interlace lines appear. Nothing I do in TMPEGenc takes them away….
Author
Time
 (Edited)
Davis said:

Still have the lines. It’s not “DGIndex”- that is fine. It seems to be induced by AVIsynth itself. When I run the AVS file on the Star Wars video (not encoding at all, just playing it in Media Player), the horizontal interlace lines appear. Nothing I do in TMPEGenc takes them away….

 

Hey Davis, did you ever get this figured out? I'm at a loss, since there really is no way the script could be interlacing the video.

Is it possible that it is the DVD ripping software? Are you absolutely sure that you are using "force film" in DGindex?

The only other thing that I could think of is that some plugin is not the most recent version and is defaulting to interlaced video. Might want to check that you are using the most recent versions of the needed plugins.

-G

Author
Time

Very minor update to the script today. Slightly better starfield retention, slightly better local jitter stabilization.

-G

Author
Time

I watched ESB last night filtered trough your script and I have to say: Man what a good work, g-force!!! Thanks for that.

Author
Time
Oldschooljedi said:

I watched ESB last night filtered trough your script and I have to say: Man what a good work, g-force!!! Thanks for that.

 

any chance of posting samples? i would be very grateful to see what parts get 'altered' if possible.

later

-1

[no GOUT in CED?-> GOUT CED]

Author
Time
Oldschooljedi said:

I watched ESB last night filtered trough your script and I have to say: Man what a good work, g-force!!! Thanks for that.

 

thanks OSJ!

I finally got around to encoding all of ANH and watched it on my HD tv over the weekend. I'm still not 100% satisfied with the results. :(

So, I will keep tweaking the script!

-G

Author
Time
g-force said:

Davis said:

Still have the lines. It’s not “DGIndex”- that is fine. It seems to be induced by AVIsynth itself. When I run the AVS file on the Star Wars video (not encoding at all, just playing it in Media Player), the horizontal interlace lines appear. Nothing I do in TMPEGenc takes them away….

 

Hey Davis, did you ever get this figured out? I'm at a loss, since there really is no way the script could be interlacing the video.

Is it possible that it is the DVD ripping software? Are you absolutely sure that you are using "force film" in DGindex?

The only other thing that I could think of is that some plugin is not the most recent version and is defaulting to interlaced video. Might want to check that you are using the most recent versions of the needed plugins.

-G

 

Yes!  This was the problem- "force film" wasn't checked in DGIndex.  So it was DGIndex.

It looks great!  I can't wait until you finish tweaking the script completely, so that I can burn a copy for myself:)

-Davis

P.S. Will you be doing different scripts for "Empire" and "Jedi"? 

Author
Time
Davis said:

 

Yes!  This was the problem- "force film" wasn't checked in DGIndex.  So it was DGIndex.

It looks great!  I can't wait until you finish tweaking the script completely, so that I can burn a copy for myself:)

-Davis

P.S. Will you be doing different scripts for "Empire" and "Jedi"? 

 Oh good! I'm glad you figured it out. I'm really close to having a new version. Some preliminary tests got rid of the things that were annoying me. Expect an update soon.

I do plan on doing different scripts for Empire and Jedi. I expect them to be largely the same except for the cropping and the subtitles. We'll see though. My hard drive isn't large enough to tackle all of them at once, so I need to finish ANH first.

-G

Author
Time

These are good news g-force! I thought tweaking of your script would be done (as so often).

I did watch a few chapters of ROTJ encoded through your script. To me the image looks much surprior compared to ANH since the source has better quality.

 

 

 

Author
Time

Big update to the script today. I was having a hard time accepting the residual grain left over after my script, as it seemed to be too coherent from frame to frame, making it look like you were watching through a cheesecloth. I was toying around with going back to the FFT3DFilter that I had used in the past, but my PC is so slow that it would have taken 2 weeks to encode and there was a reason I didn't want to use it in the first place (too much banding). I have found an equally great spatial filter that is way faster, and has less banding! So now the script does even more degraining.

Back to encoding...

-G