logo Sign In

Guide to convert the GOUT DVD from 4:3 to 16:9 using freeware-tools — Page 2

Author
Time
 (Edited)

New problem. Whenever I try to load the script for ESB HCenc crashes. The script for ANH still loads fine though. Under info it gets as far as "AVS file opened, Avisynth.dll loaded" =(

I just tried creating the script for ROTJ and it loaded in HCenc fine but ESB keeps crashing it for no reason.

 

Edit: Figured it out, I took out the whole subtitles section and it loaded.

Forum Moderator
Author
Time
 (Edited)

Getting the same problem as Tobar... deleted the subs, but didn't do anything. Anything specific I could be doing wrong?

A Goon in a Gaggle of 'em

Author
Time

I had the same problems. Delete the subs and this line too:

episode==4 ? ANH(last,PAL) : episode==6 ? ROTJ(last,PAL) : Nop()

That worked for my encodes.

Author
Time

Can somebody who has working versions of these converstions already on disc, send me a PM please?

 

Author
Time
 (Edited)

 

EDIT - I think I fixed it.  Encoding now.  Fingers crossed.

 

I did not have to tell HC to make it 16:9 did I?  aspect still says 4:3 in it...

Author
Time

I notice that in the screenshot of HCencoder on the first page that the aspect ration is set at 4:3. GOUT's script resizes the movie to 16:9. Is there a conflict here? Or do I just leave it set at 4:3 as in the screenshot?

Author
Time

I think it should be 16:9.

Although I don't think it's a major problem - the aspect ratio set in the IFO probably takes preference over that set in the MPEG-2 stream, and if you have a 16:9 TV chances are it will be displayed correctly whatever the AR is set to.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time

It should be 16:9, also set dc prec at 10 if you're doing a high bitrate encode. You could also take use of the luminance gain and the AQ strength settings for better results.

We want you to be aware that we have no plans—now or in the future—to restore the earlier versions. 

Sincerely, Lynne Hale publicity@lucasfilm.com

Author
Time

Pericles77 said:

I notice that in the screenshot of HCencoder on the first page that the aspect ration is set at 4:3. GOUT's script resizes the movie to 16:9. Is there a conflict here? Or do I just leave it set at 4:3 as in the screenshot?

Normally HCEnc sets the aspect ratio to 16:9 automatically when the avisyth-script is loaded in the encoder.

The screenshots of all tools in this guide are samples from other encodings, so don't be confused when something looks different on the pics than it is in the final process. Sorry for that, these pics are really only samples.

Author
Time

After playing hunt the plugin, I have opened G-Force's latest script for ESB successfully.  Some people have talked about using it with DVD Rebuilder.  I assume this is so one can keep the menus and subtitles and so on.  How do I go about doing that? 

This would certainly be easier than making my own menus.  I have DVD Rebuilder Pro, by the way.

I would appreciate any and all help here.  I am nearly there...  :-)

Author
Time
 (Edited)

I made some encodings with DVDRebuilder but more than a year ago. I cannot remember how I made it exactly but as far as I can remember I used the script like that:

 

 

#######################################################################################
#################### GOUT Filter By G-force V.14.05 USE ONLY ON ANH ###################
#######################################################################################

########## setup

########## cut off some of the black bars for faster processing (but keep mod 16)
Crop(0,96,0,-96,align=true)

########## black level/gamma, hue
Levels(10,1.08,255,0,255).Tweak(hue=-3)

########## de-ring
pm = last
h4 = pm.RemoveGrain(4,-1)
Median1(pm,  MT_Convolution(horizontal="1",vertical="  0 0 0 1 0 .1 -.1"  ,chroma="copy first"),h4,Chroma="copy first")
Median1(last,MT_Convolution(horizontal="1",vertical="0 0 0 0 1 0 0 .1 -.1",chroma="copy first"),h4,Chroma="copy first")
Contra(last,pm)

########## global motion stabilization
orig = last
temp = orig.TemporalSoften(3,255,255,25,2)
int  = Interleave(temp.Repair(orig),orig)
DePan(int,data=DePanEstimate(int,trust=0,dxmax=1,dymax=0),offset=-1)
SelectEvery(2,0)

episode==5 ? last.Trim(0,92103)++orig.Trim(92104,93601)++last.Trim(93602,0) : last

########## local motion stabilization/degrain stage
source  = last
sigma   = 5
fft     = source.FFT3dFilter(sigma=sigma,sigma2=sigma*.75,sigma3=sigma*.5,sigma4=sigma*.25)

fft.Clense(grey=true)
filt    = Contra(last.Repair(fft,2,-1),last).MergeChroma(source)

idx1    = filt.MSuper(pel=2,sharp=1)
bw_vec1 = MAnalyse(idx1,isb=true, delta=1,overlap=4,plevel=0,dct=1)
fw_vec1 = MAnalyse(idx1,isb=false,delta=1,overlap=4,plevel=0,dct=1)

idx2    = source.MSuper(pel=2,sharp=1,levels=1,chroma=false)
pcorr   = source.MDegrain1(idx2,bw_vec1,fw_vec1,thSAD=800,thSCD1=150,thSCD2=75,plane=0)
corr1   = Median1(source,pcorr,filt,chroma="copy first")

idx3    = corr1.MSuper(pel=2,sharp=1,levels=1,chroma=false)
corr1.MDegrain1(idx3,bw_vec1,fw_vec1,thSAD=400,thSCD1=150,thSCD2=75,plane=0)

Median1(corr1,last,filt,chroma="copy first")

Contra(last,source)

########## restore stars
prest = last
prest.MT_Binarize(threshold=20,upper=true,chroma="copy first").MT_Expand(chroma="copy first")
MT_Merge(prest,source.MT_Logic(pcorr,"max",chroma="copy first"),last,chroma="copy first")

########## additional "Lucasfilm" and "Along time ago..." stabilization
prest.Trim(0,265)++prest.Trim(266,687).TemporalSoften(3,255,255,25,2)++last.Trim(688,0)

########## anti-alias
NNEDI2(dh=true, field=0)
NNEDI2(dh=false,field=1)

########## resize to 16x9 AR, remove sides, add borders
Spline16Resize(728,388).Crop(8,10,-4,-14,align=true).AddBorders(2,58,2,58)

 

#######################################################################################

#######################################################################################
Function Contra(clip denoised, clip orig)
{# re-write of Didée's contra sharpening routine from TemporalDegrain.avs

rg12d = MT_MakeDiff(denoised,denoised.RemoveGrain(12,-1))
rg12d.Repair(MT_MakeDiff(orig,denoised),9,-1).MT_LUTxy(rg12d,"x 128 - abs y 128 - abs < x y ?")

denoised.MT_AddDiff(last,chroma="copy first")

Return(last)
}

#######################################################################################
Function Median1(clip input_1, clip input_2, clip input_3, string "chroma")
{# median of 3 clips from Helpers.avs by G-force

chroma = Default(chroma,"process") #default is "process". Alternates: "copy first" or "copy second"

Interleave(input_1,input_2,input_3)
chroma == "process" ? Clense(reduceflicker=false) : Clense(reduceflicker=false,grey=true)
SelectEvery(3,1)

chroma == "copy first" ? last.MergeChroma(input_1) : chroma == "copy second" ? last.MergeChroma(input_2) : last

Return(last)
}

 

Copy this an paste it into the filter editor of DVDRB.

Unselect 'one click mode' in DVDRB and hit the 'prepare' button.

You get several avs-files in the working folder that DVDRB creates, for every DVD chapter one file.

As far as I can remember you have to delete the last line in EVERY little script that RB created, but ONLY for the main movie, otherwise the lego commercial is unwatchable.

Choose another working folder in DVDRB and delete the script in the filter editor of DVDRB. Then make a second 'prepare' phase and copy/paste the avs files for the extras (lego commercial etc.) from you second working folder into the first working working folder you created. Just a important reminder: delete the last line of the avs scripts for the main movie in your working folder you first created otherwise the video is wrong resized.

You should preview the scripts in media player classic before you encode.

I cannot remember exactly if I made my few encodings like my little description here, it was too long ago. I really recommend to do the encodings like described in my first tutorial. If you decide to make it with DVDRB this is all help I can give. Good luck!

I forgot: DVDRB gives you the selectable subtitles, no need to use the subitle work in g-force's script here.

Author
Time
 (Edited)

Thank you, Oldschooljedi! Did you make an specific modifications to the script?

As it happens, it takes me ages to just render out a lossless AVI using G-Force's script, so I do not know if I will be able to take this route after all.  I shall definitely give it a go though.  Thanks for the tip about the subtitles, though I do not think ESB has any, so I should be fine on that front for now.  :-)

Author
Time

Chewtobacca said:

Thank you, Oldschooljedi! Did you make an specific modifications to the script?

 

No, I made no modifications exept that I didn't use the subitle stage and I did also not paste the "mpeg2source" line into the script editor, you can see it in the script I posted above. As I said, it was a while ago and I'm not sure if I remember everything right. You should really preview the avs files in Media Player Classic before you encode to make sure that you get the right result before you encode this because encoding is really slooooow.

Author
Time
 (Edited)

I forgot one really important thing: You must enable 'Convert 4:3 to 16:9" for the main movie in DVDRB for the right ifo update.

Author
Time
 (Edited)

Oldschooljedi said:You should really preview the avs files in Media Player Classic before you encode to make sure that you get the right result before you encode this because encoding is really slooooow. 

Yeah, that's good advice.  I do preview the files.  Last time I forgot to remove the Info() line in my script, because I am so used to working with it on that I do not notice the data in the top left unless I am specifically looking for it.  I appreciate the help.  I would probably have left the convert LB 4:3 to 16:9 option off, if you had not told me, as  I would have that thought the script was doing that and forgot the IFOs and the like.  Thanks! :-)

edited- I just noticed your advice conflicts with this post:

http://originaltrilogy.com/forum/topic.cfm/GOUT-image-stabilization/post/435610/#TopicPost435610

Author
Time
 (Edited)

I may be wrong but from what I remember you get wrong resizing when you do not select 'convert from 4:3 to 16:9', because the ifo gives your DVD player the information if the image is 16:9 or 4:3. DVDRB updates the ifo when you select this option or leaves it untouched. This is also the reason why you have to remove the last line in the avs-files for the main movie, because otherwise g-force's script resizes to 16:9 and DVDRB resizes the 16:9 image again so you crop the 16:9 image a second time and will get wrong image resizing. Anyway, I really recommend to do the encodings like described in the guide and not to use DVDRB.

Author
Time

Thanks!  I believed you, but I thought that I had better draw your attention to that post in case you wished to correct/help the poster so no one else makes a mistake.  I think you are right about not using DVD-RB.  I have more or less decided to re-encode with x264 and leave it anamorphic, but I might make a DVD at some point.